Add cross-realm feature

This commit is contained in:
Leo Balter 2017-09-22 14:14:06 -04:00 committed by Rick Waldron
parent 134bfcd2b3
commit 7cbbe51216
105 changed files with 105 additions and 68 deletions

View File

@ -69,6 +69,7 @@ caller
class class
computed-property-names computed-property-names
const const
cross-realm
DataView DataView
DataView.prototype.getFloat32 DataView.prototype.getFloat32
DataView.prototype.getFloat64 DataView.prototype.getFloat64

View File

@ -19,6 +19,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [cross-realm]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -10,6 +10,7 @@ info: |
[...] [...]
2. If P is "length", then 2. If P is "length", then
a. Return ? ArraySetLength(A, Desc). a. Return ? ArraySetLength(A, Desc).
features: [cross-realm]
---*/ ---*/
var OArray = $262.createRealm().global.Array; var OArray = $262.createRealm().global.Array;

View File

@ -18,6 +18,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [cross-realm]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -18,7 +18,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -20,7 +20,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species] features: [cross-realm, Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -20,7 +20,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species] features: [cross-realm, Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -21,7 +21,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species] features: [cross-realm, Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -21,7 +21,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species] features: [cross-realm, Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -21,7 +21,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species] features: [cross-realm, Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -21,7 +21,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species] features: [cross-realm, Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -21,7 +21,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species] features: [cross-realm, Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -21,7 +21,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species] features: [cross-realm, Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -21,7 +21,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species] features: [cross-realm, Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -21,7 +21,7 @@ info: |
i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C i. If SameValue(C, realmC.[[Intrinsics]].[[%Array%]]) is true, let C
be undefined. be undefined.
[...] [...]
features: [Symbol.species] features: [cross-realm, Symbol.species]
---*/ ---*/
var array = []; var array = [];

View File

@ -16,7 +16,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -18,7 +18,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -20,7 +20,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect, SharedArrayBuffer] features: [cross-realm, Reflect, SharedArrayBuffer]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -19,7 +19,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -20,7 +20,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -20,7 +20,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -19,7 +19,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -18,7 +18,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -19,6 +19,7 @@ info: >
ii. Let globalEnvRec be globalEnv's EnvironmentRecord. ii. Let globalEnvRec be globalEnv's EnvironmentRecord.
iii. Let thisValue be globalEnvRec.[[GlobalThisValue]]. iii. Let thisValue be globalEnvRec.[[GlobalThisValue]].
[...] [...]
features: [cross-realm]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -20,6 +20,7 @@ info: >
i. Let thisValue be ! ToObject(thisArgument). i. Let thisValue be ! ToObject(thisArgument).
ii. NOTE ToObject produces wrapper objects using calleeRealm. ii. NOTE ToObject produces wrapper objects using calleeRealm.
[...] [...]
features: [cross-realm]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -10,7 +10,7 @@ info: |
[...] [...]
2. If F's [[FunctionKind]] internal slot is "classConstructor", throw a 2. If F's [[FunctionKind]] internal slot is "classConstructor", throw a
TypeError exception. TypeError exception.
features: [class] features: [cross-realm, class]
---*/ ---*/
var C = $262.createRealm().global.eval('0, class {}'); var C = $262.createRealm().global.eval('0, class {}');

View File

@ -37,7 +37,7 @@ info: |
4. If obj is a Proxy exotic object, then 4. If obj is a Proxy exotic object, then
a. If the value of the [[ProxyHandler]] internal slot of obj is null, a. If the value of the [[ProxyHandler]] internal slot of obj is null,
throw a TypeError exception. throw a TypeError exception.
features: [Proxy] features: [cross-realm, Proxy]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -14,7 +14,7 @@ info: |
b. If kind is "base", return NormalCompletion(thisArgument). b. If kind is "base", return NormalCompletion(thisArgument).
c. If result.[[Value]] is not undefined, throw a TypeError exception. c. If result.[[Value]] is not undefined, throw a TypeError exception.
[...] [...]
features: [class] features: [cross-realm, class]
---*/ ---*/
var C = $262.createRealm().global.eval( var C = $262.createRealm().global.eval(

View File

@ -15,7 +15,7 @@ info: |
[...] [...]
3. If envRec.[[ThisBindingStatus]] is "uninitialized", throw a ReferenceError 3. If envRec.[[ThisBindingStatus]] is "uninitialized", throw a ReferenceError
exception. exception.
features: [class] features: [cross-realm, class]
---*/ ---*/
var C = $262.createRealm().global.eval( var C = $262.createRealm().global.eval(

View File

@ -26,7 +26,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -13,6 +13,7 @@ info: |
3. If obj is a Bound Function exotic object, then 3. If obj is a Bound Function exotic object, then
a. Let target be obj's [[BoundTargetFunction]] internal slot. a. Let target be obj's [[BoundTargetFunction]] internal slot.
b. Return ? GetFunctionRealm(target). b. Return ? GetFunctionRealm(target).
features: [cross-realm]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -16,7 +16,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -26,7 +26,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var GeneratorFunction = Object.getPrototypeOf(function* () {}).constructor; var GeneratorFunction = Object.getPrototypeOf(function* () {}).constructor;

View File

@ -18,7 +18,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -18,7 +18,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -16,7 +16,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -20,7 +20,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -9,6 +9,7 @@ info: |
[...] [...]
7. Let argArray be CreateArrayFromList(argumentsList). 7. Let argArray be CreateArrayFromList(argumentsList).
8. Return ? Call(trap, handler, « target, thisArgument, argArray »). 8. Return ? Call(trap, handler, « target, thisArgument, argArray »).
features: [cross-realm]
---*/ ---*/
var f = $262.createRealm().global.eval( var f = $262.createRealm().global.eval(

View File

@ -6,6 +6,7 @@ es6id: 9.5.13
description: > description: >
Throws if trap is not callable (honoring the Realm of the current execution Throws if trap is not callable (honoring the Realm of the current execution
context) context)
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -10,6 +10,7 @@ info: |
7. Let argArray be CreateArrayFromList(argumentsList). 7. Let argArray be CreateArrayFromList(argumentsList).
8. Let newObj be ? Call(trap, handler, « target, argArray, newTarget »). 8. Let newObj be ? Call(trap, handler, « target, argArray, newTarget »).
[...] [...]
features: [cross-realm]
---*/ ---*/
var C = $262.createRealm().global.eval( var C = $262.createRealm().global.eval(

View File

@ -6,6 +6,7 @@ es6id: 9.5.14
description: > description: >
Throws if trap is not callable (honoring the Realm of the current execution Throws if trap is not callable (honoring the Realm of the current execution
context) context)
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -20,7 +20,7 @@ info: >
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect.construct] features: [cross-realm, Reflect.construct]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -21,6 +21,7 @@ info: |
2. Let obj be ObjectCreate(%ObjectPrototype%). 2. Let obj be ObjectCreate(%ObjectPrototype%).
... ...
11. Return obj. 11. Return obj.
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -10,6 +10,7 @@ info: |
1. Assert: IsPropertyKey(P) is true. 1. Assert: IsPropertyKey(P) is true.
2. Let handler be O.[[ProxyHandler]]. 2. Let handler be O.[[ProxyHandler]].
3. If handler is null, throw a TypeError exception. 3. If handler is null, throw a TypeError exception.
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -15,6 +15,7 @@ info: |
b. If settingConfigFalse is true and targetDesc.[[Configurable]] is b. If settingConfigFalse is true and targetDesc.[[Configurable]] is
true, throw a TypeError exception. true, throw a TypeError exception.
... ...
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -14,6 +14,7 @@ info: |
a. If IsCompatiblePropertyDescriptor(extensibleTarget, Desc , a. If IsCompatiblePropertyDescriptor(extensibleTarget, Desc ,
targetDesc) is false, throw a TypeError exception. targetDesc) is false, throw a TypeError exception.
... ...
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -15,6 +15,7 @@ info: |
a. If IsCompatiblePropertyDescriptor(extensibleTarget, Desc , a. If IsCompatiblePropertyDescriptor(extensibleTarget, Desc ,
targetDesc) is false, throw a TypeError exception. targetDesc) is false, throw a TypeError exception.
... ...
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -15,6 +15,7 @@ info: |
... ...
b. If settingConfigFalse is true, throw a TypeError exception. b. If settingConfigFalse is true, throw a TypeError exception.
... ...
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -14,6 +14,7 @@ info: |
19. If targetDesc is undefined, then 19. If targetDesc is undefined, then
a. If extensibleTarget is false, throw a TypeError exception. a. If extensibleTarget is false, throw a TypeError exception.
... ...
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -17,6 +17,7 @@ info: |
2. Let func be GetV(O, P). 2. Let func be GetV(O, P).
5. If IsCallable(func) is false, throw a TypeError exception. 5. If IsCallable(func) is false, throw a TypeError exception.
... ...
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -15,6 +15,7 @@ info: |
7.3.9 GetMethod (O, P) 7.3.9 GetMethod (O, P)
5. If IsCallable(func) is false, throw a TypeError exception. 5. If IsCallable(func) is false, throw a TypeError exception.
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -16,6 +16,7 @@ info: |
throw a TypeError exception. throw a TypeError exception.
b. Let proxyTarget be the value of obj's [[ProxyTarget]] internal slot. b. Let proxyTarget be the value of obj's [[ProxyTarget]] internal slot.
c. Return ? GetFunctionRealm(proxyTarget). c. Return ? GetFunctionRealm(proxyTarget).
features: [cross-realm]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -15,6 +15,7 @@ info: |
7.3.9 GetMethod (O, P) 7.3.9 GetMethod (O, P)
5. If IsCallable(func) is false, throw a TypeError exception. 5. If IsCallable(func) is false, throw a TypeError exception.
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -10,6 +10,7 @@ info: |
[...] [...]
9. If Type(trapResultObj) is neither Object nor Undefined, throw a TypeError 9. If Type(trapResultObj) is neither Object nor Undefined, throw a TypeError
exception. exception.
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -20,6 +20,7 @@ info: |
2. Let func be GetV(O, P). 2. Let func be GetV(O, P).
5. If IsCallable(func) is false, throw a TypeError exception. 5. If IsCallable(func) is false, throw a TypeError exception.
... ...
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -6,6 +6,7 @@ es6id: 9.5.1
description: > description: >
Throws if trap is not callable (honoring the Realm of the current execution Throws if trap is not callable (honoring the Realm of the current execution
context) context)
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -17,6 +17,7 @@ info: |
2. Let func be GetV(O, P). 2. Let func be GetV(O, P).
5. If IsCallable(func) is false, throw a TypeError exception. 5. If IsCallable(func) is false, throw a TypeError exception.
... ...
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -19,6 +19,7 @@ info: |
2. Let func be GetV(O, P). 2. Let func be GetV(O, P).
5. If IsCallable(func) is false, throw a TypeError exception. 5. If IsCallable(func) is false, throw a TypeError exception.
... ...
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -17,7 +17,7 @@ info: |
2. If Type(obj) is not Object, throw a TypeError exception. 2. If Type(obj) is not Object, throw a TypeError exception.
features: [Symbol] features: [cross-realm, Symbol]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -15,6 +15,7 @@ info: |
7.3.9 GetMethod (O, P) 7.3.9 GetMethod (O, P)
4. If IsCallable(func) is false, throw a TypeError exception. 4. If IsCallable(func) is false, throw a TypeError exception.
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -19,6 +19,7 @@ info: |
2. Let func be GetV(O, P). 2. Let func be GetV(O, P).
5. If IsCallable(func) is false, throw a TypeError exception. 5. If IsCallable(func) is false, throw a TypeError exception.
... ...
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -15,6 +15,7 @@ info: |
7.3.9 GetMethod (O, P) 7.3.9 GetMethod (O, P)
5. If IsCallable(func) is false, throw a TypeError exception. 5. If IsCallable(func) is false, throw a TypeError exception.
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -20,6 +20,7 @@ info: |
2. Let func be GetV(O, P). 2. Let func be GetV(O, P).
5. If IsCallable(func) is false, throw a TypeError exception. 5. If IsCallable(func) is false, throw a TypeError exception.
... ...
features: [cross-realm]
---*/ ---*/
var OProxy = $262.createRealm().global.Proxy; var OProxy = $262.createRealm().global.Proxy;

View File

@ -19,7 +19,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -15,7 +15,7 @@ info: >
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. 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; var other = $262.createRealm().global;

View File

@ -18,7 +18,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -17,7 +17,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -17,7 +17,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -8,7 +8,7 @@ info: >
The GlobalSymbolRegistry is a List that is globally available. It is shared 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 by all realms. Prior to the evaluation of any ECMAScript code it is
initialized as a new empty List. initialized as a new empty List.
features: [Symbol] features: [cross-realm, Symbol]
---*/ ---*/
var OSymbol = $262.createRealm().global.Symbol; var OSymbol = $262.createRealm().global.Symbol;

View File

@ -7,7 +7,7 @@ description: Value shared by all realms
info: > info: >
Unless otherwise specified, well-known symbols values are shared by all Unless otherwise specified, well-known symbols values are shared by all
realms. realms.
features: [Symbol.hasInstance] features: [cross-realm, Symbol.hasInstance]
---*/ ---*/
var OSymbol = $262.createRealm().global.Symbol; var OSymbol = $262.createRealm().global.Symbol;

View File

@ -7,7 +7,7 @@ description: Value shared by all realms
info: > info: >
Unless otherwise specified, well-known symbols values are shared by all Unless otherwise specified, well-known symbols values are shared by all
realms. realms.
features: [Symbol.isConcatSpreadable] features: [cross-realm, Symbol.isConcatSpreadable]
---*/ ---*/
var OSymbol = $262.createRealm().global.Symbol; var OSymbol = $262.createRealm().global.Symbol;

View File

@ -7,7 +7,7 @@ description: Value shared by all realms
info: > info: >
Unless otherwise specified, well-known symbols values are shared by all Unless otherwise specified, well-known symbols values are shared by all
realms. realms.
features: [Symbol.iterator] features: [cross-realm, Symbol.iterator]
---*/ ---*/
var OSymbol = $262.createRealm().global.Symbol; var OSymbol = $262.createRealm().global.Symbol;

View File

@ -8,7 +8,7 @@ info: >
The GlobalSymbolRegistry is a List that is globally available. It is shared 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 by all realms. Prior to the evaluation of any ECMAScript code it is
initialized as a new empty List. initialized as a new empty List.
features: [Symbol] features: [cross-realm, Symbol]
---*/ ---*/
var OSymbol = $262.createRealm().global.Symbol; var OSymbol = $262.createRealm().global.Symbol;

View File

@ -7,7 +7,7 @@ description: Value shared by all realms
info: > info: >
Unless otherwise specified, well-known symbols values are shared by all Unless otherwise specified, well-known symbols values are shared by all
realms. realms.
features: [Symbol.match] features: [cross-realm, Symbol.match]
---*/ ---*/
var OSymbol = $262.createRealm().global.Symbol; var OSymbol = $262.createRealm().global.Symbol;

View File

@ -7,7 +7,7 @@ description: Value shared by all realms
info: > info: >
Unless otherwise specified, well-known symbols values are shared by all Unless otherwise specified, well-known symbols values are shared by all
realms. realms.
features: [Symbol.replace] features: [cross-realm, Symbol.replace]
---*/ ---*/
var OSymbol = $262.createRealm().global.Symbol; var OSymbol = $262.createRealm().global.Symbol;

View File

@ -7,7 +7,7 @@ description: Value shared by all realms
info: > info: >
Unless otherwise specified, well-known symbols values are shared by all Unless otherwise specified, well-known symbols values are shared by all
realms. realms.
features: [Symbol.search] features: [cross-realm, Symbol.search]
---*/ ---*/
var OSymbol = $262.createRealm().global.Symbol; var OSymbol = $262.createRealm().global.Symbol;

View File

@ -7,7 +7,7 @@ description: Value shared by all realms
info: > info: >
Unless otherwise specified, well-known symbols values are shared by all Unless otherwise specified, well-known symbols values are shared by all
realms. realms.
features: [Symbol.species] features: [cross-realm, Symbol.species]
---*/ ---*/
var OSymbol = $262.createRealm().global.Symbol; var OSymbol = $262.createRealm().global.Symbol;

View File

@ -7,7 +7,7 @@ description: Value shared by all realms
info: > info: >
Unless otherwise specified, well-known symbols values are shared by all Unless otherwise specified, well-known symbols values are shared by all
realms. realms.
features: [Symbol.split] features: [cross-realm, Symbol.split]
---*/ ---*/
var OSymbol = $262.createRealm().global.Symbol; var OSymbol = $262.createRealm().global.Symbol;

View File

@ -7,7 +7,7 @@ description: Value shared by all realms
info: > info: >
Unless otherwise specified, well-known symbols values are shared by all Unless otherwise specified, well-known symbols values are shared by all
realms. realms.
features: [Symbol.split] features: [cross-realm, Symbol.split]
---*/ ---*/
var OSymbol = $262.createRealm().global.Symbol; var OSymbol = $262.createRealm().global.Symbol;

View File

@ -7,7 +7,7 @@ description: Value shared by all realms
info: > info: >
Unless otherwise specified, well-known symbols values are shared by all Unless otherwise specified, well-known symbols values are shared by all
realms. realms.
features: [Symbol.toStringTag] features: [cross-realm, Symbol.toStringTag]
---*/ ---*/
var OSymbol = $262.createRealm().global.Symbol; var OSymbol = $262.createRealm().global.Symbol;

View File

@ -7,7 +7,7 @@ description: Value shared by all realms
info: > info: >
Unless otherwise specified, well-known symbols values are shared by all Unless otherwise specified, well-known symbols values are shared by all
realms. realms.
features: [Symbol.unscopables] features: [cross-realm, Symbol.unscopables]
---*/ ---*/
var OSymbol = $262.createRealm().global.Symbol; var OSymbol = $262.createRealm().global.Symbol;

View File

@ -9,6 +9,7 @@ info: >
The %ThrowTypeError% intrinsic is an anonymous built-in function The %ThrowTypeError% intrinsic is an anonymous built-in function
object that is defined once for each realm. object that is defined once for each realm.
features: [cross-realm]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -24,7 +24,7 @@ info: |
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
5. Return proto. 5. Return proto.
includes: [testTypedArray.js] includes: [testTypedArray.js]
features: [SharedArrayBuffer, Reflect, TypedArray] features: [cross-realm, SharedArrayBuffer, Reflect, TypedArray]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -23,7 +23,7 @@ info: |
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
5. Return proto. 5. Return proto.
includes: [testTypedArray.js] includes: [testTypedArray.js]
features: [Reflect, TypedArray] features: [cross-realm, Reflect, TypedArray]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -24,7 +24,7 @@ info: >
5. If IsDetachedBuffer(buffer) is true, throw a TypeError exception. 5. If IsDetachedBuffer(buffer) is true, throw a TypeError exception.
... ...
includes: [testTypedArray.js, detachArrayBuffer.js] includes: [testTypedArray.js, detachArrayBuffer.js]
features: [Reflect, TypedArray] features: [cross-realm, Reflect, TypedArray]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -15,7 +15,7 @@ info: >
i. Return ? IntegerIndexedElementGet(O, numericIndex). i. Return ? IntegerIndexedElementGet(O, numericIndex).
... ...
includes: [testTypedArray.js, detachArrayBuffer.js] includes: [testTypedArray.js, detachArrayBuffer.js]
features: [TypedArray] features: [cross-realm, TypedArray]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -22,7 +22,7 @@ info: >
4. If IsDetachedBuffer(buffer) is true, throw a TypeError exception. 4. If IsDetachedBuffer(buffer) is true, throw a TypeError exception.
... ...
includes: [testTypedArray.js, detachArrayBuffer.js] includes: [testTypedArray.js, detachArrayBuffer.js]
features: [TypedArray] features: [cross-realm, TypedArray]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -16,7 +16,7 @@ info: >
ii. If IsDetachedBuffer(buffer) is true, throw a TypeError exception. ii. If IsDetachedBuffer(buffer) is true, throw a TypeError exception.
... ...
includes: [testTypedArray.js, detachArrayBuffer.js] includes: [testTypedArray.js, detachArrayBuffer.js]
features: [Reflect, TypedArray] features: [cross-realm, Reflect, TypedArray]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -23,7 +23,7 @@ info: >
5. If IsDetachedBuffer(buffer) is true, throw a TypeError exception. 5. If IsDetachedBuffer(buffer) is true, throw a TypeError exception.
... ...
includes: [testTypedArray.js, detachArrayBuffer.js] includes: [testTypedArray.js, detachArrayBuffer.js]
features: [TypedArray] features: [cross-realm, TypedArray]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -22,7 +22,7 @@ info: |
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
5. Return proto. 5. Return proto.
includes: [testTypedArray.js] includes: [testTypedArray.js]
features: [Reflect, TypedArray] features: [cross-realm, Reflect, TypedArray]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -22,7 +22,7 @@ info: |
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
5. Return proto. 5. Return proto.
includes: [testTypedArray.js] includes: [testTypedArray.js]
features: [Reflect, TypedArray] features: [cross-realm, Reflect, TypedArray]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -23,7 +23,7 @@ info: |
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
5. Return proto. 5. Return proto.
includes: [testTypedArray.js] includes: [testTypedArray.js]
features: [Reflect, TypedArray] features: [cross-realm, Reflect, TypedArray]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -34,7 +34,7 @@ info: >
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
... ...
includes: [testTypedArray.js] includes: [testTypedArray.js]
features: [Symbol.species, TypedArray] features: [cross-realm, Symbol.species, TypedArray]
---*/ ---*/
var sample1 = new Int8Array(); var sample1 = new Int8Array();

View File

@ -23,7 +23,7 @@ info: |
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
5. Return proto. 5. Return proto.
includes: [testTypedArray.js] includes: [testTypedArray.js]
features: [Reflect, TypedArray] features: [cross-realm, Reflect, TypedArray]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -46,7 +46,7 @@ info: >
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
... ...
includes: [testTypedArray.js] includes: [testTypedArray.js]
features: [Symbol.species, TypedArray] features: [cross-realm, Symbol.species, TypedArray]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -18,7 +18,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -18,7 +18,7 @@ info: |
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [Reflect] features: [cross-realm, Reflect]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -23,6 +23,7 @@ info: |
[...] [...]
24. Let result be EvalDeclarationInstantiation(body, varEnv, lexEnv, 24. Let result be EvalDeclarationInstantiation(body, varEnv, lexEnv,
strictEval). strictEval).
features: [cross-realm]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

View File

@ -11,6 +11,7 @@ info: |
a. If SameValue(func, %eval%) is true, then a. If SameValue(func, %eval%) is true, then
[...] [...]
flags: [noStrict] flags: [noStrict]
features: [cross-realm]
---*/ ---*/
var x = 'outside'; var x = 'outside';

View File

@ -18,6 +18,7 @@ info: >
a. Let realm be ? GetFunctionRealm(constructor). a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto. b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...] [...]
features: [cross-realm]
---*/ ---*/
var other = $262.createRealm().global; var other = $262.createRealm().global;

Some files were not shown because too many files have changed in this diff Show More