mirror of
https://github.com/tc39/test262.git
synced 2025-07-22 05:24:38 +02:00
update Array/From files ESID to sec-array.from (#1077)
This commit is contained in:
parent
c74e1e4edf
commit
b07621ded1
@ -5,6 +5,7 @@
|
|||||||
description: Testing descriptor property of Array.from
|
description: Testing descriptor property of Array.from
|
||||||
includes:
|
includes:
|
||||||
- propertyHelper.js
|
- propertyHelper.js
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright 2015 Microsoft Corporation. All rights reserved.
|
// Copyright 2015 Microsoft Corporation. All rights reserved.
|
||||||
// This code is governed by the license found in the LICENSE file.
|
// This code is governed by the license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: '`name` property'
|
description: '`name` property'
|
||||||
info: >
|
info: >
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: >
|
description: >
|
||||||
The length property of the Array.from method is 1.
|
The length property of the Array.from method is 1.
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: >
|
description: >
|
||||||
If this is a constructor, and items doesn't have an @@iterator,
|
If this is a constructor, and items doesn't have an @@iterator,
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright 2015 Microsoft Corporation. All rights reserved.
|
// Copyright 2015 Microsoft Corporation. All rights reserved.
|
||||||
// This code is governed by the license found in the LICENSE file.
|
// This code is governed by the license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Map function without thisArg on non strict mode
|
description: Map function without thisArg on non strict mode
|
||||||
info: >
|
info: >
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright 2015 Microsoft Corporation. All rights reserved.
|
// Copyright 2015 Microsoft Corporation. All rights reserved.
|
||||||
// This code is governed by the license found in the LICENSE file.
|
// This code is governed by the license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Map function without thisArg on strict mode
|
description: Map function without thisArg on strict mode
|
||||||
info: >
|
info: >
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// This code is governed by the license found in the LICENSE file.
|
// This code is governed by the license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Calling from with a valid map function with thisArg
|
description: Calling from with a valid map function with thisArg
|
||||||
info: >
|
info: >
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
description: Elements added after the call to from
|
description: Elements added after the call to from
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
description: >
|
description: >
|
||||||
Elements deleted after the call started and before visited are not
|
Elements deleted after the call started and before visited are not
|
||||||
visited
|
visited
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
description: Elements are updated after the call to from
|
description: Elements are updated after the call to from
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
description: Passing a valid array
|
description: Passing a valid array
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
es6id: 22.1.2.1_T1
|
esid: sec-array.from
|
||||||
|
es6id: 22.1.2.1
|
||||||
description: Testing Array.from when passed a String
|
description: Testing Array.from when passed a String
|
||||||
author: Hank Yates (hankyates@gmail.com)
|
author: Hank Yates (hankyates@gmail.com)
|
||||||
---*/
|
---*/
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Error accessing items' `Symbol.iterator` attribute
|
description: Error accessing items' `Symbol.iterator` attribute
|
||||||
info: >
|
info: >
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright 2015 Leonardo Balter. All rights reserved.
|
// Copyright 2015 Leonardo Balter. All rights reserved.
|
||||||
// This code is governed by the license found in the LICENSE file.
|
// This code is governed by the license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Return empty array if items argument is an ArrayBuffer
|
description: Return empty array if items argument is an ArrayBuffer
|
||||||
info: >
|
info: >
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright 2015 Leonardo Balter. All rights reserved.
|
// Copyright 2015 Leonardo Balter. All rights reserved.
|
||||||
// This code is governed by the license found in the LICENSE file.
|
// This code is governed by the license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Throws a TypeError if items argument is null
|
description: Throws a TypeError if items argument is null
|
||||||
info: >
|
info: >
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Error advancing iterator
|
description: Error advancing iterator
|
||||||
info: >
|
info: >
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: >
|
description: >
|
||||||
Error creating object with custom constructor (traversed via iterator)
|
Error creating object with custom constructor (traversed via iterator)
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Creating object with custom constructor (traversed via iterator)
|
description: Creating object with custom constructor (traversed via iterator)
|
||||||
info: >
|
info: >
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Error creating iterator object
|
description: Error creating iterator object
|
||||||
info: >
|
info: >
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Error retrieving value of iterator result
|
description: Error retrieving value of iterator result
|
||||||
info: >
|
info: >
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: >
|
description: >
|
||||||
Arguments of mapping function (traversed via iterator)
|
Arguments of mapping function (traversed via iterator)
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Error invoking map function (traversed via iterator)
|
description: Error invoking map function (traversed via iterator)
|
||||||
info: >
|
info: >
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Value returned by mapping function (traversed via iterator)
|
description: Value returned by mapping function (traversed via iterator)
|
||||||
info: >
|
info: >
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: >
|
description: >
|
||||||
`this` value of mapping function with custom `this` argument (traversed via iterator)
|
`this` value of mapping function with custom `this` argument (traversed via iterator)
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: >
|
description: >
|
||||||
`this` value of mapping function in non-strict mode (traversed via iterator)
|
`this` value of mapping function in non-strict mode (traversed via iterator)
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: >
|
description: >
|
||||||
`this` value of mapping function in strict mode (traversed via iterator)
|
`this` value of mapping function in strict mode (traversed via iterator)
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Error setting property on result value (traversed via iterator)
|
description: Error setting property on result value (traversed via iterator)
|
||||||
info: >
|
info: >
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Setting property on result value (traversed via iterator)
|
description: Setting property on result value (traversed via iterator)
|
||||||
info: >
|
info: >
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Error setting length of object (traversed via iterator)
|
description: Error setting length of object (traversed via iterator)
|
||||||
info: >
|
info: >
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Setting length of object (traversed via iterator)
|
description: Setting length of object (traversed via iterator)
|
||||||
info: >
|
info: >
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright 2015 Leonardo Balter. All rights reserved.
|
// Copyright 2015 Leonardo Balter. All rights reserved.
|
||||||
// This code is governed by the license found in the LICENSE file.
|
// This code is governed by the license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Throws a TypeError if mapFn is not callable
|
description: Throws a TypeError if mapFn is not callable
|
||||||
info: >
|
info: >
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright 2015 Leonardo Balter. All rights reserved.
|
// Copyright 2015 Leonardo Balter. All rights reserved.
|
||||||
// This code is governed by the license found in the LICENSE file.
|
// This code is governed by the license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Throws a TypeError if mapFn is not callable (Symbol)
|
description: Throws a TypeError if mapFn is not callable (Symbol)
|
||||||
info: >
|
info: >
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
description: mapFn throws an exception
|
description: mapFn throws an exception
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
description: Source array with boundary values
|
description: Source array with boundary values
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: >
|
description: >
|
||||||
Array.from uses a constructor other than Array.
|
Array.from uses a constructor other than Array.
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
description: Source object has iterator which throws
|
description: Source object has iterator which throws
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
description: Source object has iterator
|
description: Source object has iterator
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
description: >
|
description: >
|
||||||
Source is an object with length property and one item is deleted
|
Source is an object with length property and one item is deleted
|
||||||
from the source
|
from the source
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
description: Source is an object with missing values
|
description: Source is an object with missing values
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
description: Source is an object without length property
|
description: Source is an object without length property
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright 2015 Leonardo Balter. All rights reserved.
|
// Copyright 2015 Leonardo Balter. All rights reserved.
|
||||||
// This code is governed by the license found in the LICENSE file.
|
// This code is governed by the license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.from
|
||||||
es6id: 22.1.2.1
|
es6id: 22.1.2.1
|
||||||
description: Does not throw if this is null
|
description: Does not throw if this is null
|
||||||
---*/
|
---*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user