update Array/From files ESID to sec-array.from (#1077)

This commit is contained in:
Sue Lockwood 2017-06-27 14:12:06 -07:00 committed by Leo Balter
parent c74e1e4edf
commit b07621ded1
41 changed files with 578 additions and 537 deletions

View File

@ -5,6 +5,7 @@
description: Testing descriptor property of Array.from
includes:
- propertyHelper.js
esid: sec-array.from
es6id: 22.1.2.1
---*/

View File

@ -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: >

View File

@ -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.

View File

@ -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,

View File

@ -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: >

View File

@ -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: >

View File

@ -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: >

View File

@ -3,6 +3,7 @@
/*---
description: Elements added after the call to from
esid: sec-array.from
es6id: 22.1.2.1
---*/

View File

@ -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
---*/

View File

@ -3,6 +3,7 @@
/*---
description: Elements are updated after the call to from
esid: sec-array.from
es6id: 22.1.2.1
---*/

View File

@ -3,6 +3,7 @@
/*---
description: Passing a valid array
esid: sec-array.from
es6id: 22.1.2.1
---*/

View File

@ -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)
---*/

View File

@ -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: >

View File

@ -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: >

View File

@ -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: >

View File

@ -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: >

View File

@ -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)

View File

@ -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: >

View File

@ -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: >

View File

@ -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: >

View File

@ -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)

View File

@ -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: >

View File

@ -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: >

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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: >

View File

@ -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: >

View File

@ -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: >

View File

@ -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: >

View File

@ -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: >

View File

@ -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: >

View File

@ -3,6 +3,7 @@
/*---
description: mapFn throws an exception
esid: sec-array.from
es6id: 22.1.2.1
---*/

View File

@ -3,6 +3,7 @@
/*---
description: Source array with boundary values
esid: sec-array.from
es6id: 22.1.2.1
---*/

View File

@ -4,6 +4,7 @@
/*---
description: >
Array.from uses a constructor other than Array.
esid: sec-array.from
es6id: 22.1.2.1
---*/

View File

@ -3,6 +3,7 @@
/*---
description: Source object has iterator which throws
esid: sec-array.from
es6id: 22.1.2.1
---*/

View File

@ -3,6 +3,7 @@
/*---
description: Source object has iterator
esid: sec-array.from
es6id: 22.1.2.1
---*/

View File

@ -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
---*/

View File

@ -3,6 +3,7 @@
/*---
description: Source is an object with missing values
esid: sec-array.from
es6id: 22.1.2.1
---*/

View File

@ -3,6 +3,7 @@
/*---
description: Source is an object without length property
esid: sec-array.from
es6id: 22.1.2.1
---*/

View File

@ -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
---*/