This commit is contained in:
Ms2ger 2025-06-23 11:06:29 +02:00
parent 823f4cfd20
commit fa91ef7f9a
47 changed files with 47 additions and 47 deletions

View File

@ -1,7 +1,7 @@
// Copyright (C) 2016 the V8 project authors. All rights reserved. // Copyright (C) 2016 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-get-array-@@species esid: sec-get-array-%symbol.species%
description: Return value of @@species accessor method description: Return value of @@species accessor method
info: | info: |
1. Return the this value. 1. Return the this value.

View File

@ -4,7 +4,7 @@
/*--- /*---
info: | info: |
Array has a property at `Symbol.species` Array has a property at `Symbol.species`
esid: sec-get-array-@@species esid: sec-get-array-%symbol.species%
author: Sam Mikes author: Sam Mikes
description: Array[Symbol.species] exists per spec description: Array[Symbol.species] exists per spec
includes: [propertyHelper.js] includes: [propertyHelper.js]

View File

@ -1,7 +1,7 @@
// Copyright (C) 2022 Microsoft. All rights reserved. // Copyright (C) 2022 Microsoft. 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-@@unscopables esid: sec-array.prototype-%symbol.unscopables%
description: > description: >
Initial value of `Symbol.unscopables` property Initial value of `Symbol.unscopables` property
info: | info: |

View File

@ -1,7 +1,7 @@
// Copyright (C) 2021 Igalia. All rights reserved. // Copyright (C) 2021 Igalia. 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-@@unscopables esid: sec-array.prototype-%symbol.unscopables%
description: > description: >
Initial value of `Symbol.unscopables` property Initial value of `Symbol.unscopables` property
info: | info: |

View File

@ -1,7 +1,7 @@
// Copyright (C) 2015 Mike Pennisi. All rights reserved. // Copyright (C) 2015 Mike Pennisi. 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-@@unscopables esid: sec-array.prototype-%symbol.unscopables%
description: > description: >
Property descriptor for initial value of `Symbol.unscopables` property Property descriptor for initial value of `Symbol.unscopables` property
info: | info: |

View File

@ -1,7 +1,7 @@
// Copyright (C) 2015 Mike Pennisi. All rights reserved. // Copyright (C) 2015 Mike Pennisi. 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-@@unscopables esid: sec-array.prototype-%symbol.unscopables%
description: > description: >
Initial value of `Symbol.unscopables` property Initial value of `Symbol.unscopables` property
info: | info: |

View File

@ -2,7 +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.indexof esid: sec-array.prototype.indexof
description: > description: >
Array.p.indexOf behaves correctly for special float values on TypedArrays Array.p.indexOf behaves correctly for special float values on TypedArrays
backed by resizable buffers. backed by resizable buffers.

View File

@ -2,7 +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.reduceright esid: sec-array.prototype.reduceright
description: > description: >
Array.p.reduceRight behaves correctly when the backing resizable buffer is Array.p.reduceRight behaves correctly when the backing resizable buffer is
shrunk mid-iteration. shrunk mid-iteration.

View File

@ -5,7 +5,7 @@
info: | info: |
When Date is called as part of a new expression it is When Date is called as part of a new expression it is
a constructor: it initialises the newly created object 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 description: Checking types of newly created objects and it values
includes: [dateConstants.js] includes: [dateConstants.js]
---*/ ---*/

View File

@ -6,7 +6,7 @@ info: |
The [[Prototype]] property of the newly constructed object The [[Prototype]] property of the newly constructed object
is set to the original Date prototype object, the one that is the is set to the original Date prototype object, the one that is the
initial value of Date.prototype initial value of Date.prototype
esid: sec-date-value esid: sec-date
description: Checking Date.prototype property of newly constructed objects description: Checking Date.prototype property of newly constructed objects
includes: [dateConstants.js] includes: [dateConstants.js]
---*/ ---*/

View File

@ -5,7 +5,7 @@
info: | info: |
The [[Class]] property of the newly constructed object The [[Class]] property of the newly constructed object
is set to "Date" is set to "Date"
esid: sec-date-value esid: sec-date
description: Test based on delete prototype.toString description: Test based on delete prototype.toString
includes: [dateConstants.js] includes: [dateConstants.js]
---*/ ---*/

View File

@ -5,7 +5,7 @@
info: | info: |
The [[Class]] property of the newly constructed object The [[Class]] property of the newly constructed object
is set to "Date" is set to "Date"
esid: sec-date-value esid: sec-date
description: Test based on overwriting prototype.toString description: Test based on overwriting prototype.toString
includes: [dateConstants.js] includes: [dateConstants.js]
---*/ ---*/

View File

@ -2,7 +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-date-value esid: sec-date
description: Date constructor called with Date object description: Date constructor called with Date object
info: | info: |
20.3.2.2 Date ( value ) 20.3.2.2 Date ( value )

View File

@ -1,7 +1,7 @@
// Copyright (C) 2016 the V8 project authors. All rights reserved. // Copyright (C) 2016 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-date-value esid: sec-date
description: Default [[Prototype]] value derived from realm of the newTarget description: Default [[Prototype]] value derived from realm of the newTarget
info: | info: |
[...] [...]

View File

@ -2,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: > description: >
`this` value is resolved using strict mode semantics, `this` value is resolved using strict mode semantics,
throwing TypeError if called as top-level function. throwing TypeError if called as top-level function.

View File

@ -1,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: > description: >
Behavior when `hint` is "default" and first try returns an invalid value Behavior when `hint` is "default" and first try returns an invalid value
info: | info: |

View File

@ -1,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: > description: >
Behavior when `hint` is "default" and first try is not callable Behavior when `hint` is "default" and first try is not callable
info: | info: |

View File

@ -1,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: > description: >
Behavior when `hint` is "default" and first try returns a valid value Behavior when `hint` is "default" and first try returns a valid value
info: | info: |

View File

@ -1,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: > description: >
Behavior when `hint` is "default" and neither first nor second try are callable. Behavior when `hint` is "default" and neither first nor second try are callable.
info: | info: |

View File

@ -1,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: Behavior when an invalid `hint` argument is specified description: Behavior when an invalid `hint` argument is specified
info: | info: |
1. Let O be the this value. 1. Let O be the this value.

View File

@ -1,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: > description: >
Behavior when `hint` is "number" and first try returns an invalid value Behavior when `hint` is "number" and first try returns an invalid value
info: | info: |

View File

@ -1,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: > description: >
Behavior when `hint` is "number" and first try is not callable Behavior when `hint` is "number" and first try is not callable
info: | info: |

View File

@ -1,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: > description: >
Behavior when `hint` is "number" and first try returns a valid value Behavior when `hint` is "number" and first try returns a valid value
info: | info: |

View File

@ -1,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: > description: >
Behavior when `hint` is "number" and neither first nor second try are callable. Behavior when `hint` is "number" and neither first nor second try are callable.
info: | info: |

View File

@ -1,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: > description: >
Behavior when `hint` is "string" and first try returns an invalid value Behavior when `hint` is "string" and first try returns an invalid value
info: | info: |

View File

@ -1,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: > description: >
Behavior when `hint` is "string" and first try is not callable Behavior when `hint` is "string" and first try is not callable
info: | info: |

View File

@ -1,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: > description: >
Behavior when `hint` is "string" and first try returns a valid value Behavior when `hint` is "string" and first try returns a valid value
info: | info: |

View File

@ -1,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: > description: >
Behavior when `hint` is "string" and neither first nor second try are callable. Behavior when `hint` is "string" and neither first nor second try are callable.
info: | info: |

View File

@ -1,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: Date.prototype[Symbol.toPrimitive] `length` property description: Date.prototype[Symbol.toPrimitive] `length` property
info: | info: |
ES6 section 17: ES6 section 17:

View File

@ -1,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: Date.prototype[Symbol.toPrimitive] `name` property description: Date.prototype[Symbol.toPrimitive] `name` property
info: | info: |
The value of the name property of this function is "[Symbol.toPrimitive]". The value of the name property of this function is "[Symbol.toPrimitive]".

View File

@ -2,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: Date.prototype[Symbol.toPrimitive] property descriptor description: Date.prototype[Symbol.toPrimitive] property descriptor
info: | info: |
This property has the attributes { [[Writable]]: false, [[Enumerable]]: This property has the attributes { [[Writable]]: false, [[Enumerable]]:

View File

@ -1,7 +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-date.prototype-@@toprimitive esid: sec-date.prototype-%symbol.toprimitive%
description: Behavior when `this` value is not an Object description: Behavior when `this` value is not an Object
info: | info: |
1. Let O be the this value. 1. Let O be the this value.

View File

@ -2,7 +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-date.prototype.getutcdaty esid: sec-date.prototype.getutcday
description: > description: >
Date.prototype.getUTCDay.name is "getUTCDay". Date.prototype.getUTCDay.name is "getUTCDay".
info: | info: |

View File

@ -1,7 +1,7 @@
// Copyright (C) 2016 the V8 project authors. All rights reserved. // Copyright (C) 2016 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-date.prototype.getutcdaty esid: sec-date.prototype.getutcday
description: Behavior when "this" value is not an Object description: Behavior when "this" value is not an Object
info: | info: |
1. Let t be ? thisTimeValue(this value). 1. Let t be ? thisTimeValue(this value).

View File

@ -1,7 +1,7 @@
// Copyright (C) 2016 the V8 project authors. All rights reserved. // Copyright (C) 2016 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-date.prototype.getutcmmilliseconds esid: sec-date.prototype.getutcmilliseconds
description: Return value for valid dates description: Return value for valid dates
info: | info: |
1. Let t be ? thisTimeValue(this value). 1. Let t be ? thisTimeValue(this value).

View File

@ -1,7 +1,7 @@
// Copyright (C) 2016 the V8 project authors. All rights reserved. // Copyright (C) 2016 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-date-value esid: sec-date
description: Error retrieving `Symbol.toPrimitive` method from object value description: Error retrieving `Symbol.toPrimitive` method from object value
info: | info: |
3. If NewTarget is not undefined, then 3. If NewTarget is not undefined, then

View File

@ -1,7 +1,7 @@
// Copyright (c) 2016 the V8 project authors. All rights reserved. // Copyright (c) 2016 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-date-value esid: sec-date
description: > description: >
Behavior when error thrown while accessing `Symbol.toPrimitive` property Behavior when error thrown while accessing `Symbol.toPrimitive` property
info: | info: |

View File

@ -1,7 +1,7 @@
// Copyright (c) 2016 the V8 project authors. All rights reserved. // Copyright (c) 2016 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-date-value esid: sec-date
description: > description: >
Behavior when error thrown by invocation of `Symbol.toPrimitive` method Behavior when error thrown by invocation of `Symbol.toPrimitive` method
during coercion during coercion

View File

@ -1,7 +1,7 @@
// copyright (c) 2016 the v8 project authors. all rights reserved. // copyright (c) 2016 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-date-value esid: sec-date
description: Invocation of `Symbol.toPrimitive` method description: Invocation of `Symbol.toPrimitive` method
info: | info: |
[...] [...]

View File

@ -1,7 +1,7 @@
// copyright (c) 2016 the v8 project authors. all rights reserved. // copyright (c) 2016 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-date-value esid: sec-date
description: > description: >
Behavior when coercion via `Symbol.toPrimitive` yields an Object Behavior when coercion via `Symbol.toPrimitive` yields an Object
info: | info: |

View File

@ -1,7 +1,7 @@
// Copyright (c) 2016 the V8 project authors. All rights reserved. // Copyright (c) 2016 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-date-value esid: sec-date
description: > description: >
Behavior when coercion via `Symbol.toPrimitive` yields a primitive value Behavior when coercion via `Symbol.toPrimitive` yields a primitive value
info: | info: |

View File

@ -1,7 +1,7 @@
// Copyright (C) 2016 the V8 project authors. All rights reserved. // Copyright (C) 2016 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-date-value esid: sec-date
description: Error invoking `Symbol.toPrimitive` method of object value description: Error invoking `Symbol.toPrimitive` method of object value
info: | info: |
3. If NewTarget is not undefined, then 3. If NewTarget is not undefined, then

View File

@ -1,7 +1,7 @@
// Copyright (C) 2016 the V8 project authors. All rights reserved. // Copyright (C) 2016 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-date-value esid: sec-date
description: Invocation of `Symbol.toPrimitive` method of object value description: Invocation of `Symbol.toPrimitive` method of object value
info: | info: |
3. If NewTarget is not undefined, then 3. If NewTarget is not undefined, then

View File

@ -1,7 +1,7 @@
// Copyright (C) 2016 the V8 project authors. All rights reserved. // Copyright (C) 2016 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-date-value esid: sec-date
description: Error retrieving `Symbol.toPrimitive` method from object value description: Error retrieving `Symbol.toPrimitive` method from object value
info: | info: |
3. If NewTarget is not undefined, then 3. If NewTarget is not undefined, then

View File

@ -1,7 +1,7 @@
// Copyright (C) 2016 the V8 project authors. All rights reserved. // Copyright (C) 2016 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-date-value esid: sec-date
description: Exotic `Symbol.toPrimitive` method returns a non-primitive description: Exotic `Symbol.toPrimitive` method returns a non-primitive
info: | info: |
3. If NewTarget is not undefined, then 3. If NewTarget is not undefined, then

View File

@ -1,7 +1,7 @@
// Copyright (C) 2016 the V8 project authors. All rights reserved. // Copyright (C) 2016 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-date-value esid: sec-date
description: > description: >
Exotic `Symbol.toPrimitive` method returns a primitive value other than a Exotic `Symbol.toPrimitive` method returns a primitive value other than a
string string

View File

@ -1,7 +1,7 @@
// Copyright (C) 2016 the V8 project authors. All rights reserved. // Copyright (C) 2016 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-date-value esid: sec-date
description: Exotic `Symbol.toPrimitive` method returns a String value description: Exotic `Symbol.toPrimitive` method returns a String value
info: | info: |
3. If NewTarget is not undefined, then 3. If NewTarget is not undefined, then