add esid to array/prototype/map tests (#1114)

This commit is contained in:
Sue Lockwood 2017-06-30 07:42:44 -07:00 committed by Leo Balter
parent d22b84173e
commit a6a3cf74c4
190 changed files with 203 additions and 13 deletions

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-1-1 es5id: 15.4.4.19-1-1
description: Array.prototype.map - applied to undefined description: Array.prototype.map - applied to undefined
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-1-10 es5id: 15.4.4.19-1-10
description: Array.prototype.map - applied to the Math object description: Array.prototype.map - applied to the Math object
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-1-11 es5id: 15.4.4.19-1-11
description: Array.prototype.map - applied to Date object description: Array.prototype.map - applied to Date object
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-1-12 es5id: 15.4.4.19-1-12
description: Array.prototype.map - applied to RegExp object description: Array.prototype.map - applied to RegExp object
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-1-13 es5id: 15.4.4.19-1-13
description: Array.prototype.map - applied to the JSON object description: Array.prototype.map - applied to the JSON object
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-1-14 es5id: 15.4.4.19-1-14
description: Array.prototype.map - applied to Error object description: Array.prototype.map - applied to Error object
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-1-15 es5id: 15.4.4.19-1-15
description: Array.prototype.map - applied to the Arguments object description: Array.prototype.map - applied to the Arguments object
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-1-2 es5id: 15.4.4.19-1-2
description: Array.prototype.map - applied to null description: Array.prototype.map - applied to null
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-1-3 es5id: 15.4.4.19-1-3
description: Array.prototype.map - applied to boolean primitive description: Array.prototype.map - applied to boolean primitive
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-1-4 es5id: 15.4.4.19-1-4
description: Array.prototype.map - applied to Boolean object description: Array.prototype.map - applied to Boolean object
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-1-5 es5id: 15.4.4.19-1-5
description: Array.prototype.map - applied to number primitive description: Array.prototype.map - applied to number primitive
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-1-6 es5id: 15.4.4.19-1-6
description: Array.prototype.map - applied to Number object description: Array.prototype.map - applied to Number object
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-1-7 es5id: 15.4.4.19-1-7
description: Array.prototype.map - applied to string primitive description: Array.prototype.map - applied to string primitive
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-1-8 es5id: 15.4.4.19-1-8
description: Array.prototype.map - applied to String object description: Array.prototype.map - applied to String object
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-1-9 es5id: 15.4.4.19-1-9
description: Array.prototype.map - applied to Function object description: Array.prototype.map - applied to Function object
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-2-1 es5id: 15.4.4.19-2-1
description: > description: >
Array.prototype.map - applied to Array-like object when 'length' Array.prototype.map - applied to Array-like object when 'length'

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-2-10 es5id: 15.4.4.19-2-10
description: > description: >
Array.prototype.map - applied to Array-like object, 'length' is an Array.prototype.map - applied to Array-like object, 'length' is an

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-2-11 es5id: 15.4.4.19-2-11
description: > description: >
Array.prototype.map - applied to Array-like object when 'length' Array.prototype.map - applied to Array-like object when 'length'

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-2-12 es5id: 15.4.4.19-2-12
description: > description: >
Array.prototype.map - applied to the Array-like object when Array.prototype.map - applied to the Array-like object when

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-2-13 es5id: 15.4.4.19-2-13
description: > description: >
Array.prototype.map - applied to the Array-like object when Array.prototype.map - applied to the Array-like object when

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-2-14 es5id: 15.4.4.19-2-14
description: > description: >
Array.prototype.map - applied to the Array-like object that Array.prototype.map - applied to the Array-like object that

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-2-17 es5id: 15.4.4.19-2-17
description: > description: >
Array.prototype.map - applied to Arguments object, which Array.prototype.map - applied to Arguments object, which

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-2-18 es5id: 15.4.4.19-2-18
description: > description: >
Array.prototype.map - applied to String object, which implements Array.prototype.map - applied to String object, which implements

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-2-19 es5id: 15.4.4.19-2-19
description: > description: >
Array.prototype.map - applied to Function object, which implements Array.prototype.map - applied to Function object, which implements

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-2-2 es5id: 15.4.4.19-2-2
description: > description: >
Array.prototype.map - when 'length' is own data property on an Array.prototype.map - when 'length' is own data property on an

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-2-3 es5id: 15.4.4.19-2-3
description: > description: >
Array.prototype.map - applied to Array-like object, 'length' is an Array.prototype.map - applied to Array-like object, 'length' is an

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-2-4 es5id: 15.4.4.19-2-4
description: > description: >
Array.prototype.map - when 'length' is own data property that Array.prototype.map - when 'length' is own data property that

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-2-5 es5id: 15.4.4.19-2-5
description: > description: >
Array.prototype.map - applied to Array-like object, 'length' is an Array.prototype.map - applied to Array-like object, 'length' is an

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-2-6 es5id: 15.4.4.19-2-6
description: > description: >
Array.prototype.map - applied to Array-like object, 'length' is an Array.prototype.map - applied to Array-like object, 'length' is an

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-2-7 es5id: 15.4.4.19-2-7
description: > description: >
Array.prototype.map - applied to Array-like object, 'length' is an Array.prototype.map - applied to Array-like object, 'length' is an

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-2-8 es5id: 15.4.4.19-2-8
description: > description: >
Array.prototype.map - applied to Array-like object, 'length' is an Array.prototype.map - applied to Array-like object, 'length' is an

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-2-9 es5id: 15.4.4.19-2-9
description: > description: >
Array.prototype.map - applied to Array-like object when 'length' Array.prototype.map - applied to Array-like object when 'length'

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-1 es5id: 15.4.4.19-3-1
description: Array.prototype.map - value of 'length' is undefined description: Array.prototype.map - value of 'length' is undefined
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-10 es5id: 15.4.4.19-3-10
description: Array.prototype.map - value of 'length' is a number (value is NaN) description: Array.prototype.map - value of 'length' is a number (value is NaN)
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-11 es5id: 15.4.4.19-3-11
description: > description: >
Array.prototype.map - 'length' is a string containing a positive Array.prototype.map - 'length' is a string containing a positive

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-12 es5id: 15.4.4.19-3-12
description: > description: >
Array.prototype.map - 'length' is a string containing a negative Array.prototype.map - 'length' is a string containing a negative

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-13 es5id: 15.4.4.19-3-13
description: > description: >
Array.prototype.map - value of 'length' is string that is able to Array.prototype.map - value of 'length' is string that is able to

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-14 es5id: 15.4.4.19-3-14
description: Array.prototype.map - 'length' is a string containing Infinity description: Array.prototype.map - 'length' is a string containing Infinity
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-15 es5id: 15.4.4.19-3-15
description: > description: >
Array.prototype.map - 'length' is a string containing an Array.prototype.map - 'length' is a string containing an

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-16 es5id: 15.4.4.19-3-16
description: Array.prototype.map - 'length' is a string containing a hex number description: Array.prototype.map - 'length' is a string containing a hex number
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-17 es5id: 15.4.4.19-3-17
description: > description: >
Array.prototype.map - when 'length' is a string containing a Array.prototype.map - when 'length' is a string containing a

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-18 es5id: 15.4.4.19-3-18
description: > description: >
Array.prototype.map - value of 'length' is a string that can't Array.prototype.map - value of 'length' is a string that can't

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-19 es5id: 15.4.4.19-3-19
description: > description: >
Array.prototype.map - value of 'length' is an Object which has an Array.prototype.map - value of 'length' is an Object which has an

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-2 es5id: 15.4.4.19-3-2
description: > description: >
Array.prototype.map on an Array-like object if 'length' is 1 Array.prototype.map on an Array-like object if 'length' is 1

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-20 es5id: 15.4.4.19-3-20
description: > description: >
Array.prototype.map - value of 'length' is an Object which has an Array.prototype.map - value of 'length' is an Object which has an

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-21 es5id: 15.4.4.19-3-21
description: > description: >
Array.prototype.map - 'length' is an object that has an own Array.prototype.map - 'length' is an object that has an own

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-22 es5id: 15.4.4.19-3-22
description: > description: >
Array.prototype.map throws TypeError exception when 'length' is an Array.prototype.map throws TypeError exception when 'length' is an

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-23 es5id: 15.4.4.19-3-23
description: > description: >
Array.prototype.map uses inherited valueOf method when 'length' is Array.prototype.map uses inherited valueOf method when 'length' is

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-24 es5id: 15.4.4.19-3-24
description: > description: >
Array.prototype.map - value of 'length' is a positive non-integer, Array.prototype.map - value of 'length' is a positive non-integer,

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-25 es5id: 15.4.4.19-3-25
description: Array.prototype.map - value of 'length' is a negative non-integer description: Array.prototype.map - value of 'length' is a negative non-integer
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-28 es5id: 15.4.4.19-3-28
description: Array.prototype.map - value of 'length' is boundary value (2^32) description: Array.prototype.map - value of 'length' is boundary value (2^32)
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-29 es5id: 15.4.4.19-3-29
description: > description: >
Array.prototype.map - value of 'length' is boundary value (2^32 + Array.prototype.map - value of 'length' is boundary value (2^32 +

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-3 es5id: 15.4.4.19-3-3
description: Array.prototype.map - value of 'length' is a number (value is 0) description: Array.prototype.map - value of 'length' is a number (value is 0)
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-4 es5id: 15.4.4.19-3-4
description: Array.prototype.map - value of 'length' is a number (value is +0) description: Array.prototype.map - value of 'length' is a number (value is +0)
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-5 es5id: 15.4.4.19-3-5
description: Array.prototype.map - value of 'length' is a number (value is -0) description: Array.prototype.map - value of 'length' is a number (value is -0)
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-6 es5id: 15.4.4.19-3-6
description: > description: >
Array.prototype.map - 'length' is a string containing a positive Array.prototype.map - 'length' is a string containing a positive

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-7 es5id: 15.4.4.19-3-7
description: > description: >
Array.prototype.map - 'length' is a string containing a negative Array.prototype.map - 'length' is a string containing a negative

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-8 es5id: 15.4.4.19-3-8
description: > description: >
Array.prototype.map - value of 'length' is a number (value is Array.prototype.map - value of 'length' is a number (value is

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-3-9 es5id: 15.4.4.19-3-9
description: > description: >
Array.prototype.map - value of 'length' is a number (value is Array.prototype.map - value of 'length' is a number (value is

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-4-1 es5id: 15.4.4.19-4-1
description: Array.prototype.map throws TypeError if callbackfn is undefined description: Array.prototype.map throws TypeError if callbackfn is undefined
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-4-10 es5id: 15.4.4.19-4-10
description: > description: >
Array.prototype.map - the exception is not thrown if exception was Array.prototype.map - the exception is not thrown if exception was

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-4-11 es5id: 15.4.4.19-4-11
description: > description: >
Array.prototype.map - the exception is not thrown if exception was Array.prototype.map - the exception is not thrown if exception was

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-4-12 es5id: 15.4.4.19-4-12
description: Array.prototype.map - 'callbackfn' is a function description: Array.prototype.map - 'callbackfn' is a function
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-4-15 es5id: 15.4.4.19-4-15
description: > description: >
Array.prototype.map - calling with no callbackfn is the same as Array.prototype.map - calling with no callbackfn is the same as

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-4-2 es5id: 15.4.4.19-4-2
description: > description: >
Array.prototype.map throws ReferenceError if callbackfn is Array.prototype.map throws ReferenceError if callbackfn is

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-4-3 es5id: 15.4.4.19-4-3
description: Array.prototype.map throws TypeError if callbackfn is null description: Array.prototype.map throws TypeError if callbackfn is null
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-4-4 es5id: 15.4.4.19-4-4
description: Array.prototype.map throws TypeError if callbackfn is boolean description: Array.prototype.map throws TypeError if callbackfn is boolean
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-4-5 es5id: 15.4.4.19-4-5
description: Array.prototype.map throws TypeError if callbackfn is number description: Array.prototype.map throws TypeError if callbackfn is number
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-4-6 es5id: 15.4.4.19-4-6
description: Array.prototype.map throws TypeError if callbackfn is string description: Array.prototype.map throws TypeError if callbackfn is string
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-4-7 es5id: 15.4.4.19-4-7
description: > description: >
Array.prototype.map throws TypeError if callbackfn is Object Array.prototype.map throws TypeError if callbackfn is Object

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-4-8 es5id: 15.4.4.19-4-8
description: > description: >
Array.prototype.map - Side effects produced by step 2 are visible Array.prototype.map - Side effects produced by step 2 are visible

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-4-9 es5id: 15.4.4.19-4-9
description: > description: >
Array.prototype.map - Side effects produced by step 3 are visible Array.prototype.map - Side effects produced by step 3 are visible

View File

@ -2,13 +2,14 @@
// 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.prototype.map
es5id: 15.4.4.19-5-1-s es5id: 15.4.4.19-5-1-s
description: Array.prototype.map - thisArg not passed to strict callbackfn description: Array.prototype.map - thisArg not passed to strict callbackfn
flags: [noStrict] flags: [noStrict]
---*/ ---*/
var innerThisCorrect = false; var innerThisCorrect = false;
function callbackfn(val, idx, obj) { function callbackfn(val, idx, obj) {
"use strict"; "use strict";
innerThisCorrect = this===undefined; innerThisCorrect = this===undefined;

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-1 es5id: 15.4.4.19-5-1
description: Array.prototype.map - thisArg not passed description: Array.prototype.map - thisArg not passed
flags: [noStrict] flags: [noStrict]
@ -11,7 +12,7 @@ flags: [noStrict]
(function() { (function() {
var _15_4_4_19_5_1 = false; var _15_4_4_19_5_1 = false;
function callbackfn(val, idx, obj) { function callbackfn(val, idx, obj) {
return this._15_4_4_19_5_1; return this._15_4_4_19_5_1;
} }

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-10 es5id: 15.4.4.19-5-10
description: Array.prototype.map - Array object can be used as thisArg description: Array.prototype.map - Array object can be used as thisArg
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-11 es5id: 15.4.4.19-5-11
description: Array.prototype.map - String object can be used as thisArg description: Array.prototype.map - String object can be used as thisArg
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-12 es5id: 15.4.4.19-5-12
description: Array.prototype.map - Boolean object can be used as thisArg description: Array.prototype.map - Boolean object can be used as thisArg
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-13 es5id: 15.4.4.19-5-13
description: Array.prototype.map - Number object can be used as thisArg description: Array.prototype.map - Number object can be used as thisArg
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-14 es5id: 15.4.4.19-5-14
description: Array.prototype.map - the Math object can be used as thisArg description: Array.prototype.map - the Math object can be used as thisArg
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-15 es5id: 15.4.4.19-5-15
description: Array.prototype.map - Date object can be used as thisArg description: Array.prototype.map - Date object can be used as thisArg
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-16 es5id: 15.4.4.19-5-16
description: Array.prototype.map - RegExp object can be used as thisArg description: Array.prototype.map - RegExp object can be used as thisArg
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-17 es5id: 15.4.4.19-5-17
description: Array.prototype.map - the JSON object can be used as thisArg description: Array.prototype.map - the JSON object can be used as thisArg
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-18 es5id: 15.4.4.19-5-18
description: Array.prototype.map - Error object can be used as thisArg description: Array.prototype.map - Error object can be used as thisArg
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-19 es5id: 15.4.4.19-5-19
description: Array.prototype.map - the Arguments object can be used as thisArg description: Array.prototype.map - the Arguments object can be used as thisArg
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-2 es5id: 15.4.4.19-5-2
description: Array.prototype.map - thisArg is Object description: Array.prototype.map - thisArg is Object
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-21 es5id: 15.4.4.19-5-21
description: Array.prototype.map - the global object can be used as thisArg description: Array.prototype.map - the global object can be used as thisArg
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-22 es5id: 15.4.4.19-5-22
description: Array.prototype.map - boolean primitive can be used as thisArg description: Array.prototype.map - boolean primitive can be used as thisArg
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-23 es5id: 15.4.4.19-5-23
description: Array.prototype.map - number primitive can be used as thisArg description: Array.prototype.map - number primitive can be used as thisArg
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-24 es5id: 15.4.4.19-5-24
description: Array.prototype.map - string primitive can be used as thisArg description: Array.prototype.map - string primitive can be used as thisArg
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-3 es5id: 15.4.4.19-5-3
description: Array.prototype.map - thisArg is Array description: Array.prototype.map - thisArg is Array
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-4 es5id: 15.4.4.19-5-4
description: > description: >
Array.prototype.map - thisArg is object from object Array.prototype.map - thisArg is object from object
@ -13,11 +14,11 @@ description: >
{ {
return this.res; return this.res;
} }
function foo(){} function foo(){}
foo.prototype.res = true; foo.prototype.res = true;
var f = new foo(); var f = new foo();
var srcArr = [1]; var srcArr = [1];
var resArr = srcArr.map(callbackfn,f); var resArr = srcArr.map(callbackfn,f);

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-5 es5id: 15.4.4.19-5-5
description: Array.prototype.map - thisArg is object from object template description: Array.prototype.map - thisArg is object from object template
---*/ ---*/
@ -15,7 +16,7 @@ description: Array.prototype.map - thisArg is object from object template
function foo(){} function foo(){}
var f = new foo(); var f = new foo();
f.res = true; f.res = true;
var srcArr = [1]; var srcArr = [1];
var resArr = srcArr.map(callbackfn,f); var resArr = srcArr.map(callbackfn,f);

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-6 es5id: 15.4.4.19-5-6
description: Array.prototype.map - thisArg is function description: Array.prototype.map - thisArg is function
---*/ ---*/
@ -14,7 +15,7 @@ description: Array.prototype.map - thisArg is function
function foo(){} function foo(){}
foo.res = true; foo.res = true;
var srcArr = [1]; var srcArr = [1];
var resArr = srcArr.map(callbackfn,foo); var resArr = srcArr.map(callbackfn,foo);

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-7 es5id: 15.4.4.19-5-7
description: Array.prototype.map - built-in functions can be used as thisArg description: Array.prototype.map - built-in functions can be used as thisArg
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-5-9 es5id: 15.4.4.19-5-9
description: Array.prototype.map - Function object can be used as thisArg description: Array.prototype.map - Function object can be used as thisArg
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-6-1 es5id: 15.4.4.19-6-1
description: > description: >
Array.prototype.map - Array.isArray returns true when input Array.prototype.map - Array.isArray returns true when input

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-6-2 es5id: 15.4.4.19-6-2
description: Array.prototype.map - the returned array is instanceof Array description: Array.prototype.map - the returned array is instanceof Array
---*/ ---*/

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-8-1 es5id: 15.4.4.19-8-1
description: > description: >
Array.prototype.map doesn't consider new elements added to array Array.prototype.map doesn't consider new elements added to array

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-8-2 es5id: 15.4.4.19-8-2
description: > description: >
Array.prototype.map considers new value of elements in array after Array.prototype.map considers new value of elements in array after
@ -9,7 +10,7 @@ description: >
---*/ ---*/
function callbackfn(val, idx, obj) function callbackfn(val, idx, obj)
{ {
srcArr[4] = -1; srcArr[4] = -1;
if(val > 0) if(val > 0)
return 1; return 1;

View File

@ -2,6 +2,7 @@
// 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.prototype.map
es5id: 15.4.4.19-8-3 es5id: 15.4.4.19-8-3
description: > description: >
Array.prototype.map doesn't visit deleted elements in array after Array.prototype.map doesn't visit deleted elements in array after

Some files were not shown because too many files have changed in this diff Show More