Create and assign feature: "align-detached-buffer-semantics-with-web-reality"

This commit is contained in:
Rick Waldron 2020-10-08 11:21:32 -04:00
parent 0bb8fe8aba
commit bf900a30b2
139 changed files with 142 additions and 137 deletions

View File

@ -193,6 +193,10 @@ TypedArray.prototype.item
# https://github.com/tc39/ecma262/pull/2154
arbitrary-module-namespace-names
# Align detached buffer semantics with web reality
# https://github.com/tc39/ecma262/pull/2164
align-detached-buffer-semantics-with-web-reality
## Standard language features
#
# Language features that have been included in a published version of the

View File

@ -9,6 +9,7 @@ info: |
If IsDetachedBuffer(buffer) is true, return 0.
...
includes: [detachArrayBuffer.js]
features: [align-detached-buffer-semantics-with-web-reality]
---*/
var ab = new ArrayBuffer(1);

View File

@ -4,7 +4,7 @@
/*---
esid: sec-get-arraybuffer.prototype.bytelength
description: Throws a TypeError exception when `this` is a SharedArrayBuffer
features: [SharedArrayBuffer]
features: [align-detached-buffer-semantics-with-web-reality, SharedArrayBuffer]
---*/
var byteLength = Object.getOwnPropertyDescriptor(

View File

@ -13,7 +13,7 @@ info: |
If IsDetachedBuffer(O.[[ViewedArrayBuffer]]) is true, throw a TypeError exception.
...
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, Symbol.species, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, Symbol.species, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -13,7 +13,7 @@ info: |
If IsDetachedBuffer(O.[[ViewedArrayBuffer]]) is true, throw a TypeError exception.
...
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, Symbol.species, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, Symbol.species, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -12,7 +12,7 @@ info: |
If IsDetachedBuffer(O.[[ViewedArrayBuffer]]) is true, throw a TypeError exception.
...
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -13,7 +13,7 @@ info: |
Return A.
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, Symbol.species, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, Symbol.species, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -15,7 +15,7 @@ info: |
Return A
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, Symbol.species, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, Symbol.species, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -14,7 +14,7 @@ info: |
...
Return A
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, Symbol.species, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, Symbol.species, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -14,7 +14,7 @@ info: |
If IsDetachedBuffer(O.[[ViewedArrayBuffer]]) is true, throw a TypeError exception.
...
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [Symbol.species, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Symbol.species, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -12,7 +12,7 @@ info: |
If IsDetachedBuffer(O.[[ViewedArrayBuffer]]) is true, throw a TypeError exception.
...
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [Symbol.species, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Symbol.species, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -12,7 +12,7 @@ info: |
If IsDetachedBuffer(O.[[ViewedArrayBuffer]]) is true, throw a TypeError exception.
...
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [Symbol.species, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Symbol.species, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -13,7 +13,7 @@ info: |
Return A.
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [Symbol.species, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Symbol.species, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -15,7 +15,7 @@ info: |
Return A
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [Symbol.species, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Symbol.species, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -14,7 +14,7 @@ info: |
...
Return A
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [Symbol.species, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Symbol.species, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -24,7 +24,7 @@ info: |
If IsDetachedBuffer(buffer) is true, return false.
...
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, cross-realm, Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, cross-realm, Reflect, TypedArray]
---*/
var other = $262.createRealm().global;

View File

@ -23,7 +23,7 @@ info: |
If IsDetachedBuffer(buffer) is true, return false.
...
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, Reflect, TypedArray]
---*/
var desc = {
value: 0n,

View File

@ -15,7 +15,7 @@ info: |
return false.
...
includes: [testBigIntTypedArray.js, propertyHelper.js]
features: [BigInt, Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, Reflect, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {
var sample = new TA([42n, 42n]);

View File

@ -25,7 +25,7 @@ info: |
15. Perform SetValueInBuffer(buffer, indexedPosition, elementType, numValue).
16. Return true.
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, Reflect, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {
var ta = new TA([17n]);

View File

@ -24,7 +24,7 @@ info: |
If IsDetachedBuffer(buffer) is true, return false.
...
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [cross-realm, Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, cross-realm, Reflect, TypedArray]
---*/
var other = $262.createRealm().global;

View File

@ -23,7 +23,7 @@ info: |
If IsDetachedBuffer(buffer) is true, return false.
...
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Reflect, TypedArray]
---*/
var desc = {

View File

@ -26,7 +26,7 @@ info: |
15. Perform SetValueInBuffer(buffer, indexedPosition, elementType, numValue).
16. Return true.
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Reflect, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -17,7 +17,7 @@ info: |
...
Return ? OrdinaryDelete(O, P)
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -14,7 +14,7 @@ info: |
...
Return ? OrdinaryDelete(O, P).
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [Symbol, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Symbol, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -18,7 +18,7 @@ info: |
...
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [cross-realm, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, cross-realm, TypedArray]
---*/
var other = $262.createRealm().global;

View File

@ -16,7 +16,7 @@ info: |
If IsDetachedBuffer(O.[[ViewedArrayBuffer]]) is true, return true.
...
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -19,7 +19,7 @@ info: |
...
flags: [noStrict]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -19,7 +19,7 @@ info: |
...
flags: [onlyStrict]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -7,7 +7,7 @@ description: >
Return value from valid numeric index, with SharedArrayBuffer
flags: [noStrict]
includes: [testTypedArray.js]
features: [TypedArray, SharedArrayBuffer]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray, SharedArrayBuffer]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -7,7 +7,7 @@ description: >
Throws TypeError exception in strict mode.
flags: [onlyStrict]
includes: [testTypedArray.js]
features: [TypedArray, SharedArrayBuffer]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray, SharedArrayBuffer]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -22,7 +22,7 @@ info: |
Return n.
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -20,7 +20,7 @@ info: |
Return ? OrdinaryDelete(O, P).
flags: [noStrict]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -20,7 +20,7 @@ info: |
Return ? OrdinaryDelete(O, P).
flags: [onlyStrict]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -26,7 +26,7 @@ info: |
...
flags: [noStrict]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -26,7 +26,7 @@ info: |
...
flags: [onlyStrict]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -20,7 +20,7 @@ info: |
Return ? OrdinaryDelete(O, P).
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -20,7 +20,7 @@ info: |
Return ? OrdinaryDelete(O, P).
flags: [noStrict]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -20,7 +20,7 @@ info: |
Return ? OrdinaryDelete(O, P).
flags: [onlyStrict]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -21,7 +21,7 @@ info: |
flags: [noStrict]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -21,7 +21,7 @@ info: |
flags: [onlyStrict]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -15,7 +15,7 @@ info: |
Return ? OrdinaryDelete(O, P).
includes: [testBigIntTypedArray.js]
features: [BigInt, Symbol, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, Symbol, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -17,7 +17,7 @@ info: |
...
Return ? OrdinaryDelete(O, P)
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -14,7 +14,7 @@ info: |
...
Return ? OrdinaryDelete(O, P).
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [Symbol, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Symbol, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -18,7 +18,7 @@ info: |
...
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [cross-realm, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, cross-realm, TypedArray]
---*/
var other = $262.createRealm().global;

View File

@ -16,7 +16,7 @@ info: |
If IsDetachedBuffer(O.[[ViewedArrayBuffer]]) is true, return true.
...
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -19,7 +19,7 @@ info: |
...
flags: [noStrict]
includes: [testTypedArray.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -19,7 +19,7 @@ info: |
...
flags: [onlyStrict]
includes: [testTypedArray.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -7,7 +7,7 @@ description: >
Return value from valid numeric index, with SharedArrayBuffer
flags: [noStrict]
includes: [testTypedArray.js]
features: [TypedArray, SharedArrayBuffer]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray, SharedArrayBuffer]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -7,7 +7,7 @@ description: >
Throws TypeError exception in strict mode.
flags: [onlyStrict]
includes: [testTypedArray.js]
features: [TypedArray, SharedArrayBuffer]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray, SharedArrayBuffer]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -22,7 +22,7 @@ info: |
Return n.
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -20,7 +20,7 @@ info: |
Return ? OrdinaryDelete(O, P).
flags: [noStrict]
includes: [testTypedArray.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -20,7 +20,7 @@ info: |
Return ? OrdinaryDelete(O, P).
flags: [onlyStrict]
includes: [testTypedArray.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -24,7 +24,7 @@ info: |
5. If IsInteger(index) is false, return undefined.
...
includes: [testTypedArray.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -26,7 +26,7 @@ info: |
...
flags: [noStrict]
includes: [testTypedArray.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -26,7 +26,7 @@ info: |
...
flags: [onlyStrict]
includes: [testTypedArray.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -20,7 +20,7 @@ info: |
Return ? OrdinaryDelete(O, P).
includes: [testTypedArray.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -20,7 +20,7 @@ info: |
Return ? OrdinaryDelete(O, P).
flags: [noStrict]
includes: [testTypedArray.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -20,7 +20,7 @@ info: |
Return ? OrdinaryDelete(O, P).
flags: [onlyStrict]
includes: [testTypedArray.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -21,7 +21,7 @@ info: |
flags: [noStrict]
includes: [testTypedArray.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -21,7 +21,7 @@ info: |
flags: [onlyStrict]
includes: [testTypedArray.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -15,7 +15,7 @@ info: |
Return ? OrdinaryDelete(O, P).
includes: [testTypedArray.js]
features: [Symbol, Symbol, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Symbol, Symbol, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -21,7 +21,7 @@ info: |
If IsDetachedBuffer(buffer) is true, return undefined.
...
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, cross-realm, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, cross-realm, TypedArray]
---*/
let other = $262.createRealm().global;

View File

@ -20,7 +20,7 @@ info: |
If IsDetachedBuffer(buffer) is true, return undefined.
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -27,7 +27,7 @@ info: |
...
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -14,7 +14,7 @@ info: |
...
3. Return ? OrdinaryGet(O, P, Receiver).
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
var keys = [

View File

@ -20,7 +20,7 @@ info: |
8. Return ? Call(getter, Receiver).
...
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -14,7 +14,7 @@ info: |
...
3. Return ? OrdinaryGet(O, P, Receiver).
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
TypedArray.prototype.baz = "test262";

View File

@ -12,7 +12,7 @@ info: |
...
3. Return ? OrdinaryGet(O, P, Receiver).
includes: [testBigIntTypedArray.js]
features: [BigInt, Symbol, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, Symbol, TypedArray]
---*/
var parentKey = Symbol("2");

View File

@ -21,7 +21,7 @@ info: |
If IsDetachedBuffer(buffer) is true, return undefined.
...
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [cross-realm, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, cross-realm, TypedArray]
---*/
let other = $262.createRealm().global;

View File

@ -20,7 +20,7 @@ info: |
If IsDetachedBuffer(buffer) is true, return undefined.
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -28,7 +28,7 @@ info: |
If IsDetachedBuffer(buffer) is true, return undefined.
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -14,7 +14,7 @@ info: |
...
3. Return ? OrdinaryGet(O, P, Receiver).
includes: [testTypedArray.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
var keys = [

View File

@ -20,7 +20,7 @@ info: |
8. Return ? Call(getter, Receiver).
...
includes: [testTypedArray.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -14,7 +14,7 @@ info: |
...
3. Return ? OrdinaryGet(O, P, Receiver).
includes: [testTypedArray.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
TypedArray.prototype.baz = "test262";

View File

@ -12,7 +12,7 @@ info: |
...
3. Return ? OrdinaryGet(O, P, Receiver).
includes: [testTypedArray.js]
features: [Symbol, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Symbol, TypedArray]
---*/
var parentKey = Symbol("2");

View File

@ -22,7 +22,7 @@ info: |
If IsDetachedBuffer(buffer) is true, return undefined.
...
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, cross-realm, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, cross-realm, TypedArray]
---*/
var other = $262.createRealm().global;

View File

@ -21,7 +21,7 @@ info: |
If IsDetachedBuffer(buffer) is true, return undefined.
...
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -27,7 +27,7 @@ info: |
calling its [[GetOwnProperty]] internal method.
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -16,7 +16,7 @@ info: |
[[Enumerable]]: true, [[Configurable]]: true}.
...
includes: [testBigIntTypedArray.js, propertyHelper.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {
var sample = new TA([42n, 43n]);

View File

@ -22,7 +22,7 @@ info: |
If IsDetachedBuffer(buffer) is true, return undefined.
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [cross-realm, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, cross-realm, TypedArray]
---*/
var other = $262.createRealm().global;

View File

@ -21,7 +21,7 @@ info: |
If IsDetachedBuffer(buffer) is true, return undefined.
...
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -27,7 +27,7 @@ info: |
calling its [[GetOwnProperty]] internal method.
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -16,7 +16,7 @@ info: |
[[Enumerable]]: true, [[Configurable]]: false}.
...
includes: [testTypedArray.js, propertyHelper.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -24,7 +24,7 @@ info: |
a. Return ? parent.[[HasProperty]](P).
6. Return false.
includes: [testBigIntTypedArray.js]
features: [BigInt, Reflect, Proxy, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, Reflect, Proxy, TypedArray]
---*/
var handler = {

View File

@ -16,7 +16,7 @@ info: |
ii. If IsDetachedBuffer(buffer) is true, return false.
...
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, cross-realm, Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, cross-realm, Reflect, TypedArray]
---*/
var other = $262.createRealm().global;

View File

@ -14,7 +14,7 @@ info: |
ii. If IsDetachedBuffer(buffer) is true, return false.
...
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, Reflect, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {

View File

@ -17,7 +17,7 @@ info: |
iv. Return true.
...
includes: [testBigIntTypedArray.js]
features: [BigInt, Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, Reflect, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {
var sample = new TA([42n, 43n]);

View File

@ -22,7 +22,7 @@ info: |
flags: [noStrict]
includes: [testBigIntTypedArray.js, detachArrayBuffer.js]
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {
let count = 0;

View File

@ -14,7 +14,7 @@ info: |
iii. If ! IsValidIntegerIndex(O, numericIndex) is false, return false.
...
includes: [testBigIntTypedArray.js]
features: [BigInt, Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, Reflect, TypedArray]
---*/
// Prevents false positives using OrdinaryHasProperty

View File

@ -14,7 +14,7 @@ info: |
iii. If ! IsValidIntegerIndex(O, numericIndex) is false, return false.
...
includes: [testBigIntTypedArray.js]
features: [BigInt, Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, Reflect, TypedArray]
---*/

View File

@ -14,7 +14,7 @@ info: |
iii. If ! IsValidIntegerIndex(O, numericIndex) is false, return false.
...
includes: [testBigIntTypedArray.js]
features: [BigInt, Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, Reflect, TypedArray]
---*/

View File

@ -24,7 +24,7 @@ info: |
a. Return ? parent.[[HasProperty]](P).
6. Return false.
includes: [testTypedArray.js]
features: [Reflect, Proxy, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Reflect, Proxy, TypedArray]
---*/
var handler = {

View File

@ -15,7 +15,7 @@ info: |
ii. If IsDetachedBuffer(buffer) is true, return false.
...
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [cross-realm, Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, cross-realm, Reflect, TypedArray]
---*/
var other = $262.createRealm().global;

View File

@ -14,7 +14,7 @@ info: |
ii. If IsDetachedBuffer(buffer) is true, return false.
...
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Reflect, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -17,7 +17,7 @@ info: |
iv. Return true.
...
includes: [testTypedArray.js]
features: [Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Reflect, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -23,7 +23,7 @@ info: |
flags: [noStrict]
includes: [testTypedArray.js, detachArrayBuffer.js]
features: [TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -14,7 +14,7 @@ info: |
iii. If ! IsValidIntegerIndex(O, numericIndex) is false, return false.
...
includes: [testTypedArray.js]
features: [Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Reflect, TypedArray]
---*/
// Prevents false positives using OrdinaryHasProperty

View File

@ -14,7 +14,7 @@ info: |
iii. If ! IsValidIntegerIndex(O, numericIndex) is false, return false.
...
includes: [testTypedArray.js]
features: [Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Reflect, TypedArray]
---*/

View File

@ -14,7 +14,7 @@ info: |
iii. If ! IsValidIntegerIndex(O, numericIndex) is false, return false.
...
includes: [testTypedArray.js]
features: [Reflect, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, Reflect, TypedArray]
---*/

View File

@ -65,7 +65,7 @@ info: |
2. Let int64bit be n modulo 2^64.
3. If int64bit 2^63, return int64bit - 2^64; otherwise return int64bit.
features: [BigInt, TypedArray]
features: [align-detached-buffer-semantics-with-web-reality, BigInt, TypedArray]
---*/
// 2n ** 64n + 2n
// 2n ** 63n + 2n

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