mirror of https://github.com/tc39/test262.git
add esid to ArrayBuffer/prototype/slice tests
This commit is contained in:
parent
c2195a0aa1
commit
77297f2a90
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
Throws a TypeError if `this` does not have an [[ArrayBufferData]] internal slot.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
Throws a TypeError if `this` is not an Object.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
ArrayBuffer.prototype.slice has default data property attributes.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
The `end` index defaults to [[ArrayBufferByteLength]] if absent.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
The `end` index defaults to [[ArrayBufferByteLength]] if undefined.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
Large `end` index is clamped to [[ArrayBufferByteLength]].
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
ArrayBuffer.prototype.slice is extensible.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
ArrayBuffer.prototype.slice.length is 2.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
ArrayBuffer.prototype.slice.name is "slice".
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
Negative `end` index is relative to [[ArrayBufferByteLength]].
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
Negative `start` index is relative to [[ArrayBufferByteLength]].
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
ArrayBuffer.prototype.slice is not a constructor function.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
ToInteger(start) is called before ToInteger(end).
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
Throws TypeError if `constructor` property is not an object.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
Uses default constructor is `constructor` property is undefined.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
Throws a TypeError if species constructor is not a constructor function.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
Throws a TypeError if species constructor is not an object.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
Uses default constructor is species constructor is null.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
Uses default constructor is species constructor is undefined.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
Does not throw TypeError if new ArrayBuffer is too large.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
Throws a TypeError if new object is not an ArrayBuffer instance.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
Throws a TypeError if species constructor returns `this` value.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
Throws a TypeError if new ArrayBuffer is too small.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
New ArrayBuffer instance is created from SpeciesConstructor.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
The `start` index defaults to 0 if absent.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
The `start` index defaults to 0 if undefined.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
Returns zero-length buffer if `start` index exceeds `end` index.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
Large `start` index is clamped to [[ArrayBufferByteLength]].
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
The `end` index parameter is converted to an integral numeric value.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-arraybuffer.prototype.slice
|
||||
es6id: 24.1.4.3
|
||||
description: >
|
||||
The `start` index parameter is converted to an integral numeric value.
|
||||
|
|
Loading…
Reference in New Issue