browser.js |
|
0 |
private-field-in-nested.js |
---
description: >
Can't nest `in` expressions when the left-hand side is PrivateIdentifier.
info: |
Syntax
RelationalExpression[In, Yield, Await]:
[...]
[+In]PrivateIdentifier in ShiftExpression[?Yield, ?Await]
esid: sec-relational-operators
negative:
phase: parse
type: SyntaxError
features: [class-fields-private, class-fields-private-in]
--- |
627 |
private-field-in.js |
---
description: Requires the `In` parsing parameter
info: |
Syntax
RelationalExpression[In, Yield, Await]:
[...]
[+In]PrivateIdentifier in ShiftExpression[?Yield, ?Await]
esid: sec-relational-operators-runtime-semantics-evaluation
negative:
phase: parse
type: SyntaxError
features: [class-fields-private, class-fields-private-in]
--- |
624 |
private-field-invalid-assignment-reference.js |
---
description: >
Private identifiers aren't valid simple assignment references.
info: |
Syntax
for ( LeftHandSideExpression in Expression ) Statement
esid: sec-for-in-and-for-of-statements-static-semantics-early-errors
negative:
phase: parse
type: SyntaxError
features: [class-fields-private, class-fields-private-in]
--- |
583 |
private-field-invalid-assignment-target.js |
---
description: Rejected as assignment target
info: |
12.10.5 Static Semantics: AllPrivateIdentifiersValid
AllPrivateIdentifiersValid is an abstract operation which takes names as an argument.
RelationalExpression:PrivateIdentifierinShiftExpression
1. If StringValue of PrivateIdentifier is in names, return true.
2. Return false.
esid: sec-relational-operators-runtime-semantics-evaluation
negative:
phase: parse
type: SyntaxError
features: [class-fields-private, class-fields-private-in]
--- |
771 |
private-field-invalid-identifier-complex.js |
---
description: Invalid private identifier - complex case
info: |
12.10.5 Static Semantics: AllPrivateIdentifiersValid
AllPrivateIdentifiersValid is an abstract operation which takes names as an argument.
RelationalExpression:PrivateIdentifierinShiftExpression
1. If StringValue of PrivateIdentifier is in names, return true.
2. Return false.
esid: sec-relational-operators-runtime-semantics-evaluation
negative:
phase: parse
type: SyntaxError
features: [class-fields-private, class-fields-private-in]
--- |
771 |
private-field-invalid-identifier-simple.js |
---
description: Invalid private identifier - simple case
info: |
12.10.5 Static Semantics: AllPrivateIdentifiersValid
AllPrivateIdentifiersValid is an abstract operation which takes names as an argument.
RelationalExpression:PrivateIdentifierinShiftExpression
1. If StringValue of PrivateIdentifier is in names, return true.
2. Return false.
esid: sec-relational-operators-runtime-semantics-evaluation
negative:
phase: parse
type: SyntaxError
features: [class-fields-private, class-fields-private-in]
--- |
728 |
private-field-invalid-rhs.js |
---
description: Syntactic grammar restricts right-hand side
info: |
Syntax
RelationalExpression[In, Yield, Await]:
[...]
[+In]PrivateIdentifier in ShiftExpression[?Yield, ?Await]
esid: sec-relational-operators-runtime-semantics-evaluation
negative:
phase: parse
type: SyntaxError
features: [class-fields-private, class-fields-private-in]
--- |
621 |
private-field-presence-accessor-shadowed.js |
---
description: Value when private name describes an accessor method
info: |
7. Let privateName be ? GetValue(privateNameBinding).
8. Assert: privateName is a Private Name.
[...]
10. Else,
a. Assert: privateName.[[Kind]] is "method" or "accessor".
b. If PrivateBrandCheck(rval, privateName) is not an abrupt completion,
then return true.
11. Return false.
esid: sec-relational-operators-runtime-semantics-evaluation
features: [class-static-methods-private, class-fields-private-in]
--- |
1233 |
private-field-presence-accessor.js |
---
description: Value when private name describes an accessor method
info: |
7. Let privateName be ? GetValue(privateNameBinding).
8. Assert: privateName is a Private Name.
[...]
10. Else,
a. Assert: privateName.[[Kind]] is "method" or "accessor".
b. If PrivateBrandCheck(rval, privateName) is not an abrupt completion,
then return true.
11. Return false.
esid: sec-relational-operators-runtime-semantics-evaluation
features: [class-static-methods-private, class-fields-private-in]
--- |
943 |
private-field-presence-field-shadowed.js |
---
description: Value when private name describes a field
info: |
7. Let privateName be ? GetValue(privateNameBinding).
8. Assert: privateName is a Private Name.
9. If privateName.[[Kind]] is "field",
a. If ! PrivateFieldFind(privateName, rval) is not empty, then return true.
[...]
11. Return false.
esid: sec-relational-operators-runtime-semantics-evaluation
features: [class-fields-private, class-fields-private-in]
--- |
902 |
private-field-presence-field.js |
---
description: Value when private name describes a field
info: |
7. Let privateName be ? GetValue(privateNameBinding).
8. Assert: privateName is a Private Name.
9. If privateName.[[Kind]] is "field",
a. If ! PrivateFieldFind(privateName, rval) is not empty, then return true.
[...]
11. Return false.
esid: sec-relational-operators-runtime-semantics-evaluation
features: [class-fields-private, class-fields-private-in]
--- |
787 |
private-field-presence-method-shadowed.js |
---
description: Value when private name describes a method
info: |
7. Let privateName be ? GetValue(privateNameBinding).
8. Assert: privateName is a Private Name.
[...]
10. Else,
a. Assert: privateName.[[Kind]] is "method" or "accessor".
b. If PrivateBrandCheck(rval, privateName) is not an abrupt completion,
then return true.
11. Return false.
esid: sec-relational-operators-runtime-semantics-evaluation
features: [class-methods-private, class-fields-private-in]
--- |
1197 |
private-field-presence-method.js |
---
description: Value when private name describes a method
info: |
7. Let privateName be ? GetValue(privateNameBinding).
8. Assert: privateName is a Private Name.
[...]
10. Else,
a. Assert: privateName.[[Kind]] is "method" or "accessor".
b. If PrivateBrandCheck(rval, privateName) is not an abrupt completion,
then return true.
11. Return false.
esid: sec-relational-operators-runtime-semantics-evaluation
features: [class-methods-private, class-fields-private-in]
--- |
918 |
private-field-rhs-await-absent.js |
---
description: Parsing observes the `Await` production parameter when absent
info: |
Syntax
RelationalExpression[In, Yield, Await]:
[...]
[+In]PrivateIdentifier in ShiftExpression[?Yield, ?Await]
[...]
1. Let privateIdentifier be the StringValue of PrivateIdentifier.
2. Let rref be the result of evaluating ShiftExpression.
3. Let rval be ? GetValue(rref).
4. If Type(rval) is not Object, throw a TypeError exception.
esid: sec-relational-operators-runtime-semantics-evaluation
features: [class-fields-private, class-fields-private-in]
--- |
972 |
private-field-rhs-await-present.js |
---
description: Parsing observes the `Await` production parameter when present
info: |
Syntax
RelationalExpression[In, Yield, Await]:
[...]
[+In]PrivateIdentifier in ShiftExpression[?Yield, ?Await]
[...]
1. Let privateIdentifier be the StringValue of PrivateIdentifier.
2. Let rref be the result of evaluating ShiftExpression.
3. Let rval be ? GetValue(rref).
4. If Type(rval) is not Object, throw a TypeError exception.
esid: sec-relational-operators-runtime-semantics-evaluation
features: [class-fields-private, class-fields-private-in]
flags: [async]
--- |
1046 |
private-field-rhs-non-object.js |
---
description: Algorithm interrupted by non-object right-hand side
info: |
Syntax
RelationalExpression[In, Yield, Await]:
[...]
[+In]PrivateIdentifier in ShiftExpression[?Yield, ?Await]
[...]
1. Let privateIdentifier be the StringValue of PrivateIdentifier.
2. Let rref be the result of evaluating ShiftExpression.
3. Let rval be ? GetValue(rref).
4. If Type(rval) is not Object, throw a TypeError exception.
esid: sec-relational-operators-runtime-semantics-evaluation
features: [class-fields-private, class-fields-private-in]
--- |
1361 |
private-field-rhs-unresolvable.js |
---
description: Algorithm interrupted by unresolvable reference
info: |
1. Let privateIdentifier be the StringValue of PrivateIdentifier.
2. Let rref be the result of evaluating ShiftExpression.
3. Let rval be ? GetValue(rref).
esid: sec-relational-operators-runtime-semantics-evaluation
features: [class-fields-private, class-fields-private-in]
--- |
781 |
private-field-rhs-yield-absent.js |
---
description: Parsing observes the `Yield` production parameter when present
info: |
Syntax
RelationalExpression[In, Yield, Await]:
[...]
[+In]PrivateIdentifier in ShiftExpression[?Yield, ?Await]
[...]
1. Let privateIdentifier be the StringValue of PrivateIdentifier.
2. Let rref be the result of evaluating ShiftExpression.
3. Let rval be ? GetValue(rref).
4. If Type(rval) is not Object, throw a TypeError exception.
esid: sec-relational-operators-runtime-semantics-evaluation
negative:
phase: parse
type: SyntaxError
features: [class-fields-private, class-fields-private-in]
--- |
874 |
private-field-rhs-yield-present.js |
---
description: Parsing observes the `Yield` production parameter when present
info: |
Syntax
RelationalExpression[In, Yield, Await]:
[...]
[+In]PrivateIdentifier in ShiftExpression[?Yield, ?Await]
[...]
1. Let privateIdentifier be the StringValue of PrivateIdentifier.
2. Let rref be the result of evaluating ShiftExpression.
3. Let rval be ? GetValue(rref).
4. If Type(rval) is not Object, throw a TypeError exception.
esid: sec-relational-operators-runtime-semantics-evaluation
features: [class-fields-private, class-fields-private-in]
--- |
993 |
rhs-yield-absent-non-strict.js |
---
description: Parsing observes the `Yield` production parameter when absent (without strict mode)
info: |
Syntax
RelationalExpression[In, Yield, Await]:
[...]
[+In] RelationalExpression[+In, ?Yield, ?Await] in ShiftExpression[?Yield, ?Await]
[...]
1. Let lref be the result of evaluating RelationalExpression.
2. Let lval be ? GetValue(lref).
3. Let rref be the result of evaluating ShiftExpression.
4. Let rval be ? GetValue(rref).
5. If Type(rval) is not Object, throw a TypeError exception.
6. Return ? HasProperty(rval, ? ToPropertyKey(lval)).
esid: sec-relational-operators
flags: [noStrict]
--- |
918 |
rhs-yield-absent-strict-strict.js |
---
description: Parsing observes the `Yield` production parameter when absent (within strict mode)
info: |
Syntax
RelationalExpression[In, Yield, Await]:
[...]
[+In] RelationalExpression[+In, ?Yield, ?Await] in ShiftExpression[?Yield, ?Await]
esid: sec-relational-operators
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
--- |
578 |
rhs-yield-present.js |
---
description: Parsing observes the `Yield` production parameter when present
info: |
Syntax
RelationalExpression[In, Yield, Await]:
[...]
[+In] RelationalExpression[+In, ?Yield, ?Await] in ShiftExpression[?Yield, ?Await]
[...]
1. Let lref be the result of evaluating RelationalExpression.
2. Let lval be ? GetValue(lref).
3. Let rref be the result of evaluating ShiftExpression.
4. Let rval be ? GetValue(rref).
5. If Type(rval) is not Object, throw a TypeError exception.
6. Return ? HasProperty(rval, ? ToPropertyKey(lval)).
esid: sec-relational-operators-runtime-semantics-evaluation
--- |
1013 |
S8.12.6_A1.js |
---
info: |
When the [[HasProperty]] method of O is called with property name P and
if O has a property with name P, return true
es5id: 8.12.6_A1
description: Try find existent property of any Object
--- |
691 |
S8.12.6_A2_T1.js |
---
info: |
When the [[HasProperty]] method of O is called with property name P and if O has not a property with name P
then If the [[Prototype]] of O is null, return false or call the [[HasProperty]] method of [[Prototype]] with property name P
es5id: 8.12.6_A2_T1
description: Try find not existent property of any Object
--- |
779 |
S8.12.6_A2_T2.js |
---
info: |
When the [[HasProperty]] method of O is called with property name P and if O has not a property with name P
then If the [[Prototype]] of O is null, return false or call the [[HasProperty]] method of [[Prototype]] with property name P
es5id: 8.12.6_A2_T2
description: >
Try find not existent property of any Object, but existent
property of this Object prototype
--- |
1819 |
S8.12.6_A3.js |
---
info: "[[hasProperty]] is sensitive to property existence but [[Get]] is not"
es5id: 8.12.6_A3
description: >
Use [[hasProperty]] and [[Get]] for existent and not existent
properties
--- |
1634 |
S11.8.7_A1.js |
---
info: |
White Space and Line Terminator between RelationalExpression and "in" and
between "in" and ShiftExpression are allowed
es5id: 11.8.7_A1
description: Checking by using eval
--- |
2019 |
S11.8.7_A2.1_T1.js |
---
info: Operator "in" uses GetValue
es5id: 11.8.7_A2.1_T1
description: Either Expression is not Reference or GetBase is not null
--- |
843 |
S11.8.7_A2.1_T2.js |
---
info: Operator "in" uses GetValue
es5id: 11.8.7_A2.1_T2
description: If GetBase(RelationalExpression) is null, throw ReferenceError
--- |
615 |
S11.8.7_A2.1_T3.js |
---
info: Operator "in" uses GetValue
es5id: 11.8.7_A2.1_T3
description: If GetBase(ShiftExpression) is null, throw ReferenceError
--- |
618 |
S11.8.7_A2.4_T1.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.7_A2.4_T1
description: Checking with "="
--- |
690 |
S11.8.7_A2.4_T2.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.7_A2.4_T2
description: Checking with "throw"
--- |
885 |
S11.8.7_A2.4_T3.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.7_A2.4_T3
description: Checking with undeclarated variables
--- |
733 |
S11.8.7_A2.4_T4.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.7_A2.4_T4
description: Checking with undeclarated variables
flags: [noStrict]
--- |
480 |
S11.8.7_A3.js |
---
info: If ShiftExpression is not an object, throw TypeError
es5id: 11.8.7_A3
description: Checking all the types of primitives
--- |
1528 |
S11.8.7_A4.js |
---
info: Operator "in" calls ToString(ShiftExpression)
es5id: 11.8.7_A4
description: Checking ToString coversion;
--- |
1136 |
shell.js |
|
0 |