mirror of
https://github.com/tc39/test262.git
synced 2025-07-21 21:14:45 +02:00
wpi
This commit is contained in:
parent
823f4cfd20
commit
fa91ef7f9a
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-get-array-@@species
|
||||
esid: sec-get-array-%symbol.species%
|
||||
description: Return value of @@species accessor method
|
||||
info: |
|
||||
1. Return the this value.
|
||||
|
@ -4,7 +4,7 @@
|
||||
/*---
|
||||
info: |
|
||||
Array has a property at `Symbol.species`
|
||||
esid: sec-get-array-@@species
|
||||
esid: sec-get-array-%symbol.species%
|
||||
author: Sam Mikes
|
||||
description: Array[Symbol.species] exists per spec
|
||||
includes: [propertyHelper.js]
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2022 Microsoft. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype-@@unscopables
|
||||
esid: sec-array.prototype-%symbol.unscopables%
|
||||
description: >
|
||||
Initial value of `Symbol.unscopables` property
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2021 Igalia. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype-@@unscopables
|
||||
esid: sec-array.prototype-%symbol.unscopables%
|
||||
description: >
|
||||
Initial value of `Symbol.unscopables` property
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 Mike Pennisi. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype-@@unscopables
|
||||
esid: sec-array.prototype-%symbol.unscopables%
|
||||
description: >
|
||||
Property descriptor for initial value of `Symbol.unscopables` property
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 Mike Pennisi. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-array.prototype-@@unscopables
|
||||
esid: sec-array.prototype-%symbol.unscopables%
|
||||
description: >
|
||||
Initial value of `Symbol.unscopables` property
|
||||
info: |
|
||||
|
@ -2,7 +2,7 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-%array%.prototype.indexof
|
||||
esid: sec-array.prototype.indexof
|
||||
description: >
|
||||
Array.p.indexOf behaves correctly for special float values on TypedArrays
|
||||
backed by resizable buffers.
|
||||
|
@ -2,7 +2,7 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-%array%.prototype.reduceright
|
||||
esid: sec-array.prototype.reduceright
|
||||
description: >
|
||||
Array.p.reduceRight behaves correctly when the backing resizable buffer is
|
||||
shrunk mid-iteration.
|
||||
|
@ -5,7 +5,7 @@
|
||||
info: |
|
||||
When Date is called as part of a new expression it is
|
||||
a constructor: it initialises the newly created object
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: Checking types of newly created objects and it values
|
||||
includes: [dateConstants.js]
|
||||
---*/
|
||||
|
@ -6,7 +6,7 @@ info: |
|
||||
The [[Prototype]] property of the newly constructed object
|
||||
is set to the original Date prototype object, the one that is the
|
||||
initial value of Date.prototype
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: Checking Date.prototype property of newly constructed objects
|
||||
includes: [dateConstants.js]
|
||||
---*/
|
||||
|
@ -5,7 +5,7 @@
|
||||
info: |
|
||||
The [[Class]] property of the newly constructed object
|
||||
is set to "Date"
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: Test based on delete prototype.toString
|
||||
includes: [dateConstants.js]
|
||||
---*/
|
||||
|
@ -5,7 +5,7 @@
|
||||
info: |
|
||||
The [[Class]] property of the newly constructed object
|
||||
is set to "Date"
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: Test based on overwriting prototype.toString
|
||||
includes: [dateConstants.js]
|
||||
---*/
|
||||
|
@ -2,7 +2,7 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: Date constructor called with Date object
|
||||
info: |
|
||||
20.3.2.2 Date ( value )
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: Default [[Prototype]] value derived from realm of the newTarget
|
||||
info: |
|
||||
[...]
|
||||
|
@ -2,7 +2,7 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: >
|
||||
`this` value is resolved using strict mode semantics,
|
||||
throwing TypeError if called as top-level function.
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: >
|
||||
Behavior when `hint` is "default" and first try returns an invalid value
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: >
|
||||
Behavior when `hint` is "default" and first try is not callable
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: >
|
||||
Behavior when `hint` is "default" and first try returns a valid value
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: >
|
||||
Behavior when `hint` is "default" and neither first nor second try are callable.
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: Behavior when an invalid `hint` argument is specified
|
||||
info: |
|
||||
1. Let O be the this value.
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: >
|
||||
Behavior when `hint` is "number" and first try returns an invalid value
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: >
|
||||
Behavior when `hint` is "number" and first try is not callable
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: >
|
||||
Behavior when `hint` is "number" and first try returns a valid value
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: >
|
||||
Behavior when `hint` is "number" and neither first nor second try are callable.
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: >
|
||||
Behavior when `hint` is "string" and first try returns an invalid value
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: >
|
||||
Behavior when `hint` is "string" and first try is not callable
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: >
|
||||
Behavior when `hint` is "string" and first try returns a valid value
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: >
|
||||
Behavior when `hint` is "string" and neither first nor second try are callable.
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: Date.prototype[Symbol.toPrimitive] `length` property
|
||||
info: |
|
||||
ES6 section 17:
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: Date.prototype[Symbol.toPrimitive] `name` property
|
||||
info: |
|
||||
The value of the name property of this function is "[Symbol.toPrimitive]".
|
||||
|
@ -2,7 +2,7 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: Date.prototype[Symbol.toPrimitive] property descriptor
|
||||
info: |
|
||||
This property has the attributes { [[Writable]]: false, [[Enumerable]]:
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype-@@toprimitive
|
||||
esid: sec-date.prototype-%symbol.toprimitive%
|
||||
description: Behavior when `this` value is not an Object
|
||||
info: |
|
||||
1. Let O be the this value.
|
||||
|
@ -2,7 +2,7 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-date.prototype.getutcdaty
|
||||
esid: sec-date.prototype.getutcday
|
||||
description: >
|
||||
Date.prototype.getUTCDay.name is "getUTCDay".
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype.getutcdaty
|
||||
esid: sec-date.prototype.getutcday
|
||||
description: Behavior when "this" value is not an Object
|
||||
info: |
|
||||
1. Let t be ? thisTimeValue(this value).
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date.prototype.getutcmmilliseconds
|
||||
esid: sec-date.prototype.getutcmilliseconds
|
||||
description: Return value for valid dates
|
||||
info: |
|
||||
1. Let t be ? thisTimeValue(this value).
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: Error retrieving `Symbol.toPrimitive` method from object value
|
||||
info: |
|
||||
3. If NewTarget is not undefined, then
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (c) 2016 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: >
|
||||
Behavior when error thrown while accessing `Symbol.toPrimitive` property
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (c) 2016 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: >
|
||||
Behavior when error thrown by invocation of `Symbol.toPrimitive` method
|
||||
during coercion
|
||||
|
@ -1,7 +1,7 @@
|
||||
// copyright (c) 2016 the v8 project authors. all rights reserved.
|
||||
// this code is governed by the bsd license found in the license file.
|
||||
/*---
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: Invocation of `Symbol.toPrimitive` method
|
||||
info: |
|
||||
[...]
|
||||
|
@ -1,7 +1,7 @@
|
||||
// copyright (c) 2016 the v8 project authors. all rights reserved.
|
||||
// this code is governed by the bsd license found in the license file.
|
||||
/*---
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: >
|
||||
Behavior when coercion via `Symbol.toPrimitive` yields an Object
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (c) 2016 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: >
|
||||
Behavior when coercion via `Symbol.toPrimitive` yields a primitive value
|
||||
info: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: Error invoking `Symbol.toPrimitive` method of object value
|
||||
info: |
|
||||
3. If NewTarget is not undefined, then
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: Invocation of `Symbol.toPrimitive` method of object value
|
||||
info: |
|
||||
3. If NewTarget is not undefined, then
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: Error retrieving `Symbol.toPrimitive` method from object value
|
||||
info: |
|
||||
3. If NewTarget is not undefined, then
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: Exotic `Symbol.toPrimitive` method returns a non-primitive
|
||||
info: |
|
||||
3. If NewTarget is not undefined, then
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: >
|
||||
Exotic `Symbol.toPrimitive` method returns a primitive value other than a
|
||||
string
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-date-value
|
||||
esid: sec-date
|
||||
description: Exotic `Symbol.toPrimitive` method returns a String value
|
||||
info: |
|
||||
3. If NewTarget is not undefined, then
|
||||
|
Loading…
x
Reference in New Issue
Block a user