mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
Add cross-realm feature
This commit is contained in:
parent
134bfcd2b3
commit
7cbbe51216
features.txt
test
built-ins
Array
ArrayBuffer
Boolean
DataView
Date
Error
Function
call-bind-this-realm-undef.jscall-bind-this-realm-value.jsproto-from-ctor-realm.js
internals
Call
Construct
prototype/bind
GeneratorFunction
Map
Number
Object
Promise
Proxy
apply
construct
defineProperty
desc-realm.jsnull-handler-realm.jstargetdesc-configurable-desc-not-configurable-realm.jstargetdesc-not-compatible-descriptor-not-configurable-target-realm.jstargetdesc-not-compatible-descriptor-realm.jstargetdesc-undefined-not-configurable-descriptor-realm.jstargetdesc-undefined-target-is-not-extensible-realm.jstrap-is-not-callable-realm.js
deleteProperty
get-fn-realm.jsget
getOwnPropertyDescriptor
getPrototypeOf
has
isExtensible
ownKeys
preventExtensions
set
setPrototypeOf
RegExp
Set
SharedArrayBuffer
String
Symbol
for
hasInstance
isConcatSpreadable
iterator
keyFor
match
replace
search
species
split
toPrimitive
toStringTag
unscopables
ThrowTypeError
TypedArrays
buffer-arg-proto-from-ctor-realm-sab.jsbuffer-arg-proto-from-ctor-realm.jslength-arg-proto-from-ctor-realm.jsno-args-proto-from-ctor-realm.jsobject-arg-proto-from-ctor-realm.jstypedarray-arg-other-ctor-buffer-ctor-custom-species-proto-from-ctor-realm.jstypedarray-arg-proto-from-ctor-realm.jstypedarray-arg-same-ctor-buffer-ctor-species-custom-proto-from-ctor-realm.js
internals
DefineOwnProperty
Get
GetOwnProperty
HasProperty
Set
WeakMap
WeakSet
language
@ -69,6 +69,7 @@ caller
|
||||
class
|
||||
computed-property-names
|
||||
const
|
||||
cross-realm
|
||||
DataView
|
||||
DataView.prototype.getFloat32
|
||||
DataView.prototype.getFloat64
|
||||
|
@ -19,6 +19,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -10,6 +10,7 @@ info: |
|
||||
[...]
|
||||
2. If P is "length", then
|
||||
a. Return ? ArraySetLength(A, Desc).
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OArray = $262.createRealm().global.Array;
|
||||
|
@ -18,6 +18,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -18,7 +18,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -20,7 +20,7 @@ info: |
|
||||
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
|
||||
be undefined.
|
||||
[...]
|
||||
features: [Symbol.species]
|
||||
features: [cross-realm, Symbol.species]
|
||||
---*/
|
||||
|
||||
var array = [];
|
||||
|
@ -20,7 +20,7 @@ info: |
|
||||
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
|
||||
be undefined.
|
||||
[...]
|
||||
features: [Symbol.species]
|
||||
features: [cross-realm, Symbol.species]
|
||||
---*/
|
||||
|
||||
var array = [];
|
||||
|
@ -21,7 +21,7 @@ info: |
|
||||
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
|
||||
be undefined.
|
||||
[...]
|
||||
features: [Symbol.species]
|
||||
features: [cross-realm, Symbol.species]
|
||||
---*/
|
||||
|
||||
var array = [];
|
||||
|
@ -21,7 +21,7 @@ info: |
|
||||
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
|
||||
be undefined.
|
||||
[...]
|
||||
features: [Symbol.species]
|
||||
features: [cross-realm, Symbol.species]
|
||||
---*/
|
||||
|
||||
var array = [];
|
||||
|
@ -21,7 +21,7 @@ info: |
|
||||
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
|
||||
be undefined.
|
||||
[...]
|
||||
features: [Symbol.species]
|
||||
features: [cross-realm, Symbol.species]
|
||||
---*/
|
||||
|
||||
var array = [];
|
||||
|
@ -21,7 +21,7 @@ info: |
|
||||
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
|
||||
be undefined.
|
||||
[...]
|
||||
features: [Symbol.species]
|
||||
features: [cross-realm, Symbol.species]
|
||||
---*/
|
||||
|
||||
var array = [];
|
||||
|
@ -21,7 +21,7 @@ info: |
|
||||
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
|
||||
be undefined.
|
||||
[...]
|
||||
features: [Symbol.species]
|
||||
features: [cross-realm, Symbol.species]
|
||||
---*/
|
||||
|
||||
var array = [];
|
||||
|
@ -21,7 +21,7 @@ info: |
|
||||
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
|
||||
be undefined.
|
||||
[...]
|
||||
features: [Symbol.species]
|
||||
features: [cross-realm, Symbol.species]
|
||||
---*/
|
||||
|
||||
var array = [];
|
||||
|
@ -21,7 +21,7 @@ info: |
|
||||
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
|
||||
be undefined.
|
||||
[...]
|
||||
features: [Symbol.species]
|
||||
features: [cross-realm, Symbol.species]
|
||||
---*/
|
||||
|
||||
var array = [];
|
||||
|
@ -21,7 +21,7 @@ info: |
|
||||
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
|
||||
be undefined.
|
||||
[...]
|
||||
features: [Symbol.species]
|
||||
features: [cross-realm, Symbol.species]
|
||||
---*/
|
||||
|
||||
var array = [];
|
||||
|
@ -16,7 +16,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -18,7 +18,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -20,7 +20,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect, SharedArrayBuffer]
|
||||
features: [cross-realm, Reflect, SharedArrayBuffer]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -19,7 +19,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -20,7 +20,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -20,7 +20,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -19,7 +19,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -18,7 +18,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -19,6 +19,7 @@ info: >
|
||||
ii. Let globalEnvRec be globalEnv's EnvironmentRecord.
|
||||
iii. Let thisValue be globalEnvRec.[[GlobalThisValue]].
|
||||
[...]
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -20,6 +20,7 @@ info: >
|
||||
i. Let thisValue be ! ToObject(thisArgument).
|
||||
ii. NOTE ToObject produces wrapper objects using calleeRealm.
|
||||
[...]
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -10,7 +10,7 @@ info: |
|
||||
[...]
|
||||
2. If F's [[FunctionKind]] internal slot is "classConstructor", throw a
|
||||
TypeError exception.
|
||||
features: [class]
|
||||
features: [cross-realm, class]
|
||||
---*/
|
||||
|
||||
var C = $262.createRealm().global.eval('0, class {}');
|
||||
|
@ -37,7 +37,7 @@ info: |
|
||||
4. If obj is a Proxy exotic object, then
|
||||
a. If the value of the [[ProxyHandler]] internal slot of obj is null,
|
||||
throw a TypeError exception.
|
||||
features: [Proxy]
|
||||
features: [cross-realm, Proxy]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -14,7 +14,7 @@ info: |
|
||||
b. If kind is "base", return NormalCompletion(thisArgument).
|
||||
c. If result.[[Value]] is not undefined, throw a TypeError exception.
|
||||
[...]
|
||||
features: [class]
|
||||
features: [cross-realm, class]
|
||||
---*/
|
||||
|
||||
var C = $262.createRealm().global.eval(
|
||||
|
@ -15,7 +15,7 @@ info: |
|
||||
[...]
|
||||
3. If envRec.[[ThisBindingStatus]] is "uninitialized", throw a ReferenceError
|
||||
exception.
|
||||
features: [class]
|
||||
features: [cross-realm, class]
|
||||
---*/
|
||||
|
||||
var C = $262.createRealm().global.eval(
|
||||
|
@ -26,7 +26,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -13,6 +13,7 @@ info: |
|
||||
3. If obj is a Bound Function exotic object, then
|
||||
a. Let target be obj's [[BoundTargetFunction]] internal slot.
|
||||
b. Return ? GetFunctionRealm(target).
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -16,7 +16,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -26,7 +26,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var GeneratorFunction = Object.getPrototypeOf(function* () {}).constructor;
|
||||
|
@ -18,7 +18,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -18,7 +18,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -16,7 +16,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -20,7 +20,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -9,6 +9,7 @@ info: |
|
||||
[...]
|
||||
7. Let argArray be CreateArrayFromList(argumentsList).
|
||||
8. Return ? Call(trap, handler, « target, thisArgument, argArray »).
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var f = $262.createRealm().global.eval(
|
||||
|
@ -6,6 +6,7 @@ es6id: 9.5.13
|
||||
description: >
|
||||
Throws if trap is not callable (honoring the Realm of the current execution
|
||||
context)
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -10,6 +10,7 @@ info: |
|
||||
7. Let argArray be CreateArrayFromList(argumentsList).
|
||||
8. Let newObj be ? Call(trap, handler, « target, argArray, newTarget »).
|
||||
[...]
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var C = $262.createRealm().global.eval(
|
||||
|
@ -6,6 +6,7 @@ es6id: 9.5.14
|
||||
description: >
|
||||
Throws if trap is not callable (honoring the Realm of the current execution
|
||||
context)
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -20,7 +20,7 @@ info: >
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect.construct]
|
||||
features: [cross-realm, Reflect.construct]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -21,6 +21,7 @@ info: |
|
||||
2. Let obj be ObjectCreate(%ObjectPrototype%).
|
||||
...
|
||||
11. Return obj.
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -10,6 +10,7 @@ info: |
|
||||
1. Assert: IsPropertyKey(P) is true.
|
||||
2. Let handler be O.[[ProxyHandler]].
|
||||
3. If handler is null, throw a TypeError exception.
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -15,6 +15,7 @@ info: |
|
||||
b. If settingConfigFalse is true and targetDesc.[[Configurable]] is
|
||||
true, throw a TypeError exception.
|
||||
...
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -14,6 +14,7 @@ info: |
|
||||
a. If IsCompatiblePropertyDescriptor(extensibleTarget, Desc ,
|
||||
targetDesc) is false, throw a TypeError exception.
|
||||
...
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -15,6 +15,7 @@ info: |
|
||||
a. If IsCompatiblePropertyDescriptor(extensibleTarget, Desc ,
|
||||
targetDesc) is false, throw a TypeError exception.
|
||||
...
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -15,6 +15,7 @@ info: |
|
||||
...
|
||||
b. If settingConfigFalse is true, throw a TypeError exception.
|
||||
...
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -14,6 +14,7 @@ info: |
|
||||
19. If targetDesc is undefined, then
|
||||
a. If extensibleTarget is false, throw a TypeError exception.
|
||||
...
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -17,6 +17,7 @@ info: |
|
||||
2. Let func be GetV(O, P).
|
||||
5. If IsCallable(func) is false, throw a TypeError exception.
|
||||
...
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -15,6 +15,7 @@ info: |
|
||||
7.3.9 GetMethod (O, P)
|
||||
|
||||
5. If IsCallable(func) is false, throw a TypeError exception.
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -16,6 +16,7 @@ info: |
|
||||
throw a TypeError exception.
|
||||
b. Let proxyTarget be the value of obj's [[ProxyTarget]] internal slot.
|
||||
c. Return ? GetFunctionRealm(proxyTarget).
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -15,6 +15,7 @@ info: |
|
||||
7.3.9 GetMethod (O, P)
|
||||
|
||||
5. If IsCallable(func) is false, throw a TypeError exception.
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -10,6 +10,7 @@ info: |
|
||||
[...]
|
||||
9. If Type(trapResultObj) is neither Object nor Undefined, throw a TypeError
|
||||
exception.
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -20,6 +20,7 @@ info: |
|
||||
2. Let func be GetV(O, P).
|
||||
5. If IsCallable(func) is false, throw a TypeError exception.
|
||||
...
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -6,6 +6,7 @@ es6id: 9.5.1
|
||||
description: >
|
||||
Throws if trap is not callable (honoring the Realm of the current execution
|
||||
context)
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -17,6 +17,7 @@ info: |
|
||||
2. Let func be GetV(O, P).
|
||||
5. If IsCallable(func) is false, throw a TypeError exception.
|
||||
...
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -19,6 +19,7 @@ info: |
|
||||
2. Let func be GetV(O, P).
|
||||
5. If IsCallable(func) is false, throw a TypeError exception.
|
||||
...
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -17,7 +17,7 @@ info: |
|
||||
|
||||
2. If Type(obj) is not Object, throw a TypeError exception.
|
||||
|
||||
features: [Symbol]
|
||||
features: [cross-realm, Symbol]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -15,6 +15,7 @@ info: |
|
||||
7.3.9 GetMethod (O, P)
|
||||
|
||||
4. If IsCallable(func) is false, throw a TypeError exception.
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -19,6 +19,7 @@ info: |
|
||||
2. Let func be GetV(O, P).
|
||||
5. If IsCallable(func) is false, throw a TypeError exception.
|
||||
...
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -15,6 +15,7 @@ info: |
|
||||
7.3.9 GetMethod (O, P)
|
||||
|
||||
5. If IsCallable(func) is false, throw a TypeError exception.
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -20,6 +20,7 @@ info: |
|
||||
2. Let func be GetV(O, P).
|
||||
5. If IsCallable(func) is false, throw a TypeError exception.
|
||||
...
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var OProxy = $262.createRealm().global.Proxy;
|
||||
|
@ -19,7 +19,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -15,7 +15,7 @@ info: >
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Symbol.species, Symbol.split]
|
||||
features: [cross-realm, Symbol.species, Symbol.split]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -18,7 +18,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -17,7 +17,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -17,7 +17,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -8,7 +8,7 @@ info: >
|
||||
The GlobalSymbolRegistry is a List that is globally available. It is shared
|
||||
by all realms. Prior to the evaluation of any ECMAScript code it is
|
||||
initialized as a new empty List.
|
||||
features: [Symbol]
|
||||
features: [cross-realm, Symbol]
|
||||
---*/
|
||||
|
||||
var OSymbol = $262.createRealm().global.Symbol;
|
||||
|
@ -7,7 +7,7 @@ description: Value shared by all realms
|
||||
info: >
|
||||
Unless otherwise specified, well-known symbols values are shared by all
|
||||
realms.
|
||||
features: [Symbol.hasInstance]
|
||||
features: [cross-realm, Symbol.hasInstance]
|
||||
---*/
|
||||
|
||||
var OSymbol = $262.createRealm().global.Symbol;
|
||||
|
@ -7,7 +7,7 @@ description: Value shared by all realms
|
||||
info: >
|
||||
Unless otherwise specified, well-known symbols values are shared by all
|
||||
realms.
|
||||
features: [Symbol.isConcatSpreadable]
|
||||
features: [cross-realm, Symbol.isConcatSpreadable]
|
||||
---*/
|
||||
|
||||
var OSymbol = $262.createRealm().global.Symbol;
|
||||
|
@ -7,7 +7,7 @@ description: Value shared by all realms
|
||||
info: >
|
||||
Unless otherwise specified, well-known symbols values are shared by all
|
||||
realms.
|
||||
features: [Symbol.iterator]
|
||||
features: [cross-realm, Symbol.iterator]
|
||||
---*/
|
||||
|
||||
var OSymbol = $262.createRealm().global.Symbol;
|
||||
|
@ -8,7 +8,7 @@ info: >
|
||||
The GlobalSymbolRegistry is a List that is globally available. It is shared
|
||||
by all realms. Prior to the evaluation of any ECMAScript code it is
|
||||
initialized as a new empty List.
|
||||
features: [Symbol]
|
||||
features: [cross-realm, Symbol]
|
||||
---*/
|
||||
|
||||
var OSymbol = $262.createRealm().global.Symbol;
|
||||
|
@ -7,7 +7,7 @@ description: Value shared by all realms
|
||||
info: >
|
||||
Unless otherwise specified, well-known symbols values are shared by all
|
||||
realms.
|
||||
features: [Symbol.match]
|
||||
features: [cross-realm, Symbol.match]
|
||||
---*/
|
||||
|
||||
var OSymbol = $262.createRealm().global.Symbol;
|
||||
|
@ -7,7 +7,7 @@ description: Value shared by all realms
|
||||
info: >
|
||||
Unless otherwise specified, well-known symbols values are shared by all
|
||||
realms.
|
||||
features: [Symbol.replace]
|
||||
features: [cross-realm, Symbol.replace]
|
||||
---*/
|
||||
|
||||
var OSymbol = $262.createRealm().global.Symbol;
|
||||
|
@ -7,7 +7,7 @@ description: Value shared by all realms
|
||||
info: >
|
||||
Unless otherwise specified, well-known symbols values are shared by all
|
||||
realms.
|
||||
features: [Symbol.search]
|
||||
features: [cross-realm, Symbol.search]
|
||||
---*/
|
||||
|
||||
var OSymbol = $262.createRealm().global.Symbol;
|
||||
|
@ -7,7 +7,7 @@ description: Value shared by all realms
|
||||
info: >
|
||||
Unless otherwise specified, well-known symbols values are shared by all
|
||||
realms.
|
||||
features: [Symbol.species]
|
||||
features: [cross-realm, Symbol.species]
|
||||
---*/
|
||||
|
||||
var OSymbol = $262.createRealm().global.Symbol;
|
||||
|
@ -7,7 +7,7 @@ description: Value shared by all realms
|
||||
info: >
|
||||
Unless otherwise specified, well-known symbols values are shared by all
|
||||
realms.
|
||||
features: [Symbol.split]
|
||||
features: [cross-realm, Symbol.split]
|
||||
---*/
|
||||
|
||||
var OSymbol = $262.createRealm().global.Symbol;
|
||||
|
@ -7,7 +7,7 @@ description: Value shared by all realms
|
||||
info: >
|
||||
Unless otherwise specified, well-known symbols values are shared by all
|
||||
realms.
|
||||
features: [Symbol.split]
|
||||
features: [cross-realm, Symbol.split]
|
||||
---*/
|
||||
|
||||
var OSymbol = $262.createRealm().global.Symbol;
|
||||
|
@ -7,7 +7,7 @@ description: Value shared by all realms
|
||||
info: >
|
||||
Unless otherwise specified, well-known symbols values are shared by all
|
||||
realms.
|
||||
features: [Symbol.toStringTag]
|
||||
features: [cross-realm, Symbol.toStringTag]
|
||||
---*/
|
||||
|
||||
var OSymbol = $262.createRealm().global.Symbol;
|
||||
|
@ -7,7 +7,7 @@ description: Value shared by all realms
|
||||
info: >
|
||||
Unless otherwise specified, well-known symbols values are shared by all
|
||||
realms.
|
||||
features: [Symbol.unscopables]
|
||||
features: [cross-realm, Symbol.unscopables]
|
||||
---*/
|
||||
|
||||
var OSymbol = $262.createRealm().global.Symbol;
|
||||
|
@ -9,6 +9,7 @@ info: >
|
||||
|
||||
The %ThrowTypeError% intrinsic is an anonymous built-in function
|
||||
object that is defined once for each realm.
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -24,7 +24,7 @@ info: |
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
5. Return proto.
|
||||
includes: [testTypedArray.js]
|
||||
features: [SharedArrayBuffer, Reflect, TypedArray]
|
||||
features: [cross-realm, SharedArrayBuffer, Reflect, TypedArray]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -23,7 +23,7 @@ info: |
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
5. Return proto.
|
||||
includes: [testTypedArray.js]
|
||||
features: [Reflect, TypedArray]
|
||||
features: [cross-realm, Reflect, TypedArray]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -24,7 +24,7 @@ info: >
|
||||
5. If IsDetachedBuffer(buffer) is true, throw a TypeError exception.
|
||||
...
|
||||
includes: [testTypedArray.js, detachArrayBuffer.js]
|
||||
features: [Reflect, TypedArray]
|
||||
features: [cross-realm, Reflect, TypedArray]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -15,7 +15,7 @@ info: >
|
||||
i. Return ? IntegerIndexedElementGet(O, numericIndex).
|
||||
...
|
||||
includes: [testTypedArray.js, detachArrayBuffer.js]
|
||||
features: [TypedArray]
|
||||
features: [cross-realm, TypedArray]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -22,7 +22,7 @@ info: >
|
||||
4. If IsDetachedBuffer(buffer) is true, throw a TypeError exception.
|
||||
...
|
||||
includes: [testTypedArray.js, detachArrayBuffer.js]
|
||||
features: [TypedArray]
|
||||
features: [cross-realm, TypedArray]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -16,7 +16,7 @@ info: >
|
||||
ii. If IsDetachedBuffer(buffer) is true, throw a TypeError exception.
|
||||
...
|
||||
includes: [testTypedArray.js, detachArrayBuffer.js]
|
||||
features: [Reflect, TypedArray]
|
||||
features: [cross-realm, Reflect, TypedArray]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -23,7 +23,7 @@ info: >
|
||||
5. If IsDetachedBuffer(buffer) is true, throw a TypeError exception.
|
||||
...
|
||||
includes: [testTypedArray.js, detachArrayBuffer.js]
|
||||
features: [TypedArray]
|
||||
features: [cross-realm, TypedArray]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -22,7 +22,7 @@ info: |
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
5. Return proto.
|
||||
includes: [testTypedArray.js]
|
||||
features: [Reflect, TypedArray]
|
||||
features: [cross-realm, Reflect, TypedArray]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -22,7 +22,7 @@ info: |
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
5. Return proto.
|
||||
includes: [testTypedArray.js]
|
||||
features: [Reflect, TypedArray]
|
||||
features: [cross-realm, Reflect, TypedArray]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -23,7 +23,7 @@ info: |
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
5. Return proto.
|
||||
includes: [testTypedArray.js]
|
||||
features: [Reflect, TypedArray]
|
||||
features: [cross-realm, Reflect, TypedArray]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -34,7 +34,7 @@ info: >
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [Symbol.species, TypedArray]
|
||||
features: [cross-realm, Symbol.species, TypedArray]
|
||||
---*/
|
||||
|
||||
var sample1 = new Int8Array();
|
||||
|
@ -23,7 +23,7 @@ info: |
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
5. Return proto.
|
||||
includes: [testTypedArray.js]
|
||||
features: [Reflect, TypedArray]
|
||||
features: [cross-realm, Reflect, TypedArray]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -46,7 +46,7 @@ info: >
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [Symbol.species, TypedArray]
|
||||
features: [cross-realm, Symbol.species, TypedArray]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -18,7 +18,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -18,7 +18,7 @@ info: |
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [Reflect]
|
||||
features: [cross-realm, Reflect]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -23,6 +23,7 @@ info: |
|
||||
[...]
|
||||
24. Let result be EvalDeclarationInstantiation(body, varEnv, lexEnv,
|
||||
strictEval).
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
@ -11,6 +11,7 @@ info: |
|
||||
a. If SameValue(func, %eval%) is true, then
|
||||
[...]
|
||||
flags: [noStrict]
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var x = 'outside';
|
||||
|
@ -18,6 +18,7 @@ info: >
|
||||
a. Let realm be ? GetFunctionRealm(constructor).
|
||||
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
|
||||
[...]
|
||||
features: [cross-realm]
|
||||
---*/
|
||||
|
||||
var other = $262.createRealm().global;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user