1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 19:15:09 +00:00
serenity/Userland/Libraries/LibJS/Runtime
Linus Groh 317b88a8c3 LibJS: Replace Object's create_empty() with create() taking a prototype
This now matches the spec's OrdinaryObjectCreate() across the board:
instead of implicitly setting the created object's prototype to
%Object.prototype% and then in many cases setting it to a nullptr right
away, it now has an 'Object* prototype' parameter with _no default
value_. This makes the code easier to compare with the spec, very clear
in terms of what prototype is being used as well as avoiding unnecessary
shape transitions.

Also fixes a couple of cases were we weren't setting the correct
prototype.

There's no reason to assume that the object would not be empty (as in
having own properties), so let's follow our existing pattern of
Type::create(...) and simply call it 'create'.
2021-06-16 22:49:04 +01:00
..
Accessor.h Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
AggregateError.cpp LibJS: Implement the Error Cause proposal 2021-06-11 21:34:05 +01:00
AggregateError.h LibJS: Implement the Error Cause proposal 2021-06-11 21:34:05 +01:00
AggregateErrorConstructor.cpp LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
AggregateErrorConstructor.h LibJS: Implement AggregateError 2021-06-11 18:49:50 +01:00
AggregateErrorPrototype.cpp LibJS: Implement AggregateError 2021-06-11 18:49:50 +01:00
AggregateErrorPrototype.h LibJS: Implement AggregateError 2021-06-11 18:49:50 +01:00
Array.cpp LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
Array.h LibJS: Add length parameter to Array::create() 2021-06-06 23:25:33 +01:00
ArrayBuffer.cpp LibWeb: Set a detach key for ArrayBuffers returned from WASM 2021-06-11 13:38:25 +01:00
ArrayBuffer.h LibJS: Add all of the DataView.prototype.set* methods 2021-06-14 01:45:04 +01:00
ArrayBufferConstructor.cpp LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
ArrayBufferConstructor.h LibJS: Add the Symbol.species getter to the appropriate built-ins 2021-06-08 09:09:51 +01:00
ArrayBufferPrototype.cpp LibJS: Make ArrayBuffer.prototype.byteLength an accessor 2021-06-13 21:33:41 +01:00
ArrayBufferPrototype.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
ArrayConstructor.cpp LibJS: Rename Value::{is_integer => is_integral_number} 2021-06-16 12:57:55 +01:00
ArrayConstructor.h LibJS: Add the Symbol.species getter to the appropriate built-ins 2021-06-08 09:09:51 +01:00
ArrayIterator.cpp Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
ArrayIterator.h Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
ArrayIteratorPrototype.cpp LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
ArrayIteratorPrototype.h Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
ArrayPrototype.cpp LibJS: Replace Object's create_empty() with create() taking a prototype 2021-06-16 22:49:04 +01:00
ArrayPrototype.h LibJS: Implement Array.prototype.copyWithin generically 2021-06-14 09:57:06 +01:00
BigInt.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
BigInt.h LibJS: Move Cell.{cpp,h} from Runtime/ to Heap/ 2021-05-17 19:53:00 +02:00
BigIntConstructor.cpp LibJS: Rename Value::{is_integer => is_integral_number} 2021-06-16 12:57:55 +01:00
BigIntConstructor.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
BigIntObject.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
BigIntObject.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
BigIntPrototype.cpp LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
BigIntPrototype.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
BooleanConstructor.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
BooleanConstructor.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
BooleanObject.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
BooleanObject.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
BooleanPrototype.cpp LibJS: Don't repeat attributes in {Boolean,Symbol}Prototype 2021-06-13 21:33:41 +01:00
BooleanPrototype.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
BoundFunction.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
BoundFunction.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CommonPropertyNames.h LibJS: Add the String.prototype.codePointAt() method 2021-06-16 20:05:18 +01:00
ConsoleObject.cpp LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
ConsoleObject.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DataView.cpp LibJS: Add the DataView built-in object 2021-06-14 01:45:04 +01:00
DataView.h LibJS: Add the DataView built-in object 2021-06-14 01:45:04 +01:00
DataViewConstructor.cpp LibJS: Add the DataView built-in object 2021-06-14 01:45:04 +01:00
DataViewConstructor.h LibJS: Add the DataView built-in object 2021-06-14 01:45:04 +01:00
DataViewPrototype.cpp LibJS: Add all of the DataView.prototype.set* methods 2021-06-14 01:45:04 +01:00
DataViewPrototype.h LibJS: Add all of the DataView.prototype.set* methods 2021-06-14 01:45:04 +01:00
Date.cpp LibJS: Store Date milliseconds as signed to support negative offsets 2021-06-06 19:14:11 +01:00
Date.h LibJS: Check dates are below the time_clip threshold 2021-06-06 19:14:11 +01:00
DateConstructor.cpp LibJS: Use the new is_ascii_foo() helpers from AK 2021-06-13 19:11:29 +02:00
DateConstructor.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
DatePrototype.cpp LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
DatePrototype.h LibJS: Add Date.prototype.toJSON() 2021-06-06 19:14:11 +01:00
Error.cpp LibJS: Implement the Error Cause proposal 2021-06-11 21:34:05 +01:00
Error.h LibJS: Implement the Error Cause proposal 2021-06-11 21:34:05 +01:00
ErrorConstructor.cpp LibJS: Implement the Error Cause proposal 2021-06-11 21:34:05 +01:00
ErrorConstructor.h LibJS: Rename JS_ENUMERATE_{ERROR_SUBCLASSES => NATIVE_ERRORS} 2021-06-11 18:49:50 +01:00
ErrorPrototype.cpp LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
ErrorPrototype.h LibJS: Rename JS_ENUMERATE_{ERROR_SUBCLASSES => NATIVE_ERRORS} 2021-06-11 18:49:50 +01:00
ErrorTypes.cpp Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
ErrorTypes.h LibJS: Add the String.prototype.matchAll method 2021-06-16 20:05:18 +01:00
Exception.cpp LibJS: Optimize insertion order in the Exception constructor 2021-06-03 14:47:15 +01:00
Exception.h LibJS: Avoid allocations in the Exception constructor 2021-06-03 14:47:15 +01:00
FinalizationRegistry.cpp LibJS: Add the FinalizationRegistry built-in object 2021-06-15 23:59:21 +01:00
FinalizationRegistry.h LibJS: Add the FinalizationRegistry built-in object 2021-06-15 23:59:21 +01:00
FinalizationRegistryConstructor.cpp LibJS: Add the FinalizationRegistry built-in object 2021-06-15 23:59:21 +01:00
FinalizationRegistryConstructor.h LibJS: Add the FinalizationRegistry built-in object 2021-06-15 23:59:21 +01:00
FinalizationRegistryPrototype.cpp LibJS: Add all of the FinalizationRegistry.prototype methods 2021-06-15 23:59:21 +01:00
FinalizationRegistryPrototype.h LibJS: Add all of the FinalizationRegistry.prototype methods 2021-06-15 23:59:21 +01:00
Function.cpp AK: Rename Vector::append(Vector) => Vector::extend(Vector) 2021-06-12 13:24:45 +02:00
Function.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FunctionConstructor.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
FunctionConstructor.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
FunctionPrototype.cpp LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
FunctionPrototype.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
GeneratorObject.cpp LibJS: Replace Object's create_empty() with create() taking a prototype 2021-06-16 22:49:04 +01:00
GeneratorObject.h LibJS: Implement generator functions (only in bytecode mode) 2021-06-11 00:30:09 +02:00
GlobalObject.cpp LibJS: Add the FinalizationRegistry built-in object 2021-06-15 23:59:21 +01:00
GlobalObject.h LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
IndexedProperties.cpp LibJS: Handle OOB access in GenericIndexedPropertyStorage::take_last() 2021-05-17 23:20:29 +01:00
IndexedProperties.h Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
IteratorOperations.cpp LibJS: Replace Object's create_empty() with create() taking a prototype 2021-06-16 22:49:04 +01:00
IteratorOperations.h LibJS: Implement the IteratorClose abstract op and use it where needed 2021-06-15 12:15:12 +01:00
IteratorPrototype.cpp LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
IteratorPrototype.h Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
JobCallback.h LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
JSONObject.cpp LibJS: Replace Object's create_empty() with create() taking a prototype 2021-06-16 22:49:04 +01:00
JSONObject.h Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
LexicalEnvironment.cpp LibJS: Support deleting local variables with operator delete 2021-06-08 15:31:46 +01:00
LexicalEnvironment.h LibJS: Add a bunch of fast_is<T> to avoid slow RTTI in hot code 2021-06-13 19:11:29 +02:00
Map.cpp LibJS: Add the Map built-in object 2021-06-13 00:33:18 +01:00
Map.h LibJS: Use OrderedHashMap instead of HashMap in the Map built-in 2021-06-15 23:51:20 +01:00
MapConstructor.cpp LibJS: Add missing ECMA-262 section/title/URL comments to Map 2021-06-13 12:20:21 +01:00
MapConstructor.h LibJS: Add the Map built-in object 2021-06-13 00:33:18 +01:00
MapIterator.cpp LibJS: Add the MapIterator built-in and the key/values/entries methods 2021-06-13 00:33:18 +01:00
MapIterator.h LibJS: Use OrderedHashMap instead of HashMap in the Map built-in 2021-06-15 23:51:20 +01:00
MapIteratorPrototype.cpp LibJS: Add missing ECMA-262 section/title/URL comments to Map 2021-06-13 12:20:21 +01:00
MapIteratorPrototype.h LibJS: Add the MapIterator built-in and the key/values/entries methods 2021-06-13 00:33:18 +01:00
MapPrototype.cpp LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
MapPrototype.h LibJS: Add the MapIterator built-in and the key/values/entries methods 2021-06-13 00:33:18 +01:00
MarkedValueList.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MarkedValueList.h AK: Rename Vector::append(Vector) => Vector::extend(Vector) 2021-06-12 13:24:45 +02:00
MathObject.cpp LibJS: Rename Value::{is_integer => is_integral_number} 2021-06-16 12:57:55 +01:00
MathObject.h LibJS: Add Math.imul() 2021-06-05 14:56:58 +01:00
NativeFunction.cpp LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
NativeFunction.h LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
NativeProperty.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
NativeProperty.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
NumberConstructor.cpp LibJS: Rename Value::{is_integer => is_integral_number} 2021-06-16 12:57:55 +01:00
NumberConstructor.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
NumberObject.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
NumberObject.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
NumberPrototype.cpp LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
NumberPrototype.h LibJS: Implement Number.prototype.valueOf() 2021-06-06 06:56:08 +01:00
Object.cpp LibJS: Replace Object's create_empty() with create() taking a prototype 2021-06-16 22:49:04 +01:00
Object.h LibJS: Replace Object's create_empty() with create() taking a prototype 2021-06-16 22:49:04 +01:00
ObjectConstructor.cpp LibJS: Replace Object's create_empty() with create() taking a prototype 2021-06-16 22:49:04 +01:00
ObjectConstructor.h LibJS: Add the Object.fromEntries method 2021-06-15 12:15:18 +01:00
ObjectPrototype.cpp LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
ObjectPrototype.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PrimitiveString.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PrimitiveString.h LibJS: Move Cell.{cpp,h} from Runtime/ to Heap/ 2021-05-17 19:53:00 +02:00
Promise.cpp LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
Promise.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
PromiseConstructor.cpp LibJS: Fix Promise.length attributes 2021-06-13 01:01:27 +01:00
PromiseConstructor.h LibJS: Add the Symbol.species getter to the appropriate built-ins 2021-06-08 09:09:51 +01:00
PromiseJobs.cpp LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
PromiseJobs.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
PromisePrototype.cpp LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
PromisePrototype.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
PromiseReaction.cpp LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
PromiseReaction.h LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
PromiseResolvingFunction.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
PromiseResolvingFunction.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
PropertyAttributes.h Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
PropertyName.h LibJS: Rename Value::{is_integer => is_integral_number} 2021-06-16 12:57:55 +01:00
ProxyConstructor.cpp LibJS: Replace Object's create_empty() with create() taking a prototype 2021-06-16 22:49:04 +01:00
ProxyConstructor.h LibJS: Implement Proxy.revocable() 2021-06-08 23:53:13 +02:00
ProxyObject.cpp Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
ProxyObject.h LibJS: Add a bunch of fast_is<T> to avoid slow RTTI in hot code 2021-06-13 19:11:29 +02:00
Reference.cpp LibJS: Teach Reference to access call frame arguments directly 2021-06-14 11:26:12 +02:00
Reference.h LibJS: Teach Reference to access call frame arguments directly 2021-06-14 11:26:12 +02:00
ReflectObject.cpp LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
ReflectObject.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
RegExpConstructor.cpp LibJS: Expose Symbol.species properties as getters 2021-06-12 00:44:15 +01:00
RegExpConstructor.h LibJS: Add the Symbol.species getter to the appropriate built-ins 2021-06-08 09:09:51 +01:00
RegExpObject.cpp LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
RegExpObject.h Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
RegExpPrototype.cpp LibJS: Replace Object's create_empty() with create() taking a prototype 2021-06-16 22:49:04 +01:00
RegExpPrototype.h Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
ScopeObject.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ScopeObject.h LibJS: Support deleting local variables with operator delete 2021-06-08 15:31:46 +01:00
ScriptFunction.cpp LibJS: Add a basic pass manager and add some basic passes 2021-06-15 22:06:33 +04:30
ScriptFunction.h LibJS: Use an enum class instead of 'bool is_generator' 2021-06-11 19:42:58 +04:30
Set.cpp LibJS: Stop inheriting from Set in SetPrototype 2021-06-09 18:01:19 +01:00
Set.h LibJS: Use OrderedHashTable instead of HashTable in the Set built-in 2021-06-15 23:51:20 +01:00
SetConstructor.cpp LibJS: Add two missing missing ECMA-262 section/title/URL comments 2021-06-13 21:33:41 +01:00
SetConstructor.h LibJS: Add the Set built-in object 2021-06-09 11:48:04 +01:00
SetIterator.cpp LibJS: Add the SetIterator built-in and Set.prototype.{values, entries} 2021-06-09 11:48:04 +01:00
SetIterator.h LibJS: Use OrderedHashTable instead of HashTable in the Set built-in 2021-06-15 23:51:20 +01:00
SetIteratorPrototype.cpp LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
SetIteratorPrototype.h LibJS: Add the SetIterator built-in and Set.prototype.{values, entries} 2021-06-09 11:48:04 +01:00
SetPrototype.cpp LibJS: Make Set.prototype.size an accessor 2021-06-13 21:33:41 +01:00
SetPrototype.h LibJS: Stop inheriting from Set in SetPrototype 2021-06-09 18:01:19 +01:00
Shape.cpp LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
Shape.h LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
StringConstructor.cpp LibJS: Rename Value::{is_integer => is_integral_number} 2021-06-16 12:57:55 +01:00
StringConstructor.h LibJS: Add the String.fromCodePoint() method 2021-06-16 10:29:10 +01:00
StringIterator.cpp Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
StringIterator.h AK: Rename Utf8CodepointIterator => Utf8CodePointIterator 2021-06-01 09:45:52 +02:00
StringIteratorPrototype.cpp LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
StringIteratorPrototype.h Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
StringObject.cpp LibJS: Remove String.prototype.length 2021-06-06 19:34:43 +02:00
StringObject.h LibJS: Remove String.prototype.length 2021-06-06 19:34:43 +02:00
StringOrSymbol.h LibJS: Make StringOrSymbol always be FlyString in the string case 2021-06-13 19:11:29 +02:00
StringPrototype.cpp LibJS: Add the String.prototype.search method 2021-06-16 20:05:18 +01:00
StringPrototype.h LibJS: Add the String.prototype.search method 2021-06-16 20:05:18 +01:00
Symbol.cpp LibJS: Store and return undefined Symbol description 2021-06-15 18:31:52 +01:00
Symbol.h LibJS: Store and return undefined Symbol description 2021-06-15 18:31:52 +01:00
SymbolConstructor.cpp LibJS: Store and return undefined Symbol description 2021-06-15 18:31:52 +01:00
SymbolConstructor.h Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
SymbolObject.cpp Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
SymbolObject.h LibJS: Store and return undefined Symbol description 2021-06-15 18:31:52 +01:00
SymbolPrototype.cpp LibJS: Store and return undefined Symbol description 2021-06-15 18:31:52 +01:00
SymbolPrototype.h LibJS: Implement String.prototype[@@toPrimitive]() 2021-06-06 19:34:43 +02:00
TemporaryClearException.h LibJS: Use linusg@serenityos.org for my new copyright headers, too 2021-04-24 20:16:31 +02:00
TypedArray.cpp LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
TypedArray.h LibJS+LibWeb: Make Uint8ClampedArray use TypedArray 2021-05-26 15:34:13 +04:30
TypedArrayConstructor.cpp LibJS: Expose Symbol.species properties as getters 2021-06-12 00:44:15 +01:00
TypedArrayConstructor.h LibJS: Add the Symbol.species getter to the appropriate built-ins 2021-06-08 09:09:51 +01:00
TypedArrayPrototype.cpp LibJS: Make a couple of %TypedArray%.prototype properties accessors 2021-06-13 21:33:41 +01:00
TypedArrayPrototype.h LibJS: Expose TypedArray.prototype.byteOffset 2021-05-21 22:52:35 +01:00
Value.cpp LibJS: Rename Value::{is_integer => is_integral_number} 2021-06-16 12:57:55 +01:00
Value.h LibJS: Rename Value::{is_integer => is_integral_number} 2021-06-16 12:57:55 +01:00
VM.cpp LibJS: Replace Object's create_empty() with create() taking a prototype 2021-06-16 22:49:04 +01:00
VM.h LibJS: Add the FinalizationRegistry built-in object 2021-06-15 23:59:21 +01:00
WeakContainer.h LibJS: Add the WeakRef built-in object 2021-06-12 18:39:23 +01:00
WeakMap.cpp LibJS: Add the WeakMap built-in object 2021-06-12 10:44:28 +01:00
WeakMap.h LibJS: Add the WeakMap built-in object 2021-06-12 10:44:28 +01:00
WeakMapConstructor.cpp LibJS: Use undefined as the fallback value for iterable entry key/value 2021-06-12 22:34:28 +01:00
WeakMapConstructor.h LibJS: Add the WeakMap built-in object 2021-06-12 10:44:28 +01:00
WeakMapPrototype.cpp LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
WeakMapPrototype.h LibJS: Add all of the WeakMap.prototype methods (delete, get, has, set) 2021-06-12 10:44:28 +01:00
WeakRef.cpp LibJS: Add the WeakRef built-in object 2021-06-12 18:39:23 +01:00
WeakRef.h LibJS: Add the WeakRef built-in object 2021-06-12 18:39:23 +01:00
WeakRefConstructor.cpp LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
WeakRefConstructor.h LibJS: Add the WeakRef built-in object 2021-06-12 18:39:23 +01:00
WeakRefPrototype.cpp LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
WeakRefPrototype.h LibJS: Add the WeakRef.prototype.deref method 2021-06-12 18:39:23 +01:00
WeakSet.cpp LibJS: Generify the garbage collector's weak container notifications 2021-06-12 10:44:28 +01:00
WeakSet.h LibJS: Generify the garbage collector's weak container notifications 2021-06-12 10:44:28 +01:00
WeakSetConstructor.cpp LibJS: Add the WeakSet built-in object 2021-06-09 21:52:25 +01:00
WeakSetConstructor.h LibJS: Add the WeakSet built-in object 2021-06-09 21:52:25 +01:00
WeakSetPrototype.cpp LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
WeakSetPrototype.h LibJS: Add all of the WeakSet.prototype methods (add, delete, has) 2021-06-09 21:52:25 +01:00
WithScope.cpp LibJS: Support deleting local variables with operator delete 2021-06-08 15:31:46 +01:00
WithScope.h LibJS: Support deleting local variables with operator delete 2021-06-08 15:31:46 +01:00