mirror of
https://github.com/tc39/test262.git
synced 2025-07-21 13:04:39 +02:00
add esid to array/prototype/find tests (#1104)
This commit is contained in:
parent
f395b67d29
commit
82e53e14c3
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.find
|
||||||
es6id: 22.1.3.8
|
es6id: 22.1.3.8
|
||||||
description: >
|
description: >
|
||||||
The range of elements processed is set before the first call to `predicate`.
|
The range of elements processed is set before the first call to `predicate`.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.find
|
||||||
es6id: 22.1.3.8
|
es6id: 22.1.3.8
|
||||||
description: Array.prototype.find.length value and descriptor.
|
description: Array.prototype.find.length value and descriptor.
|
||||||
info: >
|
info: >
|
||||||
|
1
test/built-ins/Array/prototype/find/name.js
vendored
1
test/built-ins/Array/prototype/find/name.js
vendored
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.find
|
||||||
es6id: 22.1.3.8
|
es6id: 22.1.3.8
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.find.name value and descriptor.
|
Array.prototype.find.name value and descriptor.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.find
|
||||||
es6id: 22.1.3.8
|
es6id: 22.1.3.8
|
||||||
description: >
|
description: >
|
||||||
Predicate called as F.call( thisArg, kValue, k, O ) for each array entry.
|
Predicate called as F.call( thisArg, kValue, k, O ) for each array entry.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.find
|
||||||
es6id: 22.1.3.8
|
es6id: 22.1.3.8
|
||||||
description: >
|
description: >
|
||||||
Predicate thisArg as F.call( thisArg, kValue, k, O ) for each array entry.
|
Predicate thisArg as F.call( thisArg, kValue, k, O ) for each array entry.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.find
|
||||||
es6id: 22.1.3.8
|
es6id: 22.1.3.8
|
||||||
description: >
|
description: >
|
||||||
Predicate thisArg as F.call( thisArg, kValue, k, O ) for each array entry.
|
Predicate thisArg as F.call( thisArg, kValue, k, O ) for each array entry.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.find
|
||||||
es6id: 22.1.3.8
|
es6id: 22.1.3.8
|
||||||
description: >
|
description: >
|
||||||
Predicate is called for each array property.
|
Predicate is called for each array property.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.find
|
||||||
es6id: 22.1.3.8
|
es6id: 22.1.3.8
|
||||||
description: >
|
description: >
|
||||||
Throws a TypeError exception if predicate is not callable.
|
Throws a TypeError exception if predicate is not callable.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.find
|
||||||
es6id: 22.1.3.8
|
es6id: 22.1.3.8
|
||||||
description: >
|
description: >
|
||||||
Predicate is only called if this.length is > 0.
|
Predicate is only called if this.length is > 0.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.find
|
||||||
es6id: 22.1.3.8
|
es6id: 22.1.3.8
|
||||||
description: Property type and descriptor.
|
description: Property type and descriptor.
|
||||||
info: >
|
info: >
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.find
|
||||||
es6id: 22.1.3.8
|
es6id: 22.1.3.8
|
||||||
description: >
|
description: >
|
||||||
Return abrupt from predicate call.
|
Return abrupt from predicate call.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.find
|
||||||
es6id: 22.1.3.8
|
es6id: 22.1.3.8
|
||||||
description: >
|
description: >
|
||||||
Returns abrupt from getting property value from `this`.
|
Returns abrupt from getting property value from `this`.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.find
|
||||||
es6id: 22.1.3.8
|
es6id: 22.1.3.8
|
||||||
description: >
|
description: >
|
||||||
Return abrupt from ToLength(Get(O, "length")) where length is a Symbol.
|
Return abrupt from ToLength(Get(O, "length")) where length is a Symbol.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.find
|
||||||
es6id: 22.1.3.8
|
es6id: 22.1.3.8
|
||||||
description: >
|
description: >
|
||||||
Return abrupt from ToLength(Get(O, "length")).
|
Return abrupt from ToLength(Get(O, "length")).
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.find
|
||||||
es6id: 22.1.3.8
|
es6id: 22.1.3.8
|
||||||
description: >
|
description: >
|
||||||
Return abrupt from ToObject(this value).
|
Return abrupt from ToObject(this value).
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.find
|
||||||
es6id: 22.1.3.8
|
es6id: 22.1.3.8
|
||||||
description: >
|
description: >
|
||||||
Return found value if predicate return a boolean true value.
|
Return found value if predicate return a boolean true value.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.find
|
||||||
es6id: 22.1.3.8
|
es6id: 22.1.3.8
|
||||||
description: >
|
description: >
|
||||||
Return undefined if predicate always returns a boolean false value.
|
Return undefined if predicate always returns a boolean false value.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user