mirror of
https://github.com/tc39/test262.git
synced 2025-07-24 14:35:30 +02:00
update frontmatter
This commit is contained in:
parent
9aa15de18f
commit
f9e93bd61c
@ -2,24 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-dataview.prototype.getbigint64
|
||||
esid: sec-dataview.prototype.getbiguint64
|
||||
description: >
|
||||
Detached buffer is only checked after ToIndex(requestIndex)
|
||||
info: |
|
||||
DataView.prototype.getBigInt64 ( byteOffset [ , littleEndian ] )
|
||||
|
||||
1. Let v be the this value.
|
||||
2. If littleEndian is not present, let littleEndian be undefined.
|
||||
3. Return ? GetViewValue(v, byteOffset, littleEndian, "Int64").
|
||||
|
||||
24.3.1.1 GetViewValue ( view, requestIndex, isLittleEndian, type )
|
||||
|
||||
...
|
||||
4. Let getIndex be ? ToIndex(requestIndex).
|
||||
...
|
||||
6. Let buffer be view.[[ViewedArrayBuffer]].
|
||||
7. If IsDetachedBuffer(buffer) is true, throw a TypeError exception.
|
||||
...
|
||||
includes: [detachArrayBuffer.js]
|
||||
features: [DataView, ArrayBuffer, BigInt, arrow-function]
|
||||
---*/
|
||||
|
@ -2,24 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-dataview.prototype.getbigint64
|
||||
esid: sec-dataview.prototype.getbiguint64
|
||||
description: >
|
||||
Detached buffer is checked before out of range byteOffset's value
|
||||
info: |
|
||||
24.2.4.8 DataView.prototype.getBigInt64 ( byteOffset [ , littleEndian ] )
|
||||
|
||||
1. Let v be the this value.
|
||||
2. If littleEndian is not present, let littleEndian be undefined.
|
||||
3. Return ? GetViewValue(v, byteOffset, littleEndian, "Int64").
|
||||
|
||||
24.3.1.1 GetViewValue ( view, requestIndex, isLittleEndian, type )
|
||||
|
||||
...
|
||||
6. Let buffer be view.[[ViewedArrayBuffer]].
|
||||
7. If IsDetachedBuffer(buffer) is true, throw a TypeError exception.
|
||||
...
|
||||
11. If getIndex + elementSize > viewSize, throw a RangeError exception.
|
||||
...
|
||||
includes: [detachArrayBuffer.js]
|
||||
features: [DataView, ArrayBuffer, BigInt, arrow-function]
|
||||
---*/
|
||||
|
@ -2,22 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-dataview.prototype.getbigint64
|
||||
esid: sec-dataview.prototype.getbiguint64
|
||||
description: >
|
||||
Throws a TypeError if buffer is detached
|
||||
info: |
|
||||
DataView.prototype.getBigInt64 ( byteOffset [ , littleEndian ] )
|
||||
|
||||
1. Let v be the this value.
|
||||
2. If littleEndian is not present, let littleEndian be undefined.
|
||||
3. Return ? GetViewValue(v, byteOffset, littleEndian, "Int64").
|
||||
|
||||
24.3.1.1 GetViewValue ( view, requestIndex, isLittleEndian, type )
|
||||
|
||||
...
|
||||
8. Let buffer be the value of view's [[ViewedArrayBuffer]] internal slot.
|
||||
9. If IsDetachedBuffer(buffer) is true, throw a TypeError exception.
|
||||
...
|
||||
includes: [detachArrayBuffer.js]
|
||||
features: [DataView, ArrayBuffer, BigInt, arrow-function]
|
||||
---*/
|
||||
|
@ -2,25 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-dataview.prototype.getbigint64
|
||||
esid: sec-dataview.prototype.getbiguint64
|
||||
description: >
|
||||
Throws a RangeError if getIndex + elementSize > viewSize
|
||||
info: |
|
||||
DataView.prototype.getBigInt64 ( byteOffset [ , littleEndian ] )
|
||||
|
||||
1. Let v be the this value.
|
||||
2. If littleEndian is not present, let littleEndian be undefined.
|
||||
3. Return ? GetViewValue(v, byteOffset, littleEndian, "Int64").
|
||||
|
||||
24.3.1.1 GetViewValue ( view, requestIndex, isLittleEndian, type )
|
||||
|
||||
...
|
||||
10. Let viewOffset be the value of view's [[ByteOffset]] internal slot.
|
||||
11. Let viewSize be the value of view's [[ByteLength]] internal slot.
|
||||
12. Let elementSize be the Number value of the Element Size value specified in
|
||||
Table 50 for Element Type type.
|
||||
13. If getIndex + elementSize > viewSize, throw a RangeError exception.
|
||||
...
|
||||
features: [DataView, ArrayBuffer, BigInt, arrow-function]
|
||||
---*/
|
||||
|
||||
|
@ -2,24 +2,8 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-dataview.prototype.getbigint64
|
||||
description: DataView.prototype.getBigInt64.length property descriptor
|
||||
info: >
|
||||
DataView.prototype.getBigInt64 ( byteOffset [ , littleEndian ] )
|
||||
|
||||
17 ECMAScript Standard Built-in Objects
|
||||
|
||||
Every built-in function object, including constructors, has a length
|
||||
property whose value is an integer. Unless otherwise specified, this
|
||||
value is equal to the largest number of named arguments shown in the
|
||||
subclause headings for the function description. Optional parameters
|
||||
(which are indicated with brackets: [ ]) or rest parameters (which
|
||||
are shown using the form «...name») are not included in the default
|
||||
argument count.
|
||||
|
||||
Unless otherwise specified, the length property of a built-in
|
||||
function object has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
esid: sec-dataview.prototype.getbiguint64
|
||||
description: DataView.prototype.getBigUint64.length property descriptor
|
||||
includes: [propertyHelper.js]
|
||||
features: [DataView, ArrayBuffer, BigInt]
|
||||
---*/
|
||||
|
@ -2,23 +2,8 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-dataview.prototype.getbigint64
|
||||
description: DataView.prototype.getBigInt64.name property descriptor
|
||||
info: >
|
||||
DataView.prototype.getBigInt64 ( byteOffset [ , littleEndian ] )
|
||||
|
||||
17 ECMAScript Standard Built-in Objects
|
||||
|
||||
Every built-in function object, including constructors, that is not
|
||||
identified as an anonymous function has a name property whose value
|
||||
is a String. Unless otherwise specified, this value is the name that
|
||||
is given to the function in this specification. For functions that
|
||||
are specified as properties of objects, the name value is the
|
||||
property name string used to access the function. [...]
|
||||
|
||||
Unless otherwise specified, the name property of a built-in function
|
||||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
esid: sec-dataview.prototype.getbiguint64
|
||||
description: DataView.prototype.getBigUint64.name property descriptor
|
||||
includes: [propertyHelper.js]
|
||||
features: [DataView, ArrayBuffer, BigInt]
|
||||
---*/
|
||||
|
@ -2,21 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-dataview.prototype.getbigint64
|
||||
esid: sec-dataview.prototype.getbiguint64
|
||||
description: >
|
||||
Throws a RangeError if getIndex < 0
|
||||
info: |
|
||||
DataView.prototype.getBigInt64 ( byteOffset [ , littleEndian ] )
|
||||
|
||||
1. Let v be the this value.
|
||||
2. If littleEndian is not present, let littleEndian be undefined.
|
||||
3. Return ? GetViewValue(v, byteOffset, littleEndian, "Int64").
|
||||
|
||||
24.3.1.1 GetViewValue ( view, requestIndex, isLittleEndian, type )
|
||||
|
||||
...
|
||||
4. Let getIndex be ? ToIndex(requestIndex).
|
||||
...
|
||||
features: [DataView, ArrayBuffer, BigInt, arrow-function]
|
||||
---*/
|
||||
|
||||
|
@ -2,21 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-dataview.prototype.getbigint64
|
||||
esid: sec-dataview.prototype.getbiguint64
|
||||
description: >
|
||||
Return abrupt from ToNumber(symbol byteOffset)
|
||||
info: |
|
||||
DataView.prototype.getBigInt64 ( byteOffset [ , littleEndian ] )
|
||||
|
||||
1. Let v be the this value.
|
||||
2. If littleEndian is not present, let littleEndian be undefined.
|
||||
3. Return ? GetViewValue(v, byteOffset, littleEndian, "Int64").
|
||||
|
||||
24.3.1.1 GetViewValue ( view, requestIndex, isLittleEndian, type )
|
||||
|
||||
...
|
||||
4. Let getIndex be ? ToNumber(requestIndex).
|
||||
...
|
||||
features: [DataView, ArrayBuffer, Symbol, BigInt, arrow-function]
|
||||
---*/
|
||||
|
||||
|
@ -2,21 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-dataview.prototype.getbigint64
|
||||
esid: sec-dataview.prototype.getbiguint64
|
||||
description: >
|
||||
Return abrupt from ToNumber(byteOffset)
|
||||
info: |
|
||||
DataView.prototype.getBigInt64 ( byteOffset [ , littleEndian ] )
|
||||
|
||||
1. Let v be the this value.
|
||||
2. If littleEndian is not present, let littleEndian be undefined.
|
||||
3. Return ? GetViewValue(v, byteOffset, littleEndian, "Int64").
|
||||
|
||||
24.3.1.1 GetViewValue ( view, requestIndex, isLittleEndian, type )
|
||||
|
||||
...
|
||||
4. Let getIndex be ? ToNumber(requestIndex).
|
||||
...
|
||||
features: [DataView, ArrayBuffer, BigInt, arrow-function]
|
||||
---*/
|
||||
|
||||
|
@ -2,34 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-dataview.prototype.getbigint64
|
||||
esid: sec-dataview.prototype.getbiguint64
|
||||
description: >
|
||||
Return value from Buffer using a clean ArrayBuffer
|
||||
info: |
|
||||
DataView.prototype.getBigInt64 ( byteOffset [ , littleEndian ] )
|
||||
|
||||
1. Let v be the this value.
|
||||
2. If littleEndian is not present, let littleEndian be undefined.
|
||||
3. Return ? GetViewValue(v, byteOffset, littleEndian, "Int64").
|
||||
|
||||
24.3.1.1 GetViewValue ( view, requestIndex, isLittleEndian, type )
|
||||
|
||||
...
|
||||
12. Let bufferIndex be getIndex + viewOffset.
|
||||
13. Return GetValueFromBuffer(buffer, bufferIndex, type, false,
|
||||
"Unordered", isLittleEndian).
|
||||
|
||||
24.1.1.6 GetValueFromBuffer ( arrayBuffer, byteIndex, type,
|
||||
isTypedArray, order [ , isLittleEndian ] )
|
||||
|
||||
...
|
||||
9. Return RawBytesToNumber(type, rawValue, isLittleEndian).
|
||||
|
||||
24.1.1.5 RawBytesToNumber( type, rawBytes, isLittleEndian )
|
||||
|
||||
...
|
||||
2. If isLittleEndian is false, reverse the order of the elements of rawBytes.
|
||||
...
|
||||
features: [DataView, ArrayBuffer, BigInt]
|
||||
---*/
|
||||
|
||||
|
@ -2,34 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-dataview.prototype.getbigint64
|
||||
esid: sec-dataview.prototype.getbiguint64
|
||||
description: >
|
||||
Return values from Buffer using a custom offset
|
||||
info: |
|
||||
DataView.prototype.getBigInt64 ( byteOffset [ , littleEndian ] )
|
||||
|
||||
1. Let v be the this value.
|
||||
2. If littleEndian is not present, let littleEndian be undefined.
|
||||
3. Return ? GetViewValue(v, byteOffset, littleEndian, "Int64").
|
||||
|
||||
24.3.1.1 GetViewValue ( view, requestIndex, isLittleEndian, type )
|
||||
|
||||
...
|
||||
12. Let bufferIndex be getIndex + viewOffset.
|
||||
13. Return GetValueFromBuffer(buffer, bufferIndex, type, false,
|
||||
"Unordered", isLittleEndian).
|
||||
|
||||
24.1.1.6 GetValueFromBuffer ( arrayBuffer, byteIndex, type,
|
||||
isTypedArray, order [ , isLittleEndian ] )
|
||||
|
||||
...
|
||||
9. Return RawBytesToNumber(type, rawValue, isLittleEndian).
|
||||
|
||||
24.1.1.5 RawBytesToNumber( type, rawBytes, isLittleEndian )
|
||||
|
||||
...
|
||||
2. If isLittleEndian is false, reverse the order of the elements of rawBytes.
|
||||
...
|
||||
features: [DataView, ArrayBuffer, DataView.prototype.setUint8, BigInt]
|
||||
---*/
|
||||
|
||||
|
@ -2,29 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-dataview.prototype.getbigint64
|
||||
esid: sec-dataview.prototype.getbiguint64
|
||||
description: >
|
||||
Return values from Buffer
|
||||
info: |
|
||||
DataView.prototype.getBigInt64 ( byteOffset [ , littleEndian ] )
|
||||
|
||||
1. Let v be the this value.
|
||||
2. If littleEndian is not present, let littleEndian be undefined.
|
||||
3. Return ? GetViewValue(v, byteOffset, littleEndian, "Int64").
|
||||
|
||||
24.3.1.1 GetViewValue ( view, requestIndex, isLittleEndian, type )
|
||||
|
||||
...
|
||||
14. Let bufferIndex be getIndex + viewOffset.
|
||||
15. Return GetValueFromBuffer(buffer, bufferIndex, type, isLittleEndian).
|
||||
...
|
||||
|
||||
24.1.1.6 GetValueFromBuffer ( arrayBuffer, byteIndex, type [ , isLittleEndian
|
||||
] )
|
||||
|
||||
...
|
||||
8. If isLittleEndian is false, reverse the order of the elements of rawValue.
|
||||
...
|
||||
features: [DataView, ArrayBuffer, DataView.prototype.setUint8, BigInt]
|
||||
---*/
|
||||
|
||||
|
@ -2,22 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-dataview.prototype.getbigint64
|
||||
esid: sec-dataview.prototype.getbiguint64
|
||||
description: >
|
||||
Throws a TypeError if this does not have a [[DataView]] internal slot
|
||||
info: |
|
||||
DataView.prototype.getBigInt64 ( byteOffset [ , littleEndian ] )
|
||||
|
||||
1. Let v be the this value.
|
||||
2. If littleEndian is not present, let littleEndian be undefined.
|
||||
3. Return ? GetViewValue(v, byteOffset, littleEndian, "Int64").
|
||||
|
||||
24.3.1.1 GetViewValue ( view, requestIndex, isLittleEndian, type )
|
||||
|
||||
1. If Type(view) is not Object, throw a TypeError exception.
|
||||
2. If view does not have a [[DataView]] internal slot, throw a TypeError
|
||||
exception.
|
||||
...
|
||||
features: [DataView, ArrayBuffer, Int8Array, BigInt, arrow-function]
|
||||
---*/
|
||||
|
||||
|
@ -2,19 +2,8 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-dataview.prototype.getbigint64
|
||||
esid: sec-dataview.prototype.getbiguint64
|
||||
description: Throws a TypeError if this is not Object
|
||||
info: |
|
||||
DataView.prototype.getBigInt64 ( byteOffset [ , littleEndian ] )
|
||||
|
||||
1. Let v be the this value.
|
||||
2. If littleEndian is not present, let littleEndian be undefined.
|
||||
3. Return ? GetViewValue(v, byteOffset, littleEndian, "Int64").
|
||||
|
||||
24.3.1.1 GetViewValue ( view, requestIndex, isLittleEndian, type )
|
||||
|
||||
1. If Type(view) is not Object, throw a TypeError exception.
|
||||
...
|
||||
features: [DataView, ArrayBuffer, Symbol, BigInt, arrow-function]
|
||||
---*/
|
||||
|
||||
|
@ -2,36 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-dataview.prototype.getbigint64
|
||||
esid: sec-dataview.prototype.getbiguint64
|
||||
description: >
|
||||
Boolean littleEndian argument coerced in ToBoolean
|
||||
info: |
|
||||
DataView.prototype.getBigInt64 ( byteOffset [ , littleEndian ] )
|
||||
|
||||
1. Let v be the this value.
|
||||
2. If littleEndian is not present, let littleEndian be undefined.
|
||||
3. Return ? GetViewValue(v, byteOffset, littleEndian, "Int64").
|
||||
|
||||
24.3.1.1 GetViewValue ( view, requestIndex, isLittleEndian, type )
|
||||
|
||||
...
|
||||
5. Set isLittleEndian to ToBoolean(isLittleEndian).
|
||||
...
|
||||
12. Let bufferIndex be getIndex + viewOffset.
|
||||
13. Return GetValueFromBuffer(buffer, bufferIndex, type, false,
|
||||
"Unordered", isLittleEndian).
|
||||
|
||||
24.1.1.6 GetValueFromBuffer ( arrayBuffer, byteIndex, type,
|
||||
isTypedArray, order [ , isLittleEndian ] )
|
||||
|
||||
...
|
||||
9. Return RawBytesToNumber(type, rawValue, isLittleEndian).
|
||||
|
||||
24.1.1.5 RawBytesToNumber( type, rawBytes, isLittleEndian )
|
||||
|
||||
...
|
||||
2. If isLittleEndian is false, reverse the order of the elements of rawBytes.
|
||||
...
|
||||
includes: [typeCoercion.js]
|
||||
features: [DataView, ArrayBuffer, DataView.prototype.setUint8, BigInt, Symbol, Symbol.toPrimitive]
|
||||
---*/
|
||||
|
@ -2,21 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-dataview.prototype.getbigint64
|
||||
esid: sec-dataview.prototype.getbiguint64
|
||||
description: >
|
||||
ToIndex conversions on byteOffset
|
||||
info: |
|
||||
DataView.prototype.getBigInt64 ( byteOffset [ , littleEndian ] )
|
||||
|
||||
1. Let v be the this value.
|
||||
2. If littleEndian is not present, let littleEndian be undefined.
|
||||
3. Return ? GetViewValue(v, byteOffset, littleEndian, "Int64").
|
||||
|
||||
24.3.1.1 GetViewValue ( view, requestIndex, isLittleEndian, type )
|
||||
|
||||
...
|
||||
4. Let getIndex be ? ToIndex(requestIndex).
|
||||
...
|
||||
includes: [typeCoercion.js]
|
||||
features: [DataView, ArrayBuffer, DataView.prototype.setUint8, BigInt, Symbol, Symbol.toPrimitive]
|
||||
---*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user