[Webkit-unassigned] [Bug 172720] New: REGRESSION: LayoutTest js/intl-datetimeformat.html is failing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 30 08:41:11 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=172720
Bug ID: 172720
Summary: REGRESSION: LayoutTest js/intl-datetimeformat.html is
failing
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ryanhaddad at apple.com
LayoutTest js/intl-datetimeformat.html is failing
https://build.webkit.org/results/Apple%20Sierra%20Release%20WK2%20(Tests)/r217555%20(1840)/results.html
--- /Volumes/Data/slave/sierra-release-tests-wk2/build/layout-test-results/js/intl-datetimeformat-expected.txt
+++ /Volumes/Data/slave/sierra-release-tests-wk2/build/layout-test-results/js/intl-datetimeformat-actual.txt
@@ -377,7 +377,7 @@
PASS Intl.DateTimeFormat('en', { minute:'2-digit', hour:'numeric', timeZoneName:'short' }).resolvedOptions().timeZoneName is 'short'
PASS Intl.DateTimeFormat('en', { minute:'2-digit', hour:'numeric', timeZoneName:'short', timeZone: 'UTC' }).format(0) is '12:00 AM GMT'
PASS Intl.DateTimeFormat('pt-BR', { minute:'2-digit', hour:'numeric', timeZoneName:'long' }).resolvedOptions().timeZoneName is 'long'
-PASS Intl.DateTimeFormat('pt-BR', { minute:'2-digit', hour:'numeric', timeZoneName:'long', timeZone: 'UTC' }).format(0) is '00:00 GMT'
+FAIL Intl.DateTimeFormat('pt-BR', { minute:'2-digit', hour:'numeric', timeZoneName:'long', timeZone: 'UTC' }).format(0) should be 00:00 GMT. Was 00:00 HorĂ¡rio do Meridiano de Greenwich.
PASS
var options = { weekday: "short", year: "numeric", month: "short", day: "numeric", hour: "numeric", minute: "numeric", second: "numeric" };
var resolved = Intl.DateTimeFormat("ar", options).resolvedOptions();
@@ -2551,33 +2551,13 @@
PASS Intl.DateTimeFormat("zh-TW", { month: "long", day: "numeric" }).formatToParts() is an instance of Array
PASS Intl.DateTimeFormat("zh-TW", { hour: "numeric", minute: "numeric", second: "numeric" }).formatToParts() is an instance of Array
PASS Intl.DateTimeFormat("zh-TW", { hour: "numeric", minute: "numeric" }).formatToParts() is an instance of Array
-PASS JSON.stringify(
+FAIL JSON.stringify(
Intl.DateTimeFormat('en-US', {
hour: "numeric", minute: "numeric", second: "numeric",
year: "numeric", month: "long", day: "numeric", weekday: "long",
timeZoneName: "long", era: "long", timeZone: "UTC"
}).formatToParts(0)
-) is JSON.stringify([
- {"type":"weekday","value":"Thursday"},
- {"type":"literal","value":", "},
- {"type":"month","value":"January"},
- {"type":"literal","value":" "},
- {"type":"day","value":"1"},
- {"type":"literal","value":", "},
- {"type":"year","value":"1970"},
- {"type":"literal","value":" "},
- {"type":"era","value":"Anno Domini"},
- {"type":"literal","value":", "},
- {"type":"hour","value":"12"},
- {"type":"literal","value":":"},
- {"type":"minute","value":"00"},
- {"type":"literal","value":":"},
- {"type":"second","value":"00"},
- {"type":"literal","value":" "},
- {"type":"dayPeriod","value":"AM"},
- {"type":"literal","value":" "},
- {"type":"timeZoneName","value":"GMT"}
-])
+) should be [{"type":"weekday","value":"Thursday"},{"type":"literal","value":", "},{"type":"month","value":"January"},{"type":"literal","value":" "},{"type":"day","value":"1"},{"type":"literal","value":", "},{"type":"year","value":"1970"},{"type":"literal","value":" "},{"type":"era","value":"Anno Domini"},{"type":"literal","value":", "},{"type":"hour","value":"12"},{"type":"literal","value":":"},{"type":"minute","value":"00"},{"type":"literal","value":":"},{"type":"second","value":"00"},{"type":"literal","value":" "},{"type":"dayPeriod","value":"AM"},{"type":"literal","value":" "},{"type":"timeZoneName","value":"GMT"}]. Was [{"type":"weekday","value":"Thursday"},{"type":"literal","value":", "},{"type":"month","value":"January"},{"type":"literal","value":" "},{"type":"day","value":"1"},{"type":"literal","value":", "},{"type":"year","value":"1970"},{"type":"literal","value":" "},{"type":"era","value":"Anno Domini"},{"type":"literal","value":", "},{"type":"hour","value":"12"},{"type":"literal","value":":"},{"type":"minute","value":"00"},{"type":"literal","value":":"},{"type":"second","value":"00"},{"type":"literal","value":" "},{"type":"dayPeriod","value":"AM"},{"type":"literal","value":" "},{"type":"timeZoneName","value":"Greenwich Mean Time"}].
PASS successfullyParsed is true
TEST COMPLETE
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170530/dd387a20/attachment-0001.html>
More information about the webkit-unassigned
mailing list