Changeset 218025 in webkit
- Timestamp:
- Jun 9, 2017 3:45:00 PM (7 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r218020 r218025 1 2017-06-09 Andy VanWagoner <thetalecrafter@gmail.com> 2 3 REGRESSION: LayoutTest js/intl-datetimeformat.html is failing 4 https://bugs.webkit.org/show_bug.cgi?id=172720 5 6 Reviewed by Darin Adler. 7 8 Reenable DateTimeFormat tests, allowing for some variation in the 9 formatting of time zone names. 10 11 * js/intl-datetimeformat-expected.txt: 12 * js/script-tests/intl-datetimeformat.js: 13 * platform/mac/TestExpectations: 14 1 15 2017-06-09 Joseph Pecoraro <pecoraro@apple.com> 2 16 -
trunk/LayoutTests/js/intl-datetimeformat-expected.txt
r216122 r218025 378 378 PASS Intl.DateTimeFormat('en', { minute:'2-digit', hour:'numeric', timeZoneName:'short', timeZone: 'UTC' }).format(0) is '12:00 AM GMT' 379 379 PASS Intl.DateTimeFormat('pt-BR', { minute:'2-digit', hour:'numeric', timeZoneName:'long' }).resolvedOptions().timeZoneName is 'long' 380 PASS Intl.DateTimeFormat('pt-BR', { minute:'2-digit', hour:'numeric', timeZoneName:'long', timeZone: 'UTC' }).format(0) is '00:00 GMT'380 PASS ['00:00 GMT','00:00 Horário do Meridiano de Greenwich'].includes(Intl.DateTimeFormat('pt-BR', { minute:'2-digit', hour:'numeric', timeZoneName:'long', timeZone: 'UTC' }).format(0)) is true 381 381 PASS 382 382 var options = { weekday: "short", year: "numeric", month: "short", day: "numeric", hour: "numeric", minute: "numeric", second: "numeric" }; … … 2556 2556 hour: "numeric", minute: "numeric", second: "numeric", 2557 2557 year: "numeric", month: "long", day: "numeric", weekday: "long", 2558 timeZoneName: " long", era: "long", timeZone: "UTC"2558 timeZoneName: "short", era: "long", timeZone: "UTC" 2559 2559 }).formatToParts(0) 2560 2560 ) is JSON.stringify([ -
trunk/LayoutTests/js/script-tests/intl-datetimeformat.js
r217560 r218025 1 //@ skip 1 //@ skip if $hostOS == "windows" 2 2 description("This test checks the behavior of Intl.DateTimeFormat as described in the ECMAScript Internationalization API Specification (ECMA-402 2.0)."); 3 3 … … 462 462 shouldBe("Intl.DateTimeFormat('en', { minute:'2-digit', hour:'numeric', timeZoneName:'short', timeZone: 'UTC' }).format(0)", "'12:00 AM GMT'"); 463 463 shouldBe("Intl.DateTimeFormat('pt-BR', { minute:'2-digit', hour:'numeric', timeZoneName:'long' }).resolvedOptions().timeZoneName", "'long'"); 464 shouldBe ("Intl.DateTimeFormat('pt-BR', { minute:'2-digit', hour:'numeric', timeZoneName:'long', timeZone: 'UTC' }).format(0)", "'00:00 GMT'")464 shouldBeTrue("['00:00 GMT','00:00 Horário do Meridiano de Greenwich'].includes(Intl.DateTimeFormat('pt-BR', { minute:'2-digit', hour:'numeric', timeZoneName:'long', timeZone: 'UTC' }).format(0))"); 465 465 466 466 let localesSample = [ … … 579 579 hour: "numeric", minute: "numeric", second: "numeric", 580 580 year: "numeric", month: "long", day: "numeric", weekday: "long", 581 timeZoneName: " long", era: "long", timeZone: "UTC"581 timeZoneName: "short", era: "long", timeZone: "UTC" 582 582 }).formatToParts(0) 583 583 )`, `JSON.stringify([ -
trunk/LayoutTests/platform/mac/TestExpectations
r218009 r218025 1543 1543 webkit.org/b/172469 [ ElCapitan ] imported/w3c/web-platform-tests/WebCryptoAPI/import_export/test_rsa_importKey.https.html [ Timeout ] 1544 1544 1545 webkit.org/b/172720 [ Sierra+ ] js/intl-datetimeformat.html [ Failure ]1546 1547 1545 # This test tests a feature that only exists on iOS. 1548 1546 webkit.org/b/172737 fast/text/accessibility-bold-system-font-2.html [ ImageOnlyFailure ]
Note: See TracChangeset
for help on using the changeset viewer.