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.
// 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.

View File

@ -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]

View File

@ -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: |

View File

@ -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: |

View File

@ -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: |

View File

@ -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: |

View File

@ -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.

View File

@ -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.

View File

@ -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]
---*/

View File

@ -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]
---*/

View File

@ -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]
---*/

View File

@ -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]
---*/

View File

@ -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 )

View File

@ -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: |
[...]

View File

@ -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.

View File

@ -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: |

View File

@ -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: |

View File

@ -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: |

View File

@ -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: |

View File

@ -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.

View File

@ -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: |

View File

@ -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: |

View File

@ -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: |

View File

@ -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: |

View File

@ -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: |

View File

@ -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: |

View File

@ -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: |

View File

@ -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: |

View File

@ -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:

View File

@ -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]".

View File

@ -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]]:

View File

@ -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.

View File

@ -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: |

View File

@ -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).

View File

@ -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).

View File

@ -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

View File

@ -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: |

View File

@ -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

View File

@ -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: |
[...]

View File

@ -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: |

View File

@ -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: |

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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