Changeset 259658 in webkit
- Timestamp:
- Apr 7, 2020 12:35:54 PM (4 years ago)
- Location:
- trunk/JSTests
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r259646 r259658 1 2020-04-07 Ross Kirsling <ross.kirsling@sony.com> 2 3 Update JSTests to assume ICU 60+ 4 https://bugs.webkit.org/show_bug.cgi?id=210085 5 6 Reviewed by Yusuke Suzuki. 7 8 * stress/intl-collator.js: 9 * stress/intl-constructors-with-proxy.js: 10 * stress/intl-datetimeformat.js: 11 * stress/intl-default-locale.js: 12 * stress/intl-numberformat-format-to-parts.js: 13 * stress/intl-numberformat.js: Ensure a test case doesn't depend on behavior changed in ICU 64. 14 * stress/intl-object.js: 15 * stress/intl-pluralrules.js: Correct two invalid test cases. 16 * test262/config.yaml: 17 Remove skips. 18 1 19 2020-04-07 Yusuke Suzuki <ysuzuki@apple.com> 2 20 -
trunk/JSTests/stress/intl-collator.js
r259480 r259658 1 //@ skip if $hostOS == "windows"2 3 1 function shouldBe(actual, expected) { 4 2 if (actual !== expected) -
trunk/JSTests/stress/intl-constructors-with-proxy.js
r202567 r259658 1 //@ skip if $hostOS == "windows"2 3 1 function shouldBe(actual, expected) { 4 2 if (actual !== expected) -
trunk/JSTests/stress/intl-datetimeformat.js
r259480 r259658 1 //@ skip if $hostOS == "windows"2 3 1 function shouldBe(actual, expected) { 4 2 if (actual !== expected) -
trunk/JSTests/stress/intl-default-locale.js
r259480 r259658 1 //@ skip if $hostOS == "windows"2 3 1 function shouldBe(actual, expected) { 4 2 if (actual !== expected) -
trunk/JSTests/stress/intl-numberformat-format-to-parts.js
r259480 r259658 1 //@ skip if $hostOS == "windows" or $hostOS == "darwin"2 3 1 function shouldBe(actual, expected) { 4 2 if (actual !== expected) -
trunk/JSTests/stress/intl-numberformat.js
r259480 r259658 1 //@ skip if $hostOS == "windows" or $hostOS == "darwin" or $hostOS == "linux"2 3 1 function shouldBe(actual, expected) { 4 2 if (actual !== expected) … … 342 340 343 341 // Test locales. 344 shouldBe(Intl.NumberFormat('en').format(1234 .567), '1,234.567');345 shouldBe(Intl.NumberFormat('es').format(1234 .567), '1234,567');346 shouldBe(Intl.NumberFormat('de').format(1234 .567), '1.234,567');342 shouldBe(Intl.NumberFormat('en').format(12345.678), '12,345.678'); 343 shouldBe(Intl.NumberFormat('es').format(12345.678), '12.345,678'); 344 shouldBe(Intl.NumberFormat('de').format(12345.678), '12.345,678'); 347 345 348 346 // Test numbering systems. -
trunk/JSTests/stress/intl-object.js
r259480 r259658 1 //@ skip if $hostOS == "windows"2 3 1 function shouldBe(actual, expected) { 4 2 if (actual !== expected) -
trunk/JSTests/stress/intl-pluralrules.js
r259480 r259658 1 //@ skip if $hostOS == "windows"2 3 1 function shouldBe(actual, expected) { 4 2 if (actual !== expected) … … 285 283 shouldBe(new Intl.PluralRules('en', {type: 'ordinal', maximumSignificantDigits: 3}).select(123.4), 'few'); 286 284 287 // These require ICU v59+288 /*289 285 shouldBe(new Intl.PluralRules('en', {minimumFractionDigits: 1}).select(1), 'other'); 290 286 shouldBe(new Intl.PluralRules('en', {minimumSignificantDigits: 2}).select(1), 'other'); … … 292 288 // Plural categories are correctly determined 293 289 shouldBe(new Intl.PluralRules('en').resolvedOptions().pluralCategories instanceof Array, true); 294 shouldBe(new Intl.PluralRules('ar').resolvedOptions().pluralCategories.join(), ' zero,one,two,few,many,other');290 shouldBe(new Intl.PluralRules('ar').resolvedOptions().pluralCategories.join(), 'few,many,one,two,zero,other'); 295 291 shouldBe(new Intl.PluralRules('en').resolvedOptions().pluralCategories.join(), 'one,other'); 296 shouldBe(new Intl.PluralRules('en', {type: 'ordinal'}).resolvedOptions().pluralCategories.join(), 'one,two,few,other'); 297 */ 292 shouldBe(new Intl.PluralRules('en', {type: 'ordinal'}).resolvedOptions().pluralCategories.join(), 'few,one,two,other'); -
trunk/JSTests/test262/config.yaml
r259529 r259658 38 38 - Intl.Segmenter 39 39 paths: 40 # https://bugs.webkit.org/show_bug.cgi?id=19292041 - test/intl402/NumberFormat/prototype/formatToParts42 43 40 - test/built-ins/DataView/prototype/getBigInt64 44 41 - test/built-ins/DataView/prototype/getBigUint64 … … 118 115 - test/built-ins/Reflect/ownKeys/return-on-corresponding-order-large-index.js 119 116 120 # https://bugs.webkit.org/show_bug.cgi?id=192920121 - test/intl402/PluralRules/prototype/resolvedOptions/order.js122 - test/intl402/PluralRules/prototype/resolvedOptions/pluralCategories.js123 117 124 118 # https://bugs.webkit.org/show_bug.cgi?id=190800
Note: See TracChangeset
for help on using the changeset viewer.