mirror of https://github.com/tc39/test262.git
Create and assign feature: "align-detached-buffer-semantics-with-web-reality"
This commit is contained in:
parent
0bb8fe8aba
commit
bf900a30b2
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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]);
|
||||
|
|
|
@ -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]);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
...
|
||||
flags: [noStrict]
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
...
|
||||
flags: [onlyStrict]
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -26,7 +26,7 @@ info: |
|
|||
...
|
||||
flags: [noStrict]
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
|
|
@ -26,7 +26,7 @@ info: |
|
|||
...
|
||||
flags: [onlyStrict]
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -21,7 +21,7 @@ info: |
|
|||
|
||||
flags: [noStrict]
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
|
|
@ -21,7 +21,7 @@ info: |
|
|||
|
||||
flags: [onlyStrict]
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
features: [align-detached-buffer-semantics-with-web-reality, TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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]);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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]);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
---*/
|
||||
|
||||
|
||||
|
|
|
@ -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]
|
||||
---*/
|
||||
|
||||
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
---*/
|
||||
|
||||
|
||||
|
|
|
@ -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]
|
||||
---*/
|
||||
|
||||
|
||||
|
|
|
@ -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
Loading…
Reference in New Issue