browser.js |
|
0 |
legacy-non-octal-escape-sequence-1-strict-explicit-pragma.js |
---
esid: sec-literals-string-literals
description: >
String Literals extensions disallowed in strict mode; ZeroToThree 1
info: |
It is possible for string literals to precede a Use Strict Directive that places the enclosing
code in strict mode, and implementations must take care to not use this extended definition of
EscapeSequence with such literals. For example, attempting to parse the following source text
must fail.
Strict mode is entered via the explicit Use Strict Directive.
ZeroToThree::one of
0 1 2 3
flags: [noStrict]
negative:
phase: parse
type: SyntaxError
--- |
833 |
legacy-non-octal-escape-sequence-2-strict-explicit-pragma.js |
---
esid: sec-literals-string-literals
description: >
String Literals extensions disallowed in strict mode; ZeroToThree 2
info: |
It is possible for string literals to precede a Use Strict Directive that places the enclosing
code in strict mode, and implementations must take care to not use this extended definition of
EscapeSequence with such literals. For example, attempting to parse the following source text
must fail.
Strict mode is entered via the explicit Use Strict Directive.
ZeroToThree::one of
0 1 2 3
flags: [noStrict]
negative:
phase: parse
type: SyntaxError
--- |
833 |
legacy-non-octal-escape-sequence-3-strict-explicit-pragma.js |
---
esid: sec-literals-string-literals
description: >
String Literals extensions disallowed in strict mode; ZeroToThree 3
info: |
It is possible for string literals to precede a Use Strict Directive that places the enclosing
code in strict mode, and implementations must take care to not use this extended definition of
EscapeSequence with such literals. For example, attempting to parse the following source text
must fail.
Strict mode is entered via the explicit Use Strict Directive.
ZeroToThree::one of
0 1 2 3
flags: [noStrict]
negative:
phase: parse
type: SyntaxError
--- |
833 |
legacy-non-octal-escape-sequence-4-strict-explicit-pragma.js |
---
esid: sec-literals-string-literals
description: >
String Literals extensions disallowed in strict mode; FourToSeven 4
info: |
It is possible for string literals to precede a Use Strict Directive that places the enclosing
code in strict mode, and implementations must take care to not use this extended definition of
EscapeSequence with such literals. For example, attempting to parse the following source text
must fail.
Strict mode is entered via the explicit Use Strict Directive.
FourToSeven::one of
4 5 6 7
flags: [noStrict]
negative:
phase: parse
type: SyntaxError
--- |
833 |
legacy-non-octal-escape-sequence-5-strict-explicit-pragma.js |
---
esid: sec-literals-string-literals
description: >
String Literals extensions disallowed in strict mode; FourToSeven 5
info: |
It is possible for string literals to precede a Use Strict Directive that places the enclosing
code in strict mode, and implementations must take care to not use this extended definition of
EscapeSequence with such literals. For example, attempting to parse the following source text
must fail.
Strict mode is entered via the explicit Use Strict Directive.
FourToSeven::one of
4 5 6 7
flags: [noStrict]
negative:
phase: parse
type: SyntaxError
--- |
833 |
legacy-non-octal-escape-sequence-6-strict-explicit-pragma.js |
---
esid: sec-literals-string-literals
description: >
String Literals extensions disallowed in strict mode; FourToSeven 6
info: |
It is possible for string literals to precede a Use Strict Directive that places the enclosing
code in strict mode, and implementations must take care to not use this extended definition of
EscapeSequence with such literals. For example, attempting to parse the following source text
must fail.
Strict mode is entered via the explicit Use Strict Directive.
FourToSeven::one of
4 5 6 7
flags: [noStrict]
negative:
phase: parse
type: SyntaxError
--- |
833 |
legacy-non-octal-escape-sequence-7-strict-explicit-pragma.js |
---
esid: sec-literals-string-literals
description: >
String Literals extensions disallowed in strict mode; FourToSeven 7
info: |
It is possible for string literals to precede a Use Strict Directive that places the enclosing
code in strict mode, and implementations must take care to not use this extended definition of
EscapeSequence with such literals. For example, attempting to parse the following source text
must fail.
Strict mode is entered via the explicit Use Strict Directive.
FourToSeven::one of
4 5 6 7
flags: [noStrict]
negative:
phase: parse
type: SyntaxError
--- |
833 |
legacy-non-octal-escape-sequence-8-non-strict.js |
---
esid: sec-literals-string-literals
description: LegacyOctalEscapeSequence is not available in non-strict code - 8
info: |
EscapeSequence ::
CharacterEscapeSequence
LegacyOctalEscapeSequence
NonOctalDecimalEscapeSequence
HexEscapeSequence
UnicodeEscapeSequence
NonOctalDecimalEscapeSequence :: one of
8 9
flags: [noStrict]
--- |
569 |
legacy-non-octal-escape-sequence-8-strict-explicit-pragma.js |
---
esid: sec-literals-string-literals
description: >
String Literals extensions disallowed in strict mode; NonOctalDecimalEscapeSequence 8
info: |
It is possible for string literals to precede a Use Strict Directive that places the enclosing
code in strict mode, and implementations must take care to not use this extended definition of
EscapeSequence with such literals. For example, attempting to parse the following source text
must fail.
Strict mode is entered via the explicit Use Strict Directive.
NonOctalDecimalEscapeSequence::one of
8 9
flags: [noStrict]
negative:
phase: parse
type: SyntaxError
--- |
865 |
legacy-non-octal-escape-sequence-8-strict-strict.js |
---
esid: sec-literals-string-literals
description: LegacyOctalEscapeSequence is not enabled in strict mode code - 8
info: |
EscapeSequence ::
CharacterEscapeSequence
LegacyOctalEscapeSequence
NonOctalDecimalEscapeSequence
HexEscapeSequence
UnicodeEscapeSequence
NonOctalDecimalEscapeSequence :: one of
8 9
## 12.8.4.1 Static Semantics: Early Errors
EscapeSequence :: NonOctalDecimalEscapeSequence
- It is a Syntax Error if the source code matching this production is strict
mode code.
flags: [onlyStrict]
negative:
phase: parse
type: SyntaxError
--- |
822 |
legacy-non-octal-escape-sequence-9-non-strict.js |
---
esid: sec-literals-string-literals
description: LegacyOctalEscapeSequence is not available in non-strict code - 9
info: |
EscapeSequence ::
CharacterEscapeSequence
LegacyOctalEscapeSequence
NonOctalDecimalEscapeSequence
HexEscapeSequence
UnicodeEscapeSequence
NonOctalDecimalEscapeSequence :: one of
8 9
flags: [noStrict]
--- |
569 |
legacy-non-octal-escape-sequence-9-strict-explicit-pragma.js |
---
esid: sec-literals-string-literals
description: >
String Literals extensions disallowed in strict mode; NonOctalDecimalEscapeSequence 9
info: |
It is possible for string literals to precede a Use Strict Directive that places the enclosing
code in strict mode, and implementations must take care to not use this extended definition of
EscapeSequence with such literals. For example, attempting to parse the following source text
must fail.
Strict mode is entered via the explicit Use Strict Directive.
NonOctalDecimalEscapeSequence::one of
8 9
flags: [noStrict]
negative:
phase: parse
type: SyntaxError
--- |
865 |
legacy-non-octal-escape-sequence-9-strict-strict.js |
---
esid: sec-literals-string-literals
description: LegacyOctalEscapeSequence is not enabled in strict mode code - 9
info: |
EscapeSequence ::
CharacterEscapeSequence
LegacyOctalEscapeSequence
NonOctalDecimalEscapeSequence
HexEscapeSequence
UnicodeEscapeSequence
NonOctalDecimalEscapeSequence :: one of
8 9
## 12.8.4.1 Static Semantics: Early Errors
EscapeSequence :: NonOctalDecimalEscapeSequence
- It is a Syntax Error if the source code matching this production is strict
mode code.
flags: [onlyStrict]
negative:
phase: parse
type: SyntaxError
--- |
822 |
legacy-non-octal-escape-sequence-strict-strict.js |
---
esid: sec-template-literal-lexical-components
description: LegacyOctalEscapeSequence is not available in template literals
info: |
TemplateCharacter ::
$ [lookahead ≠ {]
\ TemplateEscapeSequence
\ NotEscapeSequence
LineContinuation
LineTerminatorSequence
SourceCharacter but not one of ` or \ or $ or LineTerminator
TemplateEscapeSequence ::
CharacterEscapeSequence
0 [lookahead ∉ DecimalDigit]
HexEscapeSequence
UnicodeEscapeSequence
flags: [onlyStrict]
negative:
phase: parse
type: SyntaxError
--- |
761 |
legacy-octal-escape-sequence-prologue-strict.js |
---
es5id: 7.8.4-1-s
description: >
A directive preceding an 'use strict' directive may not contain
an OctalEscapeSequence
negative:
phase: parse
type: SyntaxError
--- |
425 |
legacy-octal-escape-sequence-strict-strict.js |
---
esid: sec-template-literal-lexical-components
description: LegacyOctalEscapeSequence is not available in template literals
info: |
TemplateCharacter ::
$ [lookahead ≠ {]
\ TemplateEscapeSequence
\ NotEscapeSequence
LineContinuation
LineTerminatorSequence
SourceCharacter but not one of ` or \ or $ or LineTerminator
TemplateEscapeSequence ::
CharacterEscapeSequence
0 [lookahead ∉ DecimalDigit]
HexEscapeSequence
UnicodeEscapeSequence
flags: [onlyStrict]
negative:
phase: parse
type: SyntaxError
--- |
769 |
legacy-octal-escape-sequence.js |
---
esid: sec-literals-string-literals
description: String value for LegacyOctalEscapeSequence
info: |
EscapeSequence ::
CharacterEscapeSequence
LegacyOctalEscapeSequence
NonOctalDecimalEscapeSequence
HexEscapeSequence
UnicodeEscapeSequence
LegacyOctalEscapeSequence ::
OctalDigit [lookahead ∉ OctalDigit]
ZeroToThree OctalDigit [lookahead ∉ OctalDigit]
FourToSeven OctalDigit
ZeroToThree OctalDigit OctalDigit
ZeroToThree :: one of
0 1 2 3
FourToSeven :: one of
4 5 6 7
flags: [noStrict]
--- |
5830 |
line-continuation-double.js |
---
esid: sec-literals-string-literals
description: >
Line terminators may occur within string literals as part of a |LineContinuation|
to produce the empty code points sequence.
info: |
11.8.4 String Literals
StringLiteral ::
`"` DoubleStringCharacters? `"`
`'` SingleStringCharacters? `'`
DoubleStringCharacters ::
DoubleStringCharacter DoubleStringCharacters?
DoubleStringCharacter ::
SourceCharacter but not one of `"` or `\` or LineTerminator
<LS>
<PS>
`\` EscapeSequence
LineContinuation
LineContinuation ::
`\` LineTerminatorSequence
11.3 Line Terminators
LineTerminatorSequence ::
<LF>
<CR> [lookahead != <LF>]
<LS>
<PS>
<CR> <LF>
11.8.4.2 Static Semantics: SV
The SV of DoubleStringCharacter :: LineContinuation is the empty code unit sequence.
--- |
1480 |
line-continuation-single.js |
---
esid: sec-literals-string-literals
description: >
Line terminators may occur within string literals as part of a |LineContinuation|
to produce the empty code points sequence.
info: |
11.8.4 String Literals
StringLiteral ::
`"` DoubleStringCharacters? `"`
`'` SingleStringCharacters? `'`
SingleStringCharacters ::
SingleStringCharacter SingleStringCharacters?
SingleStringCharacter ::
SourceCharacter but not one of `'` or `\` or LineTerminator
<LS>
<PS>
`\` EscapeSequence
LineContinuation
LineContinuation ::
`\` LineTerminatorSequence
11.3 Line Terminators
LineTerminatorSequence ::
<LF>
<CR> [lookahead != <LF>]
<LS>
<PS>
<CR> <LF>
11.8.4.2 Static Semantics: SV
The SV of SingleStringCharacter :: LineContinuation is the empty code unit sequence.
--- |
1480 |
line-separator-eval.js |
---
esid: sec-literals-string-literals
description: >
U+2028 LINE SEPARATOR can appear in string literals (eval code).
info: |
11.8.4 String Literals
All code points may appear literally in a string literal except for the
closing quote code points, U+005C (REVERSE SOLIDUS), U+000D (CARRIAGE RETURN),
and U+000A (LINE FEED).
features: [json-superset]
--- |
570 |
line-separator.js |
---
esid: sec-literals-string-literals
description: >
U+2028 LINE SEPARATOR can appear in string literals.
info: |
11.8.4 String Literals
All code points may appear literally in a string literal except for the
closing quote code points, U+005C (REVERSE SOLIDUS), U+000D (CARRIAGE RETURN),
and U+000A (LINE FEED).
features: [json-superset]
--- |
599 |
mongolian-vowel-separator-eval.js |
---
esid: sec-unicode-format-control-characters
description: >
Mongolian Vowel Separator can appear in string literals (eval code).
info: |
11.1 Unicode Format-Control Characters
The Unicode format-control characters (i.e., the characters in category “Cf”
in the Unicode Character Database such as LEFT-TO-RIGHT MARK or RIGHT-TO-LEFT
MARK) are control codes used to control the formatting of a range of text in
the absence of higher-level protocols for this (such as mark-up languages).
It is useful to allow format-control characters in source text to facilitate
editing and display. All format control characters may be used within comments,
and within string literals, template literals, and regular expression literals.
features: [u180e]
--- |
974 |
mongolian-vowel-separator.js |
---
esid: sec-unicode-format-control-characters
description: >
Mongolian Vowel Separator can appear in string literals.
info: |
11.1 Unicode Format-Control Characters
The Unicode format-control characters (i.e., the characters in category “Cf”
in the Unicode Character Database such as LEFT-TO-RIGHT MARK or RIGHT-TO-LEFT
MARK) are control codes used to control the formatting of a range of text in
the absence of higher-level protocols for this (such as mark-up languages).
It is useful to allow format-control characters in source text to facilitate
editing and display. All format control characters may be used within comments,
and within string literals, template literals, and regular expression literals.
features: [u180e]
--- |
1003 |
paragraph-separator-eval.js |
---
esid: sec-literals-string-literals
description: >
U+2029 PARAGRAPH SEPARATOR can appear in string literals (eval code).
info: |
11.8.4 String Literals
All code points may appear literally in a string literal except for the
closing quote code points, U+005C (REVERSE SOLIDUS), U+000D (CARRIAGE RETURN),
and U+000A (LINE FEED).
features: [json-superset]
--- |
575 |
paragraph-separator.js |
---
esid: sec-literals-string-literals
description: >
U+2029 PARAGRAPH SEPARATOR can appear in string literals.
info: |
11.8.4 String Literals
All code points may appear literally in a string literal except for the
closing quote code points, U+005C (REVERSE SOLIDUS), U+000D (CARRIAGE RETURN),
and U+000A (LINE FEED).
features: [json-superset]
--- |
604 |
S7.8.4_A1.1_T1.js |
---
info: "StringLiteral :: \"DoubleStringCharacters_opt\""
es5id: 7.8.4_A1.1_T1
description: >
DoubleStringCharacter :: SourceCharacter but not double-quote " or
LineTerminator
negative:
phase: parse
type: SyntaxError
--- |
437 |
S7.8.4_A1.1_T2.js |
---
info: "StringLiteral :: \"DoubleStringCharacters_opt\""
es5id: 7.8.4_A1.1_T2
description: >
DoubleStringCharacter :: SourceCharacter but not double-quote " or
LineTerminator
negative:
phase: parse
type: SyntaxError
--- |
437 |
S7.8.4_A1.2_T1.js |
---
info: "StringLiteral :: 'SingleStringCharacters_opt'"
es5id: 7.8.4_A1.2_T1
description: >
SingleStringCharacter :: SourceCharacter but not single-quote ' or
LineTerminator
negative:
phase: parse
type: SyntaxError
--- |
435 |
S7.8.4_A1.2_T2.js |
---
info: "StringLiteral :: 'SingleStringCharacters_opt'"
es5id: 7.8.4_A1.2_T2
description: >
SingleStringCharacter :: SourceCharacter but not single-quote ' or
LineTerminator
negative:
phase: parse
type: SyntaxError
--- |
435 |
S7.8.4_A2.1_T1.js |
---
info: Correct interpretation of ENGLISH ALPHABET
es5id: 7.8.4_A2.1_T1
description: Check ENGLISH CAPITAL ALPHABET
--- |
871 |
S7.8.4_A2.1_T2.js |
---
info: Correct interpretation of ENGLISH ALPHABET
es5id: 7.8.4_A2.1_T2
description: Check ENGLISH SMALL ALPHABET
--- |
861 |
S7.8.4_A2.2_T1.js |
---
info: Correct interpretation of RUSSIAN ALPHABET
es5id: 7.8.4_A2.2_T1
description: Check RUSSIAN CAPITAL ALPHABET
--- |
1011 |
S7.8.4_A2.2_T2.js |
---
info: Correct interpretation of RUSSIAN ALPHABET
es5id: 7.8.4_A2.2_T2
description: Check RUSSIAN SMALL ALPHABET
--- |
1009 |
S7.8.4_A2.3_T1.js |
---
info: Correct interpretation of DIGITS
es5id: 7.8.4_A2.3_T1
description: Check DIGITS
--- |
602 |
S7.8.4_A3.1_T1.js |
---
info: "StringLiteral :: \"\\\" or '\\' is not correct"
es5id: 7.8.4_A3.1_T1
description: Checking if execution of "\" fails
negative:
phase: parse
type: SyntaxError
--- |
379 |
S7.8.4_A3.1_T2.js |
---
info: "StringLiteral :: \"\\\" or '\\' is not correct"
es5id: 7.8.4_A3.1_T2
description: Checking if execution of "'\'" fails
negative:
phase: parse
type: SyntaxError
--- |
381 |
S7.8.4_A3.2_T1.js |
---
info: "StringLiteral :: \"\\\\\\\" or '\\\\\\' is not correct"
es5id: 7.8.4_A3.2_T1
description: Checking if execution of "\\\" fails
negative:
phase: parse
type: SyntaxError
--- |
391 |
S7.8.4_A3.2_T2.js |
---
info: "StringLiteral :: \"\\\\\\\" or '\\\\\\' is not correct"
es5id: 7.8.4_A3.2_T2
description: Checking if execution of '\\\' fails
negative:
phase: parse
type: SyntaxError
--- |
391 |
S7.8.4_A4.1_T1.js |
---
info: "CharacterEscapeSequnce :: SingleEscapeSequence"
es5id: 7.8.4_A4.1_T1
description: "SingleEscapeSequence :: one of b f n r t v"
--- |
1069 |
S7.8.4_A4.1_T2.js |
---
info: "CharacterEscapeSequnce :: SingleEscapeSequence"
es5id: 7.8.4_A4.1_T2
description: "SingleEscapeSequence :: one of ' \" \\"
--- |
853 |
S7.8.4_A4.2_T1.js |
---
info: "CharacterEscapeSequnce :: NonEscapeSequence"
es5id: 7.8.4_A4.2_T1
description: "NonEscapeSequence :: ENGLISH CAPITAL ALPHABET"
--- |
925 |
S7.8.4_A4.2_T2.js |
---
info: "CharacterEscapeSequnce :: NonEscapeSequence"
es5id: 7.8.4_A4.2_T2
description: "NonEscapeSequence :: ENGLISH CAPITAL ALPHABET"
--- |
1743 |
S7.8.4_A4.2_T3.js |
---
info: "CharacterEscapeSequnce :: NonEscapeSequence"
es5id: 7.8.4_A4.2_T3
description: "NonEscapeSequence :: ENGLISH SMALL ALPHABET"
--- |
842 |
S7.8.4_A4.2_T4.js |
---
info: "CharacterEscapeSequnce :: NonEscapeSequence"
es5id: 7.8.4_A4.2_T4
description: "NonEscapeSequence :: ENGLISH SMALL ALPHABET"
--- |
1334 |
S7.8.4_A4.2_T5.js |
---
info: "CharacterEscapeSequnce :: NonEscapeSequence"
es5id: 7.8.4_A4.2_T5
description: "NonEscapeSequence :: RUSSIAN CAPITAL ALPHABET"
--- |
1058 |
S7.8.4_A4.2_T6.js |
---
info: "CharacterEscapeSequnce :: NonEscapeSequence"
es5id: 7.8.4_A4.2_T6
description: "NonEscapeSequence :: RUSSIAN CAPITAL ALPHABET"
--- |
2230 |
S7.8.4_A4.2_T7.js |
---
info: "CharacterEscapeSequnce :: NonEscapeSequence"
es5id: 7.8.4_A4.2_T7
description: "NonEscapeSequence :: RUSSIAN SMALL ALPHABET"
--- |
1056 |
S7.8.4_A4.2_T8.js |
---
info: "CharacterEscapeSequnce :: NonEscapeSequence"
es5id: 7.8.4_A4.2_T8
description: "NonEscapeSequence :: RUSSIAN SMALL ALPHABET"
--- |
2228 |
S7.8.4_A4.3_T1-strict.js |
---
info: NonEscapeSequence is not EscapeCharacter
es5id: 7.8.4_A4.3_T1
description: "EscapeCharacter :: DecimalDigits :: 1"
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
--- |
401 |
S7.8.4_A4.3_T2-strict.js |
---
info: NonEscapeSequence is not EscapeCharacter
es5id: 7.8.4_A4.3_T2
description: "EscapeCharacter :: DecimalDigits :: 7"
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
--- |
401 |
S7.8.4_A4.3_T7.js |
---
info: NonEscapeSequence is not EscapeCharacter
es5id: 7.8.4_A4.3_T7
description: "EscapeCharacter :: SingleEscapeCharacter :: one of b f n r t v"
--- |
658 |
S7.8.4_A5.1_T1.js |
---
info: "EscapeSequence :: 0"
es5id: 7.8.4_A5.1_T1
description: String.fromCharCode(0x0000)
--- |
385 |
S7.8.4_A5.1_T2.js |
---
info: "EscapeSequence :: 0"
es5id: 7.8.4_A5.1_T2
description: "\"\\u0000\""
--- |
334 |
S7.8.4_A5.1_T3.js |
---
info: "EscapeSequence :: 0"
es5id: 7.8.4_A5.1_T3
description: "\"\\x00\""
--- |
328 |
S7.8.4_A6.1_T1.js |
---
info: "EscapeSequence :: HexEscapeSequence :: x HexDigit HexDigit"
es5id: 7.8.4_A6.1_T1
description: "HexEscapeSequence :: HexDigit"
--- |
2329 |
S7.8.4_A6.1_T2.js |
---
info: "EscapeSequence :: HexEscapeSequence :: x HexDigit HexDigit"
es5id: 7.8.4_A6.1_T2
description: "HexEscapeSequence :: ENGLISH CAPITAL ALPHABET"
--- |
847 |
S7.8.4_A6.1_T3.js |
---
info: "EscapeSequence :: HexEscapeSequence :: x HexDigit HexDigit"
es5id: 7.8.4_A6.1_T3
description: "HexEscapeSequence :: ENGLISH SMALL ALPHABET"
--- |
845 |
S7.8.4_A6.3_T1.js |
---
info: \x HexDigit HexDigit SingleStringCharacter
es5id: 7.8.4_A6.3_T1
description: Check similar to ('\x01F' === String.fromCharCode('1') + 'F')
--- |
2409 |
S7.8.4_A7.1_T1.js |
---
info: |
EscapeSequence :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit
HexDigit
es5id: 7.8.4_A7.1_T1
description: Check similar to ("\u0000" === String.fromCharCode("0"))
--- |
2447 |
S7.8.4_A7.1_T2.js |
---
info: |
EscapeSequence :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit
HexDigit
es5id: 7.8.4_A7.1_T2
description: "UnicodeEscapeSequence :: ENGLISH CAPITAL ALPHABET"
--- |
941 |
S7.8.4_A7.1_T3.js |
---
info: |
EscapeSequence :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit
HexDigit
es5id: 7.8.4_A7.1_T3
description: "UnicodeEscapeSequence :: ENGLISH SMALL ALPHABET"
--- |
939 |
S7.8.4_A7.1_T4.js |
---
info: |
EscapeSequence :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit
HexDigit
es5id: 7.8.4_A7.1_T4
description: "UnicodeEscapeSequence :: u000G is incorrect"
negative:
phase: parse
type: SyntaxError
--- |
436 |
S7.8.4_A7.2_T1.js |
---
info: "UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect"
es5id: 7.8.4_A7.2_T1
description: ":: HexDigit :: 1"
negative:
phase: parse
type: SyntaxError
--- |
392 |
S7.8.4_A7.2_T2.js |
---
info: "UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect"
es5id: 7.8.4_A7.2_T2
description: ":: HexDigit :: A"
negative:
phase: parse
type: SyntaxError
--- |
392 |
S7.8.4_A7.2_T3.js |
---
info: "UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect"
es5id: 7.8.4_A7.2_T3
description: ":: HexDigit :: 1"
negative:
phase: parse
type: SyntaxError
--- |
393 |
S7.8.4_A7.2_T4.js |
---
info: "UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect"
es5id: 7.8.4_A7.2_T4
description: ":: HexDigit :: A"
negative:
phase: parse
type: SyntaxError
--- |
393 |
S7.8.4_A7.2_T5.js |
---
info: "UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect"
es5id: 7.8.4_A7.2_T5
description: ":: HexDigit :: 1"
negative:
phase: parse
type: SyntaxError
--- |
394 |
S7.8.4_A7.2_T6.js |
---
info: "UnicodeEscapeSequence :: u HexDigit (one, two or three time) is incorrect"
es5id: 7.8.4_A7.2_T6
description: ":: HexDigit :: A"
negative:
phase: parse
type: SyntaxError
--- |
394 |
S7.8.4_A7.3_T1.js |
---
info: \u HexDigit HexDigit HexDigit HexDigit DoubleStringCharacter
es5id: 7.8.4_A7.3_T1
description: Check similar to ("\u0001F" === String.fromCharCode("1") + "F")
--- |
2504 |
shell.js |
|
0 |
unicode-escape-nls-err-double.js |
---
esid: prod-StringLiteral
description: NumericLiteralSeperator disallowed in unicode CodePoint sequence (DoubleStringCharacters)
info: |
StringLiteral::
"DoubleStringCharacters opt"
'SingleStringCharacters opt'
DoubleStringCharacters::
DoubleStringCharacter DoubleStringCharacters opt
DoubleStringCharacter::
SourceCharacter but not one of " or \ or LineTerminator
\ EscapeSequence
LineContinuation
EscapeSequence::
CharacterEscapeSequence
0 [lookahead ∉ DecimalDigit]
HexEscapeSequence
UnicodeEscapeSequence
UnicodeEscapeSequence ::
uHex4Digits
u{CodePoint}
CodePoint ::
HexDigit but only if MV of HexDigits ≤ 0x10FFFF
CodePointDigits but only if MV of HexDigits ≤ 0x10FFFF
CodePointDigits ::
HexDigit
CodePointDigitsHexDigit
HexDigit :: one of
0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F
features: [numeric-separator-literal]
negative:
phase: parse
type: SyntaxError
--- |
1153 |
unicode-escape-nls-err-single.js |
---
esid: prod-StringLiteral
description: NumericLiteralSeperator disallowed in unicode CodePoint sequence (DoubleStringCharacters)
info: |
StringLiteral::
"DoubleStringCharacters opt"
'SingleStringCharacters opt'
SingleStringCharacters::
SingleStringCharacterSingleStringCharactersopt
SingleStringCharacter::
SourceCharacterbut not one of ' or \ or LineTerminator
\ EscapeSequence
LineContinuation
EscapeSequence::
CharacterEscapeSequence
0 [lookahead ∉ DecimalDigit]
HexEscapeSequence
UnicodeEscapeSequence
UnicodeEscapeSequence ::
uHex4Digits
u{CodePoint}
CodePoint ::
HexDigit but only if MV of HexDigits ≤ 0x10FFFF
CodePointDigits but only if MV of HexDigits ≤ 0x10FFFF
CodePointDigits ::
HexDigit
CodePointDigitsHexDigit
HexDigit :: one of
0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F
features: [numeric-separator-literal]
negative:
phase: parse
type: SyntaxError
--- |
1151 |
unicode-escape-no-hex-err-double.js |
---
esid: prod-StringLiteral
description: >
\u is at the end of string, Hex4Digits is required.
info: |
StringLiteral ::
" DoubleStringCharacters_opt "
' SingleStringCharacters_opt '
DoubleStringCharacters ::
DoubleStringCharacter DoubleStringCharacters_opt
DoubleStringCharacter ::
SourceCharacter but not one of " or \ or LineTerminator
<LS>
<PS>
\ EscapeSequence
LineContinuation
EscapeSequence ::
CharacterEscapeSequence
0 [lookahead ∉ DecimalDigit]
HexEscapeSequence
UnicodeEscapeSequence
UnicodeEscapeSequence ::
u Hex4Digits
u{ CodePoint }
Hex4Digits ::
HexDigit HexDigit HexDigit HexDigit
HexDigit :: one of
0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F
negative:
phase: parse
type: SyntaxError
--- |
989 |
unicode-escape-no-hex-err-single.js |
---
esid: prod-StringLiteral
description: >
\u is at the end of string, Hex4Digits is required.
info: |
StringLiteral ::
" DoubleStringCharacters_opt "
' SingleStringCharacters_opt '
SingleStringCharacters ::
SingleStringCharacter SingleStringCharacters_opt
SingleStringCharacter ::
SourceCharacter but not one of ' or \ or LineTerminator
<LS>
<PS>
\ EscapeSequence
LineContinuation
EscapeSequence ::
CharacterEscapeSequence
0 [lookahead ∉ DecimalDigit]
HexEscapeSequence
UnicodeEscapeSequence
UnicodeEscapeSequence ::
u Hex4Digits
u{ CodePoint }
Hex4Digits ::
HexDigit HexDigit HexDigit HexDigit
HexDigit :: one of
0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F
negative:
phase: parse
type: SyntaxError
--- |
989 |