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