| Differences between
and this patch
- a/Source/JavaScriptCore/ChangeLog +16 lines
Lines 1-3 a/Source/JavaScriptCore/ChangeLog_sec1
1
2018-11-08  Ross Kirsling  <ross.kirsling@sony.com>
2
3
        U+180E is no longer a whitespace character
4
        https://bugs.webkit.org/show_bug.cgi?id=191415
5
6
        Reviewed by NOBODY (OOPS!).
7
8
        Mongolian Vowel Separator stopped being a valid whitespace character as of ES2016.
9
        (https://github.com/tc39/ecma262/pull/300)
10
11
        * parser/Lexer.h:
12
        (JSC::Lexer<UChar>::isWhiteSpace):
13
        * runtime/ParseInt.h:
14
        (JSC::isStrWhiteSpace):
15
        * yarr/create_regex_tables:
16
1
2018-11-07  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
17
2018-11-07  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
2
18
3
        Consider removing double load for accessing the MetadataTable from LLInt
19
        Consider removing double load for accessing the MetadataTable from LLInt
- a/Source/JavaScriptCore/parser/Lexer.h -2 / +1 lines
Lines 240-247 ALWAYS_INLINE bool Lexer<LChar>::isWhiteSpace(LChar ch) a/Source/JavaScriptCore/parser/Lexer.h_sec1
240
template <>
240
template <>
241
ALWAYS_INLINE bool Lexer<UChar>::isWhiteSpace(UChar ch)
241
ALWAYS_INLINE bool Lexer<UChar>::isWhiteSpace(UChar ch)
242
{
242
{
243
    // 0x180E used to be in Zs category before Unicode 6.3, and EcmaScript says that we should keep treating it as such.
243
    return (ch < 256) ? Lexer<LChar>::isWhiteSpace(static_cast<LChar>(ch)) : (u_charType(ch) == U_SPACE_SEPARATOR || ch == 0xFEFF);
244
    return (ch < 256) ? Lexer<LChar>::isWhiteSpace(static_cast<LChar>(ch)) : (u_charType(ch) == U_SPACE_SEPARATOR || ch == 0x180E || ch == 0xFEFF);
245
}
244
}
246
245
247
template <>
246
template <>
- a/Source/JavaScriptCore/runtime/ParseInt.h -1 lines
Lines 110-116 ALWAYS_INLINE static bool isStrWhiteSpace(UChar c) a/Source/JavaScriptCore/runtime/ParseInt.h_sec1
110
    case 0x000D:
110
    case 0x000D:
111
    case 0x0020:
111
    case 0x0020:
112
    case 0x00A0:
112
    case 0x00A0:
113
    case 0x180E: // This character used to be in Zs category before Unicode 6.3, and EcmaScript says that we should keep treating it as such.
114
    case 0x2028:
113
    case 0x2028:
115
    case 0x2029:
114
    case 0x2029:
116
    case 0xFEFF:
115
    case 0xFEFF:
- a/Source/JavaScriptCore/yarr/create_regex_tables -1 / +1 lines
Lines 32-38 types = { a/Source/JavaScriptCore/yarr/create_regex_tables_sec1
32
    "nonwordchar": { "UseTable" : True, "Inverse": "wordchar", "data": ['`', (0, ord('0') - 1), (ord('9') + 1, ord('A') - 1), (ord('Z') + 1, ord('_') - 1), (ord('z') + 1, 0x10ffff)]},
32
    "nonwordchar": { "UseTable" : True, "Inverse": "wordchar", "data": ['`', (0, ord('0') - 1), (ord('9') + 1, ord('A') - 1), (ord('Z') + 1, ord('_') - 1), (ord('z') + 1, 0x10ffff)]},
33
    "nonwordUnicodeIgnoreCaseChar": { "UseTable" : False, "Inverse": "wordUnicodeIgnoreCaseChar", "data": ['`', (0, ord('0') - 1), (ord('9') + 1, ord('A') - 1), (ord('Z') + 1, ord('_') - 1), (ord('z') + 1, 0x017e), (0x0180, 0x2129), (0x212b, 0x10ffff)]},
33
    "nonwordUnicodeIgnoreCaseChar": { "UseTable" : False, "Inverse": "wordUnicodeIgnoreCaseChar", "data": ['`', (0, ord('0') - 1), (ord('9') + 1, ord('A') - 1), (ord('Z') + 1, ord('_') - 1), (ord('z') + 1, 0x017e), (0x0180, 0x2129), (0x212b, 0x10ffff)]},
34
    "newline": { "UseTable" : False, "data": ['\n', '\r', 0x2028, 0x2029]},
34
    "newline": { "UseTable" : False, "data": ['\n', '\r', 0x2028, 0x2029]},
35
    "spaces": { "UseTable" : True, "data": [' ', ('\t', '\r'), 0xa0, 0x1680, 0x180e, 0x2028, 0x2029, 0x202f, 0x205f, 0x3000, (0x2000, 0x200a), 0xfeff]},
35
    "spaces": { "UseTable" : True, "data": [' ', ('\t', '\r'), 0xa0, 0x1680, 0x2028, 0x2029, 0x202f, 0x205f, 0x3000, (0x2000, 0x200a), 0xfeff]},
36
    "nonspaces": { "UseTable" : True, "Inverse": "spaces", "data": [(0, ord('\t') - 1), (ord('\r') + 1, ord(' ') - 1), (ord(' ') + 1, 0x009f), (0x00a1, 0x167f), (0x1681, 0x180d), (0x180f, 0x1fff), (0x200b, 0x2027), (0x202a, 0x202e), (0x2030, 0x205e), (0x2060, 0x2fff), (0x3001, 0xfefe), (0xff00, 0x10ffff)]},
36
    "nonspaces": { "UseTable" : True, "Inverse": "spaces", "data": [(0, ord('\t') - 1), (ord('\r') + 1, ord(' ') - 1), (ord(' ') + 1, 0x009f), (0x00a1, 0x167f), (0x1681, 0x180d), (0x180f, 0x1fff), (0x200b, 0x2027), (0x202a, 0x202e), (0x2030, 0x205e), (0x2060, 0x2fff), (0x3001, 0xfefe), (0xff00, 0x10ffff)]},
37
    "digits": { "UseTable" : False, "data": [('0', '9')]},
37
    "digits": { "UseTable" : False, "data": [('0', '9')]},
38
    "nondigits": { "UseTable" : False, "Inverse": "digits", "data": [(0, ord('0') - 1), (ord('9') + 1, 0x10ffff)] }
38
    "nondigits": { "UseTable" : False, "Inverse": "digits", "data": [(0, ord('0') - 1), (ord('9') + 1, 0x10ffff)] }
- a/LayoutTests/ChangeLog +31 lines
Lines 1-3 a/LayoutTests/ChangeLog_sec1
1
2018-11-08  Ross Kirsling  <ross.kirsling@sony.com>
2
3
        U+180E is no longer a whitespace character
4
        https://bugs.webkit.org/show_bug.cgi?id=191415
5
6
        Reviewed by NOBODY (OOPS!).
7
8
        * js/ToNumber-expected.txt:
9
        * js/parseFloat-expected.txt:
10
        * js/script-tests/ToNumber.js:
11
        * js/script-tests/parseFloat.js:
12
        Update tests and expectations.
13
14
        * sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2-expected.txt:
15
        * sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1-expected.txt:
16
        * sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2-expected.txt:
17
        * sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T1-expected.txt:
18
        * sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T1-expected.txt:
19
        * sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.2/15.1.2.2_parseInt/S15.1.2.2_A2_T10-expected.txt:
20
        * sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.2/15.1.2.3_parseFloat/S15.1.2.3_A2_T10-expected.txt:
21
        * sputnik/Unicode/Unicode_410/S15.10.2.12_A1_T6-expected.txt:
22
        * sputnik/Unicode/Unicode_410/S15.10.2.12_A2_T6-expected.txt:
23
        * sputnik/Unicode/Unicode_410/S7.2_A1.6_T1-expected.txt:
24
        * sputnik/Unicode/Unicode_500/S15.10.2.12_A1_T6-expected.txt:
25
        * sputnik/Unicode/Unicode_500/S15.10.2.12_A2_T6-expected.txt:
26
        * sputnik/Unicode/Unicode_500/S7.2_A1.6_T1-expected.txt:
27
        * sputnik/Unicode/Unicode_510/S15.10.2.12_A1_T6-expected.txt:
28
        * sputnik/Unicode/Unicode_510/S15.10.2.12_A2_T6-expected.txt:
29
        * sputnik/Unicode/Unicode_510/S7.2_A1.6_T1-expected.txt:
30
        Let outdated sputnik checks fail.
31
1
2018-11-08  Eric Carlson  <eric.carlson@apple.com>
32
2018-11-08  Eric Carlson  <eric.carlson@apple.com>
2
33
3
        [MediaStream] Use DeviceIdHashSaltStorage to generate device ID hash salt
34
        [MediaStream] Use DeviceIdHashSaltStorage to generate device ID hash salt
- a/LayoutTests/js/ToNumber-expected.txt -3 / +3 lines
Lines 54-60 PASS +lf is 0 a/LayoutTests/js/ToNumber-expected.txt_sec1
54
PASS +ls is 0
54
PASS +ls is 0
55
PASS +ps is 0
55
PASS +ps is 0
56
PASS +oghamSpaceMark is 0
56
PASS +oghamSpaceMark is 0
57
PASS +mongolianVowelSeparator is 0
57
PASS +mongolianVowelSeparator is NaN
58
PASS +enQuad is 0
58
PASS +enQuad is 0
59
PASS +emQuad is 0
59
PASS +emQuad is 0
60
PASS +enSpace is 0
60
PASS +enSpace is 0
Lines 78-84 PASS +(lf + '1') is 1 a/LayoutTests/js/ToNumber-expected.txt_sec2
78
PASS +(ls + '1') is 1
78
PASS +(ls + '1') is 1
79
PASS +(ps + '1') is 1
79
PASS +(ps + '1') is 1
80
PASS +(oghamSpaceMark + '1') is 1
80
PASS +(oghamSpaceMark + '1') is 1
81
PASS +(mongolianVowelSeparator + '1') is 1
81
PASS +(mongolianVowelSeparator + '1') is NaN
82
PASS +(enQuad + '1') is 1
82
PASS +(enQuad + '1') is 1
83
PASS +(emQuad + '1') is 1
83
PASS +(emQuad + '1') is 1
84
PASS +(enSpace + '1') is 1
84
PASS +(enSpace + '1') is 1
Lines 102-108 PASS +('1' + lf) is 1 a/LayoutTests/js/ToNumber-expected.txt_sec3
102
PASS +('1' + ls) is 1
102
PASS +('1' + ls) is 1
103
PASS +('1' + ps) is 1
103
PASS +('1' + ps) is 1
104
PASS +('1' + oghamSpaceMark) is 1
104
PASS +('1' + oghamSpaceMark) is 1
105
PASS +('1' + mongolianVowelSeparator) is 1
105
PASS +('1' + mongolianVowelSeparator) is NaN
106
PASS +('1' + enQuad) is 1
106
PASS +('1' + enQuad) is 1
107
PASS +('1' + emQuad) is 1
107
PASS +('1' + emQuad) is 1
108
PASS +('1' + enSpace) is 1
108
PASS +('1' + enSpace) is 1
- a/LayoutTests/js/parseFloat-expected.txt -1 / +1 lines
Lines 32-38 PASS parseFloat(lf + '1') is 1 a/LayoutTests/js/parseFloat-expected.txt_sec1
32
PASS parseFloat(ls + '1') is 1
32
PASS parseFloat(ls + '1') is 1
33
PASS parseFloat(ps + '1') is 1
33
PASS parseFloat(ps + '1') is 1
34
PASS parseFloat(oghamSpaceMark + '1') is 1
34
PASS parseFloat(oghamSpaceMark + '1') is 1
35
PASS parseFloat(mongolianVowelSeparator + '1') is 1
35
PASS parseFloat(mongolianVowelSeparator + '1') is NaN
36
PASS parseFloat(enQuad + '1') is 1
36
PASS parseFloat(enQuad + '1') is 1
37
PASS parseFloat(emQuad + '1') is 1
37
PASS parseFloat(emQuad + '1') is 1
38
PASS parseFloat(enSpace + '1') is 1
38
PASS parseFloat(enSpace + '1') is 1
- a/LayoutTests/js/script-tests/ToNumber.js -3 / +3 lines
Lines 82-88 shouldBe("+lf", "0"); a/LayoutTests/js/script-tests/ToNumber.js_sec1
82
shouldBe("+ls", "0");
82
shouldBe("+ls", "0");
83
shouldBe("+ps", "0");
83
shouldBe("+ps", "0");
84
shouldBe("+oghamSpaceMark", "0");
84
shouldBe("+oghamSpaceMark", "0");
85
shouldBe("+mongolianVowelSeparator", "0");
85
shouldBe("+mongolianVowelSeparator", "NaN");
86
shouldBe("+enQuad", "0");
86
shouldBe("+enQuad", "0");
87
shouldBe("+emQuad", "0");
87
shouldBe("+emQuad", "0");
88
shouldBe("+enSpace", "0");
88
shouldBe("+enSpace", "0");
Lines 106-112 shouldBe("+(lf + '1')", "1"); a/LayoutTests/js/script-tests/ToNumber.js_sec2
106
shouldBe("+(ls + '1')", "1");
106
shouldBe("+(ls + '1')", "1");
107
shouldBe("+(ps + '1')", "1");
107
shouldBe("+(ps + '1')", "1");
108
shouldBe("+(oghamSpaceMark + '1')", "1");
108
shouldBe("+(oghamSpaceMark + '1')", "1");
109
shouldBe("+(mongolianVowelSeparator + '1')", "1");
109
shouldBe("+(mongolianVowelSeparator + '1')", "NaN");
110
shouldBe("+(enQuad + '1')", "1");
110
shouldBe("+(enQuad + '1')", "1");
111
shouldBe("+(emQuad + '1')", "1");
111
shouldBe("+(emQuad + '1')", "1");
112
shouldBe("+(enSpace + '1')", "1");
112
shouldBe("+(enSpace + '1')", "1");
Lines 130-136 shouldBe("+('1' + lf)", "1"); a/LayoutTests/js/script-tests/ToNumber.js_sec3
130
shouldBe("+('1' + ls)", "1");
130
shouldBe("+('1' + ls)", "1");
131
shouldBe("+('1' + ps)", "1");
131
shouldBe("+('1' + ps)", "1");
132
shouldBe("+('1' + oghamSpaceMark)", "1");
132
shouldBe("+('1' + oghamSpaceMark)", "1");
133
shouldBe("+('1' + mongolianVowelSeparator)", "1");
133
shouldBe("+('1' + mongolianVowelSeparator)", "NaN");
134
shouldBe("+('1' + enQuad)", "1");
134
shouldBe("+('1' + enQuad)", "1");
135
shouldBe("+('1' + emQuad)", "1");
135
shouldBe("+('1' + emQuad)", "1");
136
shouldBe("+('1' + enSpace)", "1");
136
shouldBe("+('1' + enSpace)", "1");
- a/LayoutTests/js/script-tests/parseFloat.js -1 / +1 lines
Lines 58-64 shouldBe("parseFloat(lf + '1')", "1"); a/LayoutTests/js/script-tests/parseFloat.js_sec1
58
shouldBe("parseFloat(ls + '1')", "1");
58
shouldBe("parseFloat(ls + '1')", "1");
59
shouldBe("parseFloat(ps + '1')", "1");
59
shouldBe("parseFloat(ps + '1')", "1");
60
shouldBe("parseFloat(oghamSpaceMark + '1')", "1");
60
shouldBe("parseFloat(oghamSpaceMark + '1')", "1");
61
shouldBe("parseFloat(mongolianVowelSeparator + '1')", "1");
61
shouldBe("parseFloat(mongolianVowelSeparator + '1')", "NaN");
62
shouldBe("parseFloat(enQuad + '1')", "1");
62
shouldBe("parseFloat(enQuad + '1')", "1");
63
shouldBe("parseFloat(emQuad + '1')", "1");
63
shouldBe("parseFloat(emQuad + '1')", "1");
64
shouldBe("parseFloat(enSpace + '1')", "1");
64
shouldBe("parseFloat(enSpace + '1')", "1");
- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2-expected.txt -1 / +1 lines
Lines 1-6 a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2-expected.txt_sec1
1
S9.3.1_A2
1
S9.3.1_A2
2
2
3
PASS 
3
FAIL SputnikError: #1.1: Number("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") === 0. Actual: NaN
4
4
5
TEST COMPLETE
5
TEST COMPLETE
6
6
- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1-expected.txt -1 / +1 lines
Lines 1-6 a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1-expected.txt_sec1
1
S9.3.1_A3_T1
1
S9.3.1_A3_T1
2
2
3
PASS 
3
FAIL SputnikError: #1: Number("\u0009\u000C\u0020\u00A0\u000B\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") === Number("")
4
4
5
TEST COMPLETE
5
TEST COMPLETE
6
6
- a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2-expected.txt -1 / +1 lines
Lines 1-6 a/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2-expected.txt_sec1
1
S9.3.1_A3_T2
1
S9.3.1_A3_T2
2
2
3
PASS 
3
FAIL SputnikError: #1: Number("\u0009\u000C\u0020\u00A0\u000B"+"\u000A\u000D\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000") === Number("")
4
4
5
TEST COMPLETE
5
TEST COMPLETE
6
6
- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T1-expected.txt -1 / +1 lines
Lines 1-6 a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A1_T1-expected.txt_sec1
1
S15.10.2.12_A1_T1
1
S15.10.2.12_A1_T1
2
2
3
FAIL SputnikError: #63: Error matching character class s between character fc00 and ffff
3
FAIL SputnikError: #6: Error matching character class s between character 1800 and 1bff
4
4
5
TEST COMPLETE
5
TEST COMPLETE
6
6
- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T1-expected.txt -1 / +1 lines
Lines 1-6 a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.12_CharacterClassEscape/S15.10.2.12_A2_T1-expected.txt_sec1
1
S15.10.2.12_A2_T1
1
S15.10.2.12_A2_T1
2
2
3
FAIL SputnikError: #63: Error matching character class S between character fc00 and ffff
3
FAIL SputnikError: #6: Error matching character class S between character 1800 and 1bff
4
4
5
TEST COMPLETE
5
TEST COMPLETE
6
6
- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.2/15.1.2.2_parseInt/S15.1.2.2_A2_T10-expected.txt -1 / +1 lines
Lines 1-6 a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.2/15.1.2.2_parseInt/S15.1.2.2_A2_T10-expected.txt_sec1
1
S15.1.2.2_A2_T10
1
S15.1.2.2_A2_T10
2
2
3
PASS 
3
FAIL SputnikError: #1.180E 
4
4
5
TEST COMPLETE
5
TEST COMPLETE
6
6
- a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.2/15.1.2.3_parseFloat/S15.1.2.3_A2_T10-expected.txt -1 / +1 lines
Lines 1-6 a/LayoutTests/sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.2/15.1.2.3_parseFloat/S15.1.2.3_A2_T10-expected.txt_sec1
1
S15.1.2.3_A2_T10
1
S15.1.2.3_A2_T10
2
2
3
PASS 
3
FAIL SputnikError: #1.180E 
4
4
5
TEST COMPLETE
5
TEST COMPLETE
6
6
- a/LayoutTests/sputnik/Unicode/Unicode_410/S15.10.2.12_A1_T6-expected.txt -1 / +1 lines
Lines 1-6 a/LayoutTests/sputnik/Unicode/Unicode_410/S15.10.2.12_A1_T6-expected.txt_sec1
1
S15.10.2.12_A1_T6
1
S15.10.2.12_A1_T6
2
2
3
PASS 
3
FAIL SputnikError: #180E 
4
4
5
TEST COMPLETE
5
TEST COMPLETE
6
6
- a/LayoutTests/sputnik/Unicode/Unicode_410/S15.10.2.12_A2_T6-expected.txt -1 / +1 lines
Lines 1-6 a/LayoutTests/sputnik/Unicode/Unicode_410/S15.10.2.12_A2_T6-expected.txt_sec1
1
S15.10.2.12_A2_T6
1
S15.10.2.12_A2_T6
2
2
3
PASS 
3
FAIL SputnikError: #180E 
4
4
5
TEST COMPLETE
5
TEST COMPLETE
6
6
- a/LayoutTests/sputnik/Unicode/Unicode_410/S7.2_A1.6_T1-expected.txt -1 / +1 lines
Lines 1-6 a/LayoutTests/sputnik/Unicode/Unicode_410/S7.2_A1.6_T1-expected.txt_sec1
1
S7.2_A1.6_T1
1
S7.2_A1.6_T1
2
2
3
PASS 
3
FAIL SputnikError: #180E 
4
4
5
TEST COMPLETE
5
TEST COMPLETE
6
6
- a/LayoutTests/sputnik/Unicode/Unicode_500/S15.10.2.12_A1_T6-expected.txt -1 / +1 lines
Lines 1-6 a/LayoutTests/sputnik/Unicode/Unicode_500/S15.10.2.12_A1_T6-expected.txt_sec1
1
S15.10.2.12_A1_T6
1
S15.10.2.12_A1_T6
2
2
3
PASS 
3
FAIL SputnikError: #180E 
4
4
5
TEST COMPLETE
5
TEST COMPLETE
6
6
- a/LayoutTests/sputnik/Unicode/Unicode_500/S15.10.2.12_A2_T6-expected.txt -1 / +1 lines
Lines 1-6 a/LayoutTests/sputnik/Unicode/Unicode_500/S15.10.2.12_A2_T6-expected.txt_sec1
1
S15.10.2.12_A2_T6
1
S15.10.2.12_A2_T6
2
2
3
PASS 
3
FAIL SputnikError: #180E 
4
4
5
TEST COMPLETE
5
TEST COMPLETE
6
6
- a/LayoutTests/sputnik/Unicode/Unicode_500/S7.2_A1.6_T1-expected.txt -1 / +1 lines
Lines 1-6 a/LayoutTests/sputnik/Unicode/Unicode_500/S7.2_A1.6_T1-expected.txt_sec1
1
S7.2_A1.6_T1
1
S7.2_A1.6_T1
2
2
3
PASS 
3
FAIL SputnikError: #180E 
4
4
5
TEST COMPLETE
5
TEST COMPLETE
6
6
- a/LayoutTests/sputnik/Unicode/Unicode_510/S15.10.2.12_A1_T6-expected.txt -1 / +1 lines
Lines 1-6 a/LayoutTests/sputnik/Unicode/Unicode_510/S15.10.2.12_A1_T6-expected.txt_sec1
1
S15.10.2.12_A1_T6
1
S15.10.2.12_A1_T6
2
2
3
PASS 
3
FAIL SputnikError: #180E 
4
4
5
TEST COMPLETE
5
TEST COMPLETE
6
6
- a/LayoutTests/sputnik/Unicode/Unicode_510/S15.10.2.12_A2_T6-expected.txt -1 / +1 lines
Lines 1-6 a/LayoutTests/sputnik/Unicode/Unicode_510/S15.10.2.12_A2_T6-expected.txt_sec1
1
S15.10.2.12_A2_T6
1
S15.10.2.12_A2_T6
2
2
3
PASS 
3
FAIL SputnikError: #180E 
4
4
5
TEST COMPLETE
5
TEST COMPLETE
6
6
- a/LayoutTests/sputnik/Unicode/Unicode_510/S7.2_A1.6_T1-expected.txt -1 / +1 lines
Lines 1-6 a/LayoutTests/sputnik/Unicode/Unicode_510/S7.2_A1.6_T1-expected.txt_sec1
1
S7.2_A1.6_T1
1
S7.2_A1.6_T1
2
2
3
PASS 
3
FAIL SputnikError: #180E 
4
4
5
TEST COMPLETE
5
TEST COMPLETE
6
6
- a/JSTests/ChakraCore/test/es5/regexSpace.baseline -1 lines
Lines 7-13 start a/JSTests/ChakraCore/test/es5/regexSpace.baseline_sec1
7
\u0020
7
\u0020
8
\u00a0
8
\u00a0
9
\u1680
9
\u1680
10
\u180e
11
\u2000
10
\u2000
12
\u2001
11
\u2001
13
\u2002
12
\u2002
- a/JSTests/ChakraCore/test/es6/unicode_whitespace.js -1 lines
Lines 16-22 var whitespace_characters = [ a/JSTests/ChakraCore/test/es6/unicode_whitespace.js_sec1
16
    '\u0020',
16
    '\u0020',
17
    '\u00a0',
17
    '\u00a0',
18
    '\u1680',
18
    '\u1680',
19
    '\u180e',
20
    '\u2000',
19
    '\u2000',
21
    '\u2001',
20
    '\u2001',
22
    '\u2002',
21
    '\u2002',
- a/JSTests/ChangeLog +17 lines
Lines 1-3 a/JSTests/ChangeLog_sec1
1
2018-11-08  Ross Kirsling  <ross.kirsling@sony.com>
2
3
        U+180E is no longer a whitespace character
4
        https://bugs.webkit.org/show_bug.cgi?id=191415
5
6
        Reviewed by NOBODY (OOPS!).
7
8
        * ChakraCore/test/es5/regexSpace.baseline:
9
        * ChakraCore/test/es6/unicode_whitespace.js:
10
        Update tests to latest version.
11
        (See https://github.com/Microsoft/ChakraCore/commit/7c097b698de1e400286f9b957597b2a81fc6f80b.)
12
13
        * test262.yaml:
14
        * test262/config.yaml:
15
        * test262/expectations.yaml:
16
        Update expectations.
17
1
2018-11-07  Caio Lima  <ticaiolima@gmail.com>
18
2018-11-07  Caio Lima  <ticaiolima@gmail.com>
2
19
3
        [BigInt] Add support to BigInt into ValueAdd
20
        [BigInt] Add support to BigInt into ValueAdd
- a/JSTests/test262.yaml -20 / +20 lines
Lines 24270-24278 a/JSTests/test262.yaml_sec1
24270
- path: test262/test/built-ins/Number/S9.3.1_A29.js
24270
- path: test262/test/built-ins/Number/S9.3.1_A29.js
24271
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
24271
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
24272
- path: test262/test/built-ins/Number/S9.3.1_A2_U180E.js
24272
- path: test262/test/built-ins/Number/S9.3.1_A2_U180E.js
24273
  cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
24273
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
24274
- path: test262/test/built-ins/Number/S9.3.1_A2_U180E.js
24274
- path: test262/test/built-ins/Number/S9.3.1_A2_U180E.js
24275
  cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
24275
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
24276
- path: test262/test/built-ins/Number/S9.3.1_A30.js
24276
- path: test262/test/built-ins/Number/S9.3.1_A30.js
24277
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
24277
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
24278
- path: test262/test/built-ins/Number/S9.3.1_A30.js
24278
- path: test262/test/built-ins/Number/S9.3.1_A30.js
Lines 24290-24306 a/JSTests/test262.yaml_sec2
24290
- path: test262/test/built-ins/Number/S9.3.1_A3_T1.js
24290
- path: test262/test/built-ins/Number/S9.3.1_A3_T1.js
24291
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
24291
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
24292
- path: test262/test/built-ins/Number/S9.3.1_A3_T1_U180E.js
24292
- path: test262/test/built-ins/Number/S9.3.1_A3_T1_U180E.js
24293
  cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
24293
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
24294
- path: test262/test/built-ins/Number/S9.3.1_A3_T1_U180E.js
24294
- path: test262/test/built-ins/Number/S9.3.1_A3_T1_U180E.js
24295
  cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
24295
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
24296
- path: test262/test/built-ins/Number/S9.3.1_A3_T2.js
24296
- path: test262/test/built-ins/Number/S9.3.1_A3_T2.js
24297
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
24297
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
24298
- path: test262/test/built-ins/Number/S9.3.1_A3_T2.js
24298
- path: test262/test/built-ins/Number/S9.3.1_A3_T2.js
24299
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
24299
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
24300
- path: test262/test/built-ins/Number/S9.3.1_A3_T2_U180E.js
24300
- path: test262/test/built-ins/Number/S9.3.1_A3_T2_U180E.js
24301
  cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
24301
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
24302
- path: test262/test/built-ins/Number/S9.3.1_A3_T2_U180E.js
24302
- path: test262/test/built-ins/Number/S9.3.1_A3_T2_U180E.js
24303
  cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
24303
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
24304
- path: test262/test/built-ins/Number/S9.3.1_A4_T1.js
24304
- path: test262/test/built-ins/Number/S9.3.1_A4_T1.js
24305
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
24305
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
24306
- path: test262/test/built-ins/Number/S9.3.1_A4_T1.js
24306
- path: test262/test/built-ins/Number/S9.3.1_A4_T1.js
Lines 40576-40584 a/JSTests/test262.yaml_sec3
40576
- path: test262/test/built-ins/RegExp/S15.10.2.12_A1_T5.js
40576
- path: test262/test/built-ins/RegExp/S15.10.2.12_A1_T5.js
40577
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
40577
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
40578
- path: test262/test/built-ins/RegExp/S15.10.2.12_A2_T1.js
40578
- path: test262/test/built-ins/RegExp/S15.10.2.12_A2_T1.js
40579
  cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
40579
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
40580
- path: test262/test/built-ins/RegExp/S15.10.2.12_A2_T1.js
40580
- path: test262/test/built-ins/RegExp/S15.10.2.12_A2_T1.js
40581
  cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
40581
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
40582
- path: test262/test/built-ins/RegExp/S15.10.2.12_A2_T2.js
40582
- path: test262/test/built-ins/RegExp/S15.10.2.12_A2_T2.js
40583
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
40583
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
40584
- path: test262/test/built-ins/RegExp/S15.10.2.12_A2_T2.js
40584
- path: test262/test/built-ins/RegExp/S15.10.2.12_A2_T2.js
Lines 45252-45260 a/JSTests/test262.yaml_sec4
45252
- path: test262/test/built-ins/RegExp/prototype/unicode/this-val-regexp.js
45252
- path: test262/test/built-ins/RegExp/prototype/unicode/this-val-regexp.js
45253
  cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict]
45253
  cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict]
45254
- path: test262/test/built-ins/RegExp/u180e.js
45254
- path: test262/test/built-ins/RegExp/u180e.js
45255
  cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
45255
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
45256
- path: test262/test/built-ins/RegExp/u180e.js
45256
- path: test262/test/built-ins/RegExp/u180e.js
45257
  cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
45257
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
45258
- path: test262/test/built-ins/RegExp/unicode_identity_escape.js
45258
- path: test262/test/built-ins/RegExp/unicode_identity_escape.js
45259
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
45259
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
45260
- path: test262/test/built-ins/RegExp/unicode_identity_escape.js
45260
- path: test262/test/built-ins/RegExp/unicode_identity_escape.js
Lines 50194-50202 a/JSTests/test262.yaml_sec5
50194
- path: test262/test/built-ins/String/prototype/trim/name.js
50194
- path: test262/test/built-ins/String/prototype/trim/name.js
50195
  cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js", "../../../../../harness/propertyHelper.js"], [:strict]
50195
  cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js", "../../../../../harness/propertyHelper.js"], [:strict]
50196
- path: test262/test/built-ins/String/prototype/trim/u180e.js
50196
- path: test262/test/built-ins/String/prototype/trim/u180e.js
50197
  cmd: runTest262 :fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], []
50197
  cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], []
50198
- path: test262/test/built-ins/String/prototype/trim/u180e.js
50198
- path: test262/test/built-ins/String/prototype/trim/u180e.js
50199
  cmd: runTest262 :fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict]
50199
  cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict]
50200
- path: test262/test/built-ins/String/prototype/trimEnd/length.js
50200
- path: test262/test/built-ins/String/prototype/trimEnd/length.js
50201
  cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js", "../../../../../harness/propertyHelper.js"], []
50201
  cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js", "../../../../../harness/propertyHelper.js"], []
50202
- path: test262/test/built-ins/String/prototype/trimEnd/length.js
50202
- path: test262/test/built-ins/String/prototype/trimEnd/length.js
Lines 59342-59350 a/JSTests/test262.yaml_sec6
59342
- path: test262/test/built-ins/parseFloat/S15.1.2.3_A2_T10.js
59342
- path: test262/test/built-ins/parseFloat/S15.1.2.3_A2_T10.js
59343
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
59343
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
59344
- path: test262/test/built-ins/parseFloat/S15.1.2.3_A2_T10_U180E.js
59344
- path: test262/test/built-ins/parseFloat/S15.1.2.3_A2_T10_U180E.js
59345
  cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
59345
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
59346
- path: test262/test/built-ins/parseFloat/S15.1.2.3_A2_T10_U180E.js
59346
- path: test262/test/built-ins/parseFloat/S15.1.2.3_A2_T10_U180E.js
59347
  cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
59347
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
59348
- path: test262/test/built-ins/parseFloat/S15.1.2.3_A2_T2.js
59348
- path: test262/test/built-ins/parseFloat/S15.1.2.3_A2_T2.js
59349
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
59349
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
59350
- path: test262/test/built-ins/parseFloat/S15.1.2.3_A2_T2.js
59350
- path: test262/test/built-ins/parseFloat/S15.1.2.3_A2_T2.js
Lines 59570-59578 a/JSTests/test262.yaml_sec7
59570
- path: test262/test/built-ins/parseInt/S15.1.2.2_A2_T10.js
59570
- path: test262/test/built-ins/parseInt/S15.1.2.2_A2_T10.js
59571
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
59571
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
59572
- path: test262/test/built-ins/parseInt/S15.1.2.2_A2_T10_U180E.js
59572
- path: test262/test/built-ins/parseInt/S15.1.2.2_A2_T10_U180E.js
59573
  cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
59573
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
59574
- path: test262/test/built-ins/parseInt/S15.1.2.2_A2_T10_U180E.js
59574
- path: test262/test/built-ins/parseInt/S15.1.2.2_A2_T10_U180E.js
59575
  cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
59575
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
59576
- path: test262/test/built-ins/parseInt/S15.1.2.2_A2_T2.js
59576
- path: test262/test/built-ins/parseInt/S15.1.2.2_A2_T2.js
59577
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
59577
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
59578
- path: test262/test/built-ins/parseInt/S15.1.2.2_A2_T2.js
59578
- path: test262/test/built-ins/parseInt/S15.1.2.2_A2_T2.js
Lines 117208-117217 a/JSTests/test262.yaml_sec8
117208
- path: test262/test/language/white-space/S7.2_A5_T5.js
117208
- path: test262/test/language/white-space/S7.2_A5_T5.js
117209
  cmd: runTest262 :normal, "SyntaxError", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
117209
  cmd: runTest262 :normal, "SyntaxError", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
117210
- path: test262/test/language/white-space/mongolian-vowel-separator-eval.js
117210
- path: test262/test/language/white-space/mongolian-vowel-separator-eval.js
117211
  cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
117211
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], []
117212
- path: test262/test/language/white-space/mongolian-vowel-separator-eval.js
117212
- path: test262/test/language/white-space/mongolian-vowel-separator-eval.js
117213
  cmd: runTest262 :fail, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
117213
  cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
117214
- path: test262/test/language/white-space/mongolian-vowel-separator.js
117214
- path: test262/test/language/white-space/mongolian-vowel-separator.js
117215
  cmd: runTest262 :fail, "SyntaxError", ["../../../harness/assert.js", "../../../harness/sta.js"], []
117215
  cmd: runTest262 :normal, "SyntaxError", ["../../../harness/assert.js", "../../../harness/sta.js"], []
117216
- path: test262/test/language/white-space/mongolian-vowel-separator.js
117216
- path: test262/test/language/white-space/mongolian-vowel-separator.js
117217
  cmd: runTest262 :fail, "SyntaxError", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
117217
  cmd: runTest262 :normal, "SyntaxError", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict]
- a/JSTests/test262/config.yaml -2 lines
Lines 16-23 skip: a/JSTests/test262/config.yaml_sec1
16
    - Symbol.matchAll
16
    - Symbol.matchAll
17
    # https://bugs.webkit.org/show_bug.cgi?id=174931
17
    # https://bugs.webkit.org/show_bug.cgi?id=174931
18
    - regexp-lookbehind
18
    - regexp-lookbehind
19
    # https://bugs.webkit.org/show_bug.cgi?id=126608
20
    - u180e
21
  files:
19
  files:
22
    - test/built-ins/Array/prototype/reverse/length-exceeding-integer-limit-with-object.js
20
    - test/built-ins/Array/prototype/reverse/length-exceeding-integer-limit-with-object.js
23
    - test/built-ins/Array/prototype/unshift/length-near-integer-limit.js
21
    - test/built-ins/Array/prototype/unshift/length-near-integer-limit.js
- a/JSTests/test262/expectations.yaml -3 lines
Lines 1104-1112 test/built-ins/Proxy/ownKeys/return-duplicate-entries-throws.js: a/JSTests/test262/expectations.yaml_sec1
1104
test/built-ins/Proxy/ownKeys/return-duplicate-symbol-entries-throws.js:
1104
test/built-ins/Proxy/ownKeys/return-duplicate-symbol-entries-throws.js:
1105
  default: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all'
1105
  default: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all'
1106
  strict mode: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all'
1106
  strict mode: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all'
1107
test/built-ins/RegExp/S15.10.2.12_A2_T1.js:
1108
  default: 'Test262Error: #6: Error matching character class S between character 1800 and 1bff'
1109
  strict mode: 'Test262Error: #6: Error matching character class S between character 1800 and 1bff'
1110
test/built-ins/RegExp/named-groups/groups-object-subclass-sans.js:
1107
test/built-ins/RegExp/named-groups/groups-object-subclass-sans.js:
1111
  default: 'Test262Error: Expected SameValue(«b», «$<a>») to be true'
1108
  default: 'Test262Error: Expected SameValue(«b», «$<a>») to be true'
1112
  strict mode: 'Test262Error: Expected SameValue(«b», «$<a>») to be true'
1109
  strict mode: 'Test262Error: Expected SameValue(«b», «$<a>») to be true'

Return to Bug 191415