mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 05:55:36 +02:00
add esid to array/prototype/forEach tests (#1106)
This commit is contained in:
parent
3aa94e2f08
commit
f5a5bdebb8
@ -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.foreach
|
||||||
es5id: 15.4.4.18-1-1
|
es5id: 15.4.4.18-1-1
|
||||||
description: Array.prototype.forEach applied to undefined
|
description: Array.prototype.forEach applied to undefined
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-1-10
|
es5id: 15.4.4.18-1-10
|
||||||
description: Array.prototype.forEach applied to the Math object
|
description: Array.prototype.forEach applied to the Math object
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-1-11
|
es5id: 15.4.4.18-1-11
|
||||||
description: Array.prototype.forEach applied to Date object
|
description: Array.prototype.forEach applied to Date object
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-1-12
|
es5id: 15.4.4.18-1-12
|
||||||
description: Array.prototype.forEach applied to RegExp object
|
description: Array.prototype.forEach applied to RegExp object
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-1-13
|
es5id: 15.4.4.18-1-13
|
||||||
description: Array.prototype.forEach applied to the JSON object
|
description: Array.prototype.forEach applied to the JSON object
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-1-14
|
es5id: 15.4.4.18-1-14
|
||||||
description: Array.prototype.forEach applied to Error object
|
description: Array.prototype.forEach applied to Error object
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-1-15
|
es5id: 15.4.4.18-1-15
|
||||||
description: Array.prototype.forEach applied to the Arguments object
|
description: Array.prototype.forEach applied to the Arguments object
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-1-2
|
es5id: 15.4.4.18-1-2
|
||||||
description: Array.prototype.forEach applied to null
|
description: Array.prototype.forEach applied to null
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-1-3
|
es5id: 15.4.4.18-1-3
|
||||||
description: Array.prototype.forEach applied to boolean primitive
|
description: Array.prototype.forEach applied to boolean primitive
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-1-4
|
es5id: 15.4.4.18-1-4
|
||||||
description: Array.prototype.forEach applied to Boolean object
|
description: Array.prototype.forEach applied to Boolean object
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-1-5
|
es5id: 15.4.4.18-1-5
|
||||||
description: Array.prototype.forEach applied to number primitive
|
description: Array.prototype.forEach applied to number primitive
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-1-6
|
es5id: 15.4.4.18-1-6
|
||||||
description: Array.prototype.forEach applied to Number object
|
description: Array.prototype.forEach applied to Number object
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-1-7
|
es5id: 15.4.4.18-1-7
|
||||||
description: Array.prototype.forEach applied to string primitive
|
description: Array.prototype.forEach applied to string primitive
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-1-8
|
es5id: 15.4.4.18-1-8
|
||||||
description: Array.prototype.forEach applied to String object
|
description: Array.prototype.forEach applied to String object
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-1-9
|
es5id: 15.4.4.18-1-9
|
||||||
description: Array.prototype.forEach applied to Function object
|
description: Array.prototype.forEach applied to Function object
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-2-1
|
es5id: 15.4.4.18-2-1
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - 'length' is own data property on an
|
Array.prototype.forEach - 'length' is own data property on an
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-2-10
|
es5id: 15.4.4.18-2-10
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach applied to Array-like object, 'length' is
|
Array.prototype.forEach applied to Array-like object, 'length' is
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-2-11
|
es5id: 15.4.4.18-2-11
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach applied to Array-like object, 'length' is
|
Array.prototype.forEach applied to Array-like object, 'length' is
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-2-12
|
es5id: 15.4.4.18-2-12
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - 'length' is own accessor property
|
Array.prototype.forEach - 'length' is own accessor property
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-2-13
|
es5id: 15.4.4.18-2-13
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach applied to the Array-like object that
|
Array.prototype.forEach applied to the Array-like object that
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-2-14
|
es5id: 15.4.4.18-2-14
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach applied to the Array-like object that
|
Array.prototype.forEach applied to the Array-like object that
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-2-17
|
es5id: 15.4.4.18-2-17
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach applied to the Arguments object, which
|
Array.prototype.forEach applied to the Arguments object, which
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-2-18
|
es5id: 15.4.4.18-2-18
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach applied to String object, which implements
|
Array.prototype.forEach applied to String object, which implements
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-2-19
|
es5id: 15.4.4.18-2-19
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach applied to Function object, which
|
Array.prototype.forEach applied to Function object, which
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-2-2
|
es5id: 15.4.4.18-2-2
|
||||||
description: Array.prototype.forEach - 'length' is own data property on an Array
|
description: Array.prototype.forEach - 'length' is own data property on an Array
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-2-3
|
es5id: 15.4.4.18-2-3
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - 'length' is an own data property that
|
Array.prototype.forEach - 'length' is an own data property that
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-2-4
|
es5id: 15.4.4.18-2-4
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - 'length' is own data property that
|
Array.prototype.forEach - 'length' is own data property that
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-2-5
|
es5id: 15.4.4.18-2-5
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach applied to Array-like object, 'length' is
|
Array.prototype.forEach applied to Array-like object, 'length' is
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-2-6
|
es5id: 15.4.4.18-2-6
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach applied to Array-like object, 'length' is
|
Array.prototype.forEach applied to Array-like object, 'length' is
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-2-7
|
es5id: 15.4.4.18-2-7
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach applied to Array-like object, 'length' is
|
Array.prototype.forEach applied to Array-like object, 'length' is
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-2-8
|
es5id: 15.4.4.18-2-8
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach applied to Array-like object, 'length' is
|
Array.prototype.forEach applied to Array-like object, 'length' is
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-2-9
|
es5id: 15.4.4.18-2-9
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach applied to Array-like object, 'length' is
|
Array.prototype.forEach applied to Array-like object, 'length' is
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-1
|
es5id: 15.4.4.18-3-1
|
||||||
description: Array.prototype.forEach - value of 'length' is undefined
|
description: Array.prototype.forEach - value of 'length' is undefined
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-10
|
es5id: 15.4.4.18-3-10
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - value of 'length' is a number (value is
|
Array.prototype.forEach - value of 'length' is a number (value is
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-11
|
es5id: 15.4.4.18-3-11
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - 'length' is a string containing a
|
Array.prototype.forEach - 'length' is a string containing a
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-12
|
es5id: 15.4.4.18-3-12
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - 'length' is a string containing a
|
Array.prototype.forEach - 'length' is a string containing a
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-13
|
es5id: 15.4.4.18-3-13
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - 'length' is a string containing a
|
Array.prototype.forEach - 'length' is a string containing a
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-14
|
es5id: 15.4.4.18-3-14
|
||||||
description: Array.prototype.forEach - 'length' is a string containing -Infinity
|
description: Array.prototype.forEach - 'length' is a string containing -Infinity
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-15
|
es5id: 15.4.4.18-3-15
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - 'length' is a string containing an
|
Array.prototype.forEach - 'length' is a string containing an
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-16
|
es5id: 15.4.4.18-3-16
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - 'length' is a string containing a hex
|
Array.prototype.forEach - 'length' is a string containing a hex
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-17
|
es5id: 15.4.4.18-3-17
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - 'length' is a string containing a number
|
Array.prototype.forEach - 'length' is a string containing a number
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-18
|
es5id: 15.4.4.18-3-18
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - value of 'length' is a string that can't
|
Array.prototype.forEach - value of 'length' is a string that can't
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-19
|
es5id: 15.4.4.18-3-19
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - value of 'length' is an Object which has
|
Array.prototype.forEach - value of 'length' is an Object which has
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-2
|
es5id: 15.4.4.18-3-2
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - value of 'length' is a boolean (value is
|
Array.prototype.forEach - value of 'length' is a boolean (value is
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-20
|
es5id: 15.4.4.18-3-20
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - value of 'length' is an Object which has
|
Array.prototype.forEach - value of 'length' is an Object which has
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-21
|
es5id: 15.4.4.18-3-21
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - 'length' is an object that has an own
|
Array.prototype.forEach - 'length' is an object that has an own
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-22
|
es5id: 15.4.4.18-3-22
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach throws TypeError exception when 'length'
|
Array.prototype.forEach throws TypeError exception when 'length'
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-23
|
es5id: 15.4.4.18-3-23
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach uses inherited valueOf method when
|
Array.prototype.forEach uses inherited valueOf method when
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-24
|
es5id: 15.4.4.18-3-24
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - value of 'length' is a positive
|
Array.prototype.forEach - value of 'length' is a positive
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-25
|
es5id: 15.4.4.18-3-25
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - value of 'length' is a negative
|
Array.prototype.forEach - value of 'length' is a negative
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-3
|
es5id: 15.4.4.18-3-3
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - value of 'length' is a number (value is
|
Array.prototype.forEach - value of 'length' is a number (value is
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-4
|
es5id: 15.4.4.18-3-4
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - value of 'length' is a number (value is
|
Array.prototype.forEach - value of 'length' is a number (value is
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-5
|
es5id: 15.4.4.18-3-5
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - value of 'length' is a number (value is
|
Array.prototype.forEach - value of 'length' is a number (value is
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-6
|
es5id: 15.4.4.18-3-6
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - value of 'length' is a number (value is
|
Array.prototype.forEach - value of 'length' is a number (value is
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-7
|
es5id: 15.4.4.18-3-7
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - value of 'length' is a number (value is
|
Array.prototype.forEach - value of 'length' is a number (value is
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-3-9
|
es5id: 15.4.4.18-3-9
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - value of 'length' is a number (value is
|
Array.prototype.forEach - value of 'length' is a number (value is
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-4-1
|
es5id: 15.4.4.18-4-1
|
||||||
description: Array.prototype.forEach throws TypeError if callbackfn is undefined
|
description: Array.prototype.forEach throws TypeError if callbackfn is undefined
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-4-10
|
es5id: 15.4.4.18-4-10
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - the exception is not thrown if exception
|
Array.prototype.forEach - the exception is not thrown if exception
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-4-11
|
es5id: 15.4.4.18-4-11
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - the exception is not thrown if exception
|
Array.prototype.forEach - the exception is not thrown if exception
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-4-12
|
es5id: 15.4.4.18-4-12
|
||||||
description: Array.prototype.forEach - 'callbackfn' is a function
|
description: Array.prototype.forEach - 'callbackfn' is a function
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-4-15
|
es5id: 15.4.4.18-4-15
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - calling with no callbackfn is the same
|
Array.prototype.forEach - calling with no callbackfn is the same
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-4-2
|
es5id: 15.4.4.18-4-2
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach throws ReferenceError if callbackfn is
|
Array.prototype.forEach throws ReferenceError if callbackfn is
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-4-3
|
es5id: 15.4.4.18-4-3
|
||||||
description: Array.prototype.forEach throws TypeError if callbackfn is null
|
description: Array.prototype.forEach throws TypeError if callbackfn is null
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-4-4
|
es5id: 15.4.4.18-4-4
|
||||||
description: Array.prototype.forEach throws TypeError if callbackfn is boolean
|
description: Array.prototype.forEach throws TypeError if callbackfn is boolean
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-4-5
|
es5id: 15.4.4.18-4-5
|
||||||
description: Array.prototype.forEach throws TypeError if callbackfn is number
|
description: Array.prototype.forEach throws TypeError if callbackfn is number
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-4-6
|
es5id: 15.4.4.18-4-6
|
||||||
description: Array.prototype.forEach throws TypeError if callbackfn is string
|
description: Array.prototype.forEach throws TypeError if callbackfn is string
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-4-7
|
es5id: 15.4.4.18-4-7
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach throws TypeError if callbackfn is Object
|
Array.prototype.forEach throws TypeError if callbackfn is Object
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-4-8
|
es5id: 15.4.4.18-4-8
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - side effects produced by step 2 are
|
Array.prototype.forEach - side effects produced by step 2 are
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-4-9
|
es5id: 15.4.4.18-4-9
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - side effects produced by step 3 are
|
Array.prototype.forEach - side effects produced by step 3 are
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-1-s
|
es5id: 15.4.4.18-5-1-s
|
||||||
description: Array.prototype.forEach - thisArg not passed to strict callbackfn
|
description: Array.prototype.forEach - 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;
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-1
|
es5id: 15.4.4.18-5-1
|
||||||
description: Array.prototype.forEach - thisArg is passed
|
description: Array.prototype.forEach - thisArg is passed
|
||||||
flags: [noStrict]
|
flags: [noStrict]
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-10
|
es5id: 15.4.4.18-5-10
|
||||||
description: Array.prototype.forEach - Array Object can be used as thisArg
|
description: Array.prototype.forEach - Array Object can be used as thisArg
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-11
|
es5id: 15.4.4.18-5-11
|
||||||
description: Array.prototype.forEach - String Object can be used as thisArg
|
description: Array.prototype.forEach - String Object can be used as thisArg
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-12
|
es5id: 15.4.4.18-5-12
|
||||||
description: Array.prototype.forEach - Boolean Object can be used as thisArg
|
description: Array.prototype.forEach - Boolean Object can be used as thisArg
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-13
|
es5id: 15.4.4.18-5-13
|
||||||
description: Array.prototype.forEach - Number Object can be used as thisArg
|
description: Array.prototype.forEach - Number Object can be used as thisArg
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-14
|
es5id: 15.4.4.18-5-14
|
||||||
description: Array.prototype.forEach - the Math object can be used as thisArg
|
description: Array.prototype.forEach - the Math object can be used as thisArg
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-15
|
es5id: 15.4.4.18-5-15
|
||||||
description: Array.prototype.forEach - Date Object can be used as thisArg
|
description: Array.prototype.forEach - Date Object can be used as thisArg
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-16
|
es5id: 15.4.4.18-5-16
|
||||||
description: Array.prototype.forEach - RegExp Object can be used as thisArg
|
description: Array.prototype.forEach - RegExp Object can be used as thisArg
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-17
|
es5id: 15.4.4.18-5-17
|
||||||
description: Array.prototype.forEach - the JSON object can be used as thisArg
|
description: Array.prototype.forEach - the JSON object can be used as thisArg
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-18
|
es5id: 15.4.4.18-5-18
|
||||||
description: Array.prototype.forEach - Error Object can be used as thisArg
|
description: Array.prototype.forEach - Error Object can be used as thisArg
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-19
|
es5id: 15.4.4.18-5-19
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - the Arguments object can be used as
|
Array.prototype.forEach - the Arguments object can be used as
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-2
|
es5id: 15.4.4.18-5-2
|
||||||
description: Array.prototype.forEach - thisArg is Object
|
description: Array.prototype.forEach - thisArg is Object
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-21
|
es5id: 15.4.4.18-5-21
|
||||||
description: Array.prototype.forEach - the global object can be used as thisArg
|
description: Array.prototype.forEach - the global object can be used as thisArg
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-22
|
es5id: 15.4.4.18-5-22
|
||||||
description: Array.prototype.forEach - boolean primitive can be used as thisArg
|
description: Array.prototype.forEach - boolean primitive can be used as thisArg
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-23
|
es5id: 15.4.4.18-5-23
|
||||||
description: Array.prototype.forEach - number primitive can be used as thisArg
|
description: Array.prototype.forEach - number primitive can be used as thisArg
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-24
|
es5id: 15.4.4.18-5-24
|
||||||
description: Array.prototype.forEach - string primitive can be used as thisArg
|
description: Array.prototype.forEach - string primitive can be used as thisArg
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-25
|
es5id: 15.4.4.18-5-25
|
||||||
description: Array.prototype.forEach - thisArg not passed
|
description: Array.prototype.forEach - thisArg not passed
|
||||||
flags: [noStrict]
|
flags: [noStrict]
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-3
|
es5id: 15.4.4.18-5-3
|
||||||
description: Array.prototype.forEach - thisArg is Array
|
description: Array.prototype.forEach - thisArg is Array
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-4
|
es5id: 15.4.4.18-5-4
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - thisArg is object from object
|
Array.prototype.forEach - thisArg is object from object
|
||||||
@ -14,7 +15,7 @@ description: >
|
|||||||
{
|
{
|
||||||
result = this.res;
|
result = this.res;
|
||||||
}
|
}
|
||||||
|
|
||||||
function foo(){}
|
function foo(){}
|
||||||
foo.prototype.res = true;
|
foo.prototype.res = true;
|
||||||
var f = new foo();
|
var f = new foo();
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-5
|
es5id: 15.4.4.18-5-5
|
||||||
description: Array.prototype.forEach - thisArg is object from object template
|
description: Array.prototype.forEach - thisArg is object from object template
|
||||||
---*/
|
---*/
|
||||||
@ -16,7 +17,7 @@ description: Array.prototype.forEach - 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 arr = [1];
|
var arr = [1];
|
||||||
arr.forEach(callbackfn,f)
|
arr.forEach(callbackfn,f)
|
||||||
|
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-6
|
es5id: 15.4.4.18-5-6
|
||||||
description: Array.prototype.forEach - thisArg is function
|
description: Array.prototype.forEach - thisArg is function
|
||||||
---*/
|
---*/
|
||||||
@ -15,7 +16,7 @@ description: Array.prototype.forEach - thisArg is function
|
|||||||
|
|
||||||
function foo(){}
|
function foo(){}
|
||||||
foo.res = true;
|
foo.res = true;
|
||||||
|
|
||||||
var arr = [1];
|
var arr = [1];
|
||||||
arr.forEach(callbackfn,foo)
|
arr.forEach(callbackfn,foo)
|
||||||
|
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-7
|
es5id: 15.4.4.18-5-7
|
||||||
description: Array.prototype.forEach - built-in functions can be used as thisArg
|
description: Array.prototype.forEach - built-in functions can be used as thisArg
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-5-9
|
es5id: 15.4.4.18-5-9
|
||||||
description: Array.prototype.forEach - Function Object can be used as thisArg
|
description: Array.prototype.forEach - Function Object can be used as thisArg
|
||||||
---*/
|
---*/
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-7-1
|
es5id: 15.4.4.18-7-1
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach doesn't consider new elements added to
|
Array.prototype.forEach doesn't consider new elements added to
|
||||||
@ -11,7 +12,7 @@ description: >
|
|||||||
var callCnt = 0;
|
var callCnt = 0;
|
||||||
function callbackfn(val, idx, obj)
|
function callbackfn(val, idx, obj)
|
||||||
{
|
{
|
||||||
callCnt++;
|
callCnt++;
|
||||||
arr[2] = 3;
|
arr[2] = 3;
|
||||||
arr[5] = 6;
|
arr[5] = 6;
|
||||||
}
|
}
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-7-2
|
es5id: 15.4.4.18-7-2
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach doesn't visit deleted elements in array
|
Array.prototype.forEach doesn't visit deleted elements in array
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-7-3
|
es5id: 15.4.4.18-7-3
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach doesn't visit deleted elements when
|
Array.prototype.forEach doesn't visit deleted elements when
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-7-4
|
es5id: 15.4.4.18-7-4
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach doesn't consider newly added elements in
|
Array.prototype.forEach doesn't consider newly added elements in
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-7-5
|
es5id: 15.4.4.18-7-5
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach visits deleted element in array after the
|
Array.prototype.forEach visits deleted element in array after the
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-7-7
|
es5id: 15.4.4.18-7-7
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.forEach - considers new value of elements in array
|
Array.prototype.forEach - considers new value of elements in array
|
||||||
|
@ -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.foreach
|
||||||
es5id: 15.4.4.18-7-8
|
es5id: 15.4.4.18-7-8
|
||||||
description: Array.prototype.forEach - no observable effects occur if len is 0
|
description: Array.prototype.forEach - no observable effects occur if len is 0
|
||||||
---*/
|
---*/
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user