mirror of https://github.com/tc39/test262.git
add esid to array/prototype/copyWithin (#1100)
This commit is contained in:
parent
69d85e2622
commit
6443c43532
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
end argument is coerced to an integer values.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
start argument is coerced to an integer value.
|
||||
|
@ -77,4 +78,4 @@ assert(
|
|||
[1, 2, 3, 3]
|
||||
),
|
||||
'1.5 float value coerced to integer 1'
|
||||
);
|
||||
);
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
target argument is coerced to an integer value.
|
||||
|
@ -77,4 +78,4 @@ assert(
|
|||
[0, 0, 1, 2]
|
||||
),
|
||||
'1.5 float value coerced to integer 1'
|
||||
);
|
||||
);
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Loop from each property, even empty holes.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: Array.prototype.copyWithin.length value and descriptor.
|
||||
info: >
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Array.prototype.copyWithin.name value and descriptor.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Set values with negative end argument.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Set values with negative out of bounds end argument.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Set values with out of bounds negative start argument.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Set values with out of bounds negative target argument.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Set values with negative start argument.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Set values with negative target argument.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Max value of end position is the this.length.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Max values of target and start positions are this.length.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Copy values with non-negative target and start positions.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Copy values with non-negative target, start and end positions.
|
||||
|
@ -82,4 +83,4 @@ assert(
|
|||
[0, 3, 4, 3, 4, 5]
|
||||
),
|
||||
'[0, 1, 2, 3, 4, 5].copyWithin(1, 3, 5) -> [0, 3, 4, 3, 4, 5]'
|
||||
);
|
||||
);
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: Property type and descriptor.
|
||||
info: >
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Return abrupt from deleting property value - using Proxy
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Return abrupt from deleting property value on DeletePropertyOrThrow(O, toKey).
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Return abrupt from end as a Symbol.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Return abrupt from ToInteger(end).
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Return abrupt from getting property value - Get(O, fromKey).
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Return abrupt from HasProperty(O, fromKey).
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Return abrupt from setting property value - Set(O, toKey, fromVal, true).
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Return abrupt from start as a Symbol.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Return abrupt from ToInteger(start).
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Return abrupt from target as a Symbol.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Return abrupt from ToInteger(target).
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Return abrupt from ToLength(Get(O, "length")) where length is a Symbol.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Return abrupt from ToLength(Get(O, "length")).
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Return abrupt from ToObject(this value).
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
Returns `this`.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype.copywithin
|
||||
es6id: 22.1.3.3
|
||||
description: >
|
||||
If `end` is undefined, set final position to `this.length`.
|
||||
|
|
Loading…
Reference in New Issue