Changeset 238004 in webkit
- Timestamp:
- Nov 8, 2018 3:40:25 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChakraCore/test/es5/regexSpace.baseline
r205387 r238004 8 8 \u00a0 9 9 \u1680 10 \u180e11 10 \u2000 12 11 \u2001 -
trunk/JSTests/ChakraCore/test/es6/unicode_whitespace.js
r205387 r238004 17 17 '\u00a0', 18 18 '\u1680', 19 '\u180e',20 19 '\u2000', 21 20 '\u2001', -
trunk/JSTests/ChangeLog
r237972 r238004 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 Saam Barati. 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 18 2018-11-07 Caio Lima <ticaiolima@gmail.com> 2 19 -
trunk/JSTests/test262.yaml
r235882 r238004 24271 24271 cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict] 24272 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 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 24276 - path: test262/test/built-ins/Number/S9.3.1_A30.js 24277 24277 cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [] … … 24291 24291 cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict] 24292 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 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 24296 - path: test262/test/built-ins/Number/S9.3.1_A3_T2.js 24297 24297 cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [] … … 24299 24299 cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict] 24300 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 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 24304 - path: test262/test/built-ins/Number/S9.3.1_A4_T1.js 24305 24305 cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [] … … 40577 40577 cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict] 40578 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 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 40582 - path: test262/test/built-ins/RegExp/S15.10.2.12_A2_T2.js 40583 40583 cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [] … … 45253 45253 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict] 45254 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 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 45258 - path: test262/test/built-ins/RegExp/unicode_identity_escape.js 45259 45259 cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [] … … 50195 50195 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js", "../../../../../harness/propertyHelper.js"], [:strict] 50196 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 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 50200 - path: test262/test/built-ins/String/prototype/trimEnd/length.js 50201 50201 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js", "../../../../../harness/propertyHelper.js"], [] … … 59343 59343 cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict] 59344 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 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 59348 - path: test262/test/built-ins/parseFloat/S15.1.2.3_A2_T2.js 59349 59349 cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [] … … 59571 59571 cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict] 59572 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 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 59576 - path: test262/test/built-ins/parseInt/S15.1.2.2_A2_T2.js 59577 59577 cmd: runTest262 :normal, "NoException", ["../../../harness/assert.js", "../../../harness/sta.js"], [] … … 117209 117209 cmd: runTest262 :normal, "SyntaxError", ["../../../harness/assert.js", "../../../harness/sta.js"], [:strict] 117210 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 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 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 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] -
trunk/JSTests/test262/config.yaml
r235712 r238004 17 17 # https://bugs.webkit.org/show_bug.cgi?id=174931 18 18 - regexp-lookbehind 19 # https://bugs.webkit.org/show_bug.cgi?id=12660820 - u180e21 19 files: 22 20 - test/built-ins/Array/prototype/reverse/length-exceeding-integer-limit-with-object.js -
trunk/JSTests/test262/expectations.yaml
r237299 r238004 1105 1105 default: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all' 1106 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 1107 test/built-ins/RegExp/named-groups/groups-object-subclass-sans.js: 1111 1108 default: 'Test262Error: Expected SameValue(«b», «$<a>») to be true' -
trunk/LayoutTests/ChangeLog
r238002 r238004 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 Saam Barati. 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 32 2018-11-07 Myles C. Maxfield <mmaxfield@apple.com> 2 33 -
trunk/LayoutTests/js/ToNumber-expected.txt
r63120 r238004 55 55 PASS +ps is 0 56 56 PASS +oghamSpaceMark is 0 57 PASS +mongolianVowelSeparator is 057 PASS +mongolianVowelSeparator is NaN 58 58 PASS +enQuad is 0 59 59 PASS +emQuad is 0 … … 79 79 PASS +(ps + '1') is 1 80 80 PASS +(oghamSpaceMark + '1') is 1 81 PASS +(mongolianVowelSeparator + '1') is 181 PASS +(mongolianVowelSeparator + '1') is NaN 82 82 PASS +(enQuad + '1') is 1 83 83 PASS +(emQuad + '1') is 1 … … 103 103 PASS +('1' + ps) is 1 104 104 PASS +('1' + oghamSpaceMark) is 1 105 PASS +('1' + mongolianVowelSeparator) is 1105 PASS +('1' + mongolianVowelSeparator) is NaN 106 106 PASS +('1' + enQuad) is 1 107 107 PASS +('1' + emQuad) is 1 -
trunk/LayoutTests/js/parseFloat-expected.txt
r63120 r238004 33 33 PASS parseFloat(ps + '1') is 1 34 34 PASS parseFloat(oghamSpaceMark + '1') is 1 35 PASS parseFloat(mongolianVowelSeparator + '1') is 135 PASS parseFloat(mongolianVowelSeparator + '1') is NaN 36 36 PASS parseFloat(enQuad + '1') is 1 37 37 PASS parseFloat(emQuad + '1') is 1 -
trunk/LayoutTests/js/script-tests/ToNumber.js
r98407 r238004 83 83 shouldBe("+ps", "0"); 84 84 shouldBe("+oghamSpaceMark", "0"); 85 shouldBe("+mongolianVowelSeparator", " 0");85 shouldBe("+mongolianVowelSeparator", "NaN"); 86 86 shouldBe("+enQuad", "0"); 87 87 shouldBe("+emQuad", "0"); … … 107 107 shouldBe("+(ps + '1')", "1"); 108 108 shouldBe("+(oghamSpaceMark + '1')", "1"); 109 shouldBe("+(mongolianVowelSeparator + '1')", " 1");109 shouldBe("+(mongolianVowelSeparator + '1')", "NaN"); 110 110 shouldBe("+(enQuad + '1')", "1"); 111 111 shouldBe("+(emQuad + '1')", "1"); … … 131 131 shouldBe("+('1' + ps)", "1"); 132 132 shouldBe("+('1' + oghamSpaceMark)", "1"); 133 shouldBe("+('1' + mongolianVowelSeparator)", " 1");133 shouldBe("+('1' + mongolianVowelSeparator)", "NaN"); 134 134 shouldBe("+('1' + enQuad)", "1"); 135 135 shouldBe("+('1' + emQuad)", "1"); -
trunk/LayoutTests/js/script-tests/parseFloat.js
r98407 r238004 59 59 shouldBe("parseFloat(ps + '1')", "1"); 60 60 shouldBe("parseFloat(oghamSpaceMark + '1')", "1"); 61 shouldBe("parseFloat(mongolianVowelSeparator + '1')", " 1");61 shouldBe("parseFloat(mongolianVowelSeparator + '1')", "NaN"); 62 62 shouldBe("parseFloat(enQuad + '1')", "1"); 63 63 shouldBe("parseFloat(emQuad + '1')", "1"); -
trunk/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2-expected.txt
r63120 r238004 1 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 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1-expected.txt
r63120 r238004 1 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 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2-expected.txt
r63120 r238004 1 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 5 TEST COMPLETE -
trunk/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
r73056 r238004 1 1 S15.10.2.12_A1_T1 2 2 3 FAIL SputnikError: #6 3: Error matching character class s between character fc00 and ffff3 FAIL SputnikError: #6: Error matching character class s between character 1800 and 1bff 4 4 5 5 TEST COMPLETE -
trunk/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
r73056 r238004 1 1 S15.10.2.12_A2_T1 2 2 3 FAIL SputnikError: #6 3: Error matching character class S between character fc00 and ffff3 FAIL SputnikError: #6: Error matching character class S between character 1800 and 1bff 4 4 5 5 TEST COMPLETE -
trunk/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
r58534 r238004 1 1 S15.1.2.2_A2_T10 2 2 3 PASS3 FAIL SputnikError: #1.180E 4 4 5 5 TEST COMPLETE -
trunk/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
r63120 r238004 1 1 S15.1.2.3_A2_T10 2 2 3 PASS3 FAIL SputnikError: #1.180E 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Unicode/Unicode_410/S15.10.2.12_A1_T6-expected.txt
r58534 r238004 1 1 S15.10.2.12_A1_T6 2 2 3 PASS3 FAIL SputnikError: #180E 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Unicode/Unicode_410/S15.10.2.12_A2_T6-expected.txt
r58534 r238004 1 1 S15.10.2.12_A2_T6 2 2 3 PASS3 FAIL SputnikError: #180E 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Unicode/Unicode_410/S7.2_A1.6_T1-expected.txt
r58534 r238004 1 1 S7.2_A1.6_T1 2 2 3 PASS3 FAIL SputnikError: #180E 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Unicode/Unicode_500/S15.10.2.12_A1_T6-expected.txt
r58534 r238004 1 1 S15.10.2.12_A1_T6 2 2 3 PASS3 FAIL SputnikError: #180E 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Unicode/Unicode_500/S15.10.2.12_A2_T6-expected.txt
r58534 r238004 1 1 S15.10.2.12_A2_T6 2 2 3 PASS3 FAIL SputnikError: #180E 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Unicode/Unicode_500/S7.2_A1.6_T1-expected.txt
r58534 r238004 1 1 S7.2_A1.6_T1 2 2 3 PASS3 FAIL SputnikError: #180E 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Unicode/Unicode_510/S15.10.2.12_A1_T6-expected.txt
r58534 r238004 1 1 S15.10.2.12_A1_T6 2 2 3 PASS3 FAIL SputnikError: #180E 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Unicode/Unicode_510/S15.10.2.12_A2_T6-expected.txt
r58534 r238004 1 1 S15.10.2.12_A2_T6 2 2 3 PASS3 FAIL SputnikError: #180E 4 4 5 5 TEST COMPLETE -
trunk/LayoutTests/sputnik/Unicode/Unicode_510/S7.2_A1.6_T1-expected.txt
r58534 r238004 1 1 S7.2_A1.6_T1 2 2 3 PASS3 FAIL SputnikError: #180E 4 4 5 5 TEST COMPLETE -
trunk/Source/JavaScriptCore/ChangeLog
r238000 r238004 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 Saam Barati. 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 17 2018-11-08 Keith Miller <keith_miller@apple.com> 2 18 -
trunk/Source/JavaScriptCore/parser/Lexer.h
r225799 r238004 241 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. 244 return (ch < 256) ? Lexer<LChar>::isWhiteSpace(static_cast<LChar>(ch)) : (u_charType(ch) == U_SPACE_SEPARATOR || ch == 0x180E || ch == 0xFEFF); 243 return (ch < 256) ? Lexer<LChar>::isWhiteSpace(static_cast<LChar>(ch)) : (u_charType(ch) == U_SPACE_SEPARATOR || ch == 0xFEFF); 245 244 } 246 245 -
trunk/Source/JavaScriptCore/runtime/ParseInt.h
r236697 r238004 111 111 case 0x0020: 112 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 113 case 0x2028: 115 114 case 0x2029: -
trunk/Source/JavaScriptCore/yarr/create_regex_tables
r222499 r238004 33 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 34 "newline": { "UseTable" : False, "data": ['\n', '\r', 0x2028, 0x2029]}, 35 "spaces": { "UseTable" : True, "data": [' ', ('\t', '\r'), 0xa0, 0x1680, 0x 180e, 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 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 37 "digits": { "UseTable" : False, "data": [('0', '9')]},
Note: See TracChangeset
for help on using the changeset viewer.