| 7.8.4-1-s.js |
---
es5id: 7.8.4-1-s
description: >
A directive preceeding an 'use strict' directive may not contain
an OctalEscapeSequence
--- |
424 |
- |
| 7.8.4-1gs.js |
---
es5id: 7.8.4-1gs
description: >
Strict Mode - OctalEscapeSequence(\0110) is forbidden in strict
mode
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
--- |
415 |
- |
| 7.8.4-2-s.js |
---
es5id: 7.8.4-2-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
341 |
- |
| 7.8.4-3-s.js |
---
es5id: 7.8.4-3-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
342 |
- |
| 7.8.4-4-s.js |
---
es5id: 7.8.4-4-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
342 |
- |
| 7.8.4-5-s.js |
---
es5id: 7.8.4-5-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
343 |
- |
| 7.8.4-6-s.js |
---
es5id: 7.8.4-6-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
343 |
- |
| 7.8.4-7-s.js |
---
es5id: 7.8.4-7-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
344 |
- |
| 7.8.4-8-s.js |
---
es5id: 7.8.4-8-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
343 |
- |
| 7.8.4-10-s.js |
---
es5id: 7.8.4-10-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
345 |
- |
| 7.8.4-11-s.js |
---
es5id: 7.8.4-11-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
343 |
- |
| 7.8.4-12-s.js |
---
es5id: 7.8.4-12-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
343 |
- |
| 7.8.4-13-s.js |
---
es5id: 7.8.4-13-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
343 |
- |
| 7.8.4-14-s.js |
---
es5id: 7.8.4-14-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
343 |
- |
| 7.8.4-15-s.js |
---
es5id: 7.8.4-15-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
343 |
- |
| 7.8.4-16-s.js |
---
es5id: 7.8.4-16-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
344 |
- |
| 7.8.4-17-s.js |
---
es5id: 7.8.4-17-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
344 |
- |
| 7.8.4-18-s.js |
---
es5id: 7.8.4-18-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
344 |
- |
| 7.8.4-19-s.js |
---
es5id: 7.8.4-19-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
344 |
- |
| 7.8.4-20-s.js |
---
es5id: 7.8.4-20-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
344 |
- |
| 7.8.4-21-s.js |
---
es5id: 7.8.4-21-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
343 |
- |
| 7.8.4-22-s.js |
---
es5id: 7.8.4-22-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
344 |
- |
| 7.8.4-23-s.js |
---
es5id: 7.8.4-23-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
344 |
- |
| 7.8.4-24-s.js |
---
es5id: 7.8.4-24-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
344 |
- |
| 7.8.4-25-s.js |
---
es5id: 7.8.4-25-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
344 |
- |
| 7.8.4-26-s.js |
---
es5id: 7.8.4-26-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
344 |
- |
| 7.8.4-27-s.js |
---
es5id: 7.8.4-27-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
344 |
- |
| 7.8.4-28-s.js |
---
es5id: 7.8.4-28-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
344 |
- |
| 7.8.4-29-s.js |
---
es5id: 7.8.4-29-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
345 |
- |
| 7.8.4-30-s.js |
---
es5id: 7.8.4-30-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
347 |
- |
| 7.8.4-31-s.js |
---
es5id: 7.8.4-31-s
description: An OctalEscapeSequence is not allowed in a String under Strict Mode
flags: [onlyStrict]
--- |
347 |
- |
| 7.8.4-32-s.js |
---
es5id: 7.8.4-32-s
description: >
Two OctalEscapeSequences in a String are not allowed in a String
under Strict Mode
flags: [onlyStrict]
--- |
370 |
- |
| 7.8.4-33-s.js |
---
es5id: 7.8.4-33-s
description: >
Three OctalEscapeSequences in a String are not allowed in a String
under Strict Mode
flags: [onlyStrict]
--- |
375 |
- |
| legacy-non-octal-escape-sequence-strict.js |
---
esid: sec-additional-syntax-string-literals
es6id: B.1.2
description: >
LegacyOctalEscapeSequence is not enabled in strict mode code (regardless of
the presence of Annex B)
info: |
EscapeSequence ::
CharacterEscapeSequence
LegacyOctalEscapeSequence
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
This definition of EscapeSequence is not used in strict mode or when
parsing TemplateCharacter.
flags: [onlyStrict]
negative:
phase: parse
type: SyntaxError
--- |
988 |
- |
| legacy-octal-escape-sequence-strict.js |
---
esid: sec-additional-syntax-string-literals
es6id: B.1.2
description: >
LegacyOctalEscapeSequence is not enabled in strict mode code (regardless of
the presence of Annex B)
info: |
EscapeSequence ::
CharacterEscapeSequence
LegacyOctalEscapeSequence
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
This definition of EscapeSequence is not used in strict mode or when
parsing TemplateCharacter.
flags: [onlyStrict]
negative:
phase: parse
type: SyntaxError
--- |
996 |
- |
| 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]
--- |
952 |
- |
| 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]
--- |
981 |
- |
| 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
--- |
446 |
- |
| 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
--- |
446 |
- |
| 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
--- |
444 |
- |
| 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
--- |
444 |
- |
| 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
--- |
833 |
- |
| 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
--- |
823 |
- |
| 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
--- |
973 |
- |
| 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
--- |
971 |
- |
| S7.8.4_A2.3_T1.js |
---
info: Correct interpretation of DIGITS
es5id: 7.8.4_A2.3_T1
description: Check DIGITS
--- |
564 |
- |
| 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
--- |
388 |
- |
| 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
--- |
390 |
- |
| 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
--- |
400 |
- |
| 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
--- |
400 |
- |
| 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"
--- |
951 |
- |
| S7.8.4_A4.1_T2.js |
---
info: "CharacterEscapeSequnce :: SingleEscapeSequence"
es5id: 7.8.4_A4.1_T2
description: "SingleEscapeSequence :: one of ' \" \\"
--- |
751 |
- |
| S7.8.4_A4.2_T1.js |
---
info: "CharacterEscapeSequnce :: NonEscapeSequence"
es5id: 7.8.4_A4.2_T1
description: "NonEscapeSequence :: ENGLISH CAPITAL ALPHABET"
--- |
887 |
- |
| S7.8.4_A4.2_T2.js |
---
info: "CharacterEscapeSequnce :: NonEscapeSequence"
es5id: 7.8.4_A4.2_T2
description: "NonEscapeSequence :: ENGLISH CAPITAL ALPHABET"
--- |
1305 |
- |
| S7.8.4_A4.2_T3.js |
---
info: "CharacterEscapeSequnce :: NonEscapeSequence"
es5id: 7.8.4_A4.2_T3
description: "NonEscapeSequence :: ENGLISH SMALL ALPHABET"
--- |
804 |
- |
| S7.8.4_A4.2_T4.js |
---
info: "CharacterEscapeSequnce :: NonEscapeSequence"
es5id: 7.8.4_A4.2_T4
description: "NonEscapeSequence :: ENGLISH SMALL ALPHABET"
--- |
1024 |
- |
| S7.8.4_A4.2_T5.js |
---
info: "CharacterEscapeSequnce :: NonEscapeSequence"
es5id: 7.8.4_A4.2_T5
description: "NonEscapeSequence :: RUSSIAN CAPITAL ALPHABET"
--- |
1020 |
- |
| S7.8.4_A4.2_T6.js |
---
info: "CharacterEscapeSequnce :: NonEscapeSequence"
es5id: 7.8.4_A4.2_T6
description: "NonEscapeSequence :: RUSSIAN CAPITAL ALPHABET"
--- |
1680 |
- |
| S7.8.4_A4.2_T7.js |
---
info: "CharacterEscapeSequnce :: NonEscapeSequence"
es5id: 7.8.4_A4.2_T7
description: "NonEscapeSequence :: RUSSIAN SMALL ALPHABET"
--- |
1018 |
- |
| S7.8.4_A4.2_T8.js |
---
info: "CharacterEscapeSequnce :: NonEscapeSequence"
es5id: 7.8.4_A4.2_T8
description: "NonEscapeSequence :: RUSSIAN SMALL ALPHABET"
--- |
1678 |
- |
| S7.8.4_A4.3_T1.js |
---
info: NonEscapeSequence is not EscapeCharacter
es5id: 7.8.4_A4.3_T1
description: "EscapeCharacter :: DecimalDigits :: 1"
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
--- |
396 |
- |
| S7.8.4_A4.3_T2.js |
---
info: NonEscapeSequence is not EscapeCharacter
es5id: 7.8.4_A4.3_T2
description: "EscapeCharacter :: DecimalDigits :: 7"
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
--- |
396 |
- |
| 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"
--- |
540 |
- |
| S7.8.4_A5.1_T1.js |
---
info: "EscapeSequence :: 0"
es5id: 7.8.4_A5.1_T1
description: String.fromCharCode(0x0000)
--- |
347 |
- |
| S7.8.4_A5.1_T2.js |
---
info: "EscapeSequence :: 0"
es5id: 7.8.4_A5.1_T2
description: "\"\\u0000\""
--- |
296 |
- |
| S7.8.4_A5.1_T3.js |
---
info: "EscapeSequence :: 0"
es5id: 7.8.4_A5.1_T3
description: "\"\\x00\""
--- |
290 |
- |
| S7.8.4_A6.1_T1.js |
---
info: "EscapeSequence :: HexEscapeSequence :: x HexDigit HexDigit"
es5id: 7.8.4_A6.1_T1
description: "HexEscapeSequence :: HexDigit"
--- |
2051 |
- |
| 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"
--- |
809 |
- |
| 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"
--- |
807 |
- |
| 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')
--- |
2147 |
- |
| 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"))
--- |
2169 |
- |
| 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"
--- |
903 |
- |
| 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"
--- |
901 |
- |
| 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
--- |
445 |
- |
| 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
--- |
401 |
- |
| 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
--- |
401 |
- |
| 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
--- |
402 |
- |
| 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
--- |
402 |
- |
| 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
--- |
403 |
- |
| 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
--- |
403 |
- |
| 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")
--- |
2242 |
- |
| 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
--- |
1162 |
- |
| 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
--- |
1160 |
- |