mirror of https://github.com/tc39/test262.git
Add json-superset feature
This commit is contained in:
parent
ba124c31b2
commit
dbc0c6b1cc
|
@ -77,6 +77,10 @@ numeric-separator-literal
|
|||
String.prototype.matchAll
|
||||
Symbol.matchAll
|
||||
|
||||
# ECMAScript ⊃ JSON
|
||||
# https://github.com/tc39/proposal-json-superset
|
||||
json-superset
|
||||
|
||||
# Intl.Locale
|
||||
# https://github.com/tc39/proposal-intl-locale
|
||||
Intl.Locale
|
||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
|||
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]
|
||||
---*/
|
||||
|
||||
assert.sameValue(eval("'\u2028'"), "\u2028");
|
||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
|||
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]
|
||||
---*/
|
||||
|
||||
// U+2028 in strings; UTF8(0x2028) = 0xE2 0x80 0xA8
|
||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
|||
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]
|
||||
---*/
|
||||
|
||||
assert.sameValue(eval("'\u2029'"), "\u2029");
|
||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
|||
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]
|
||||
---*/
|
||||
|
||||
// U+2029 in strings; UTF8(0x2029) = 0xE2 0x80 0xA9
|
||||
|
|
Loading…
Reference in New Issue