Bug 210604

Summary: REGRESSION(r260145/r260146): Two new failing i18n tests
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: clopez, ross.kirsling, tpopela
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   

Description Michael Catanzaro 2020-04-16 06:54:41 PDT
Running stress/date-toLocaleString.js.default
stress/date-toLocaleString.js.default: Exception: Error: expected 1969(ji-you), 4:00:00 PM but got 1969(ji-you), 12:00:00 AM
stress/date-toLocaleString.js.default: shouldBe@date-toLocaleString.js:3:24
stress/date-toLocaleString.js.default: global code@date-toLocaleString.js:129:9
stress/date-toLocaleString.js.default: ERROR: Unexpected exit code: 3
FAIL: stress/date-toLocaleString.js.default

Running stress/date-toLocaleString.js.mini-mode
stress/date-toLocaleString.js.mini-mode: Exception: Error: expected 1969(ji-you), 4:00:00 PM but got 1969(ji-you), 12:00:00 AM
stress/date-toLocaleString.js.mini-mode: shouldBe@date-toLocaleString.js:3:24
stress/date-toLocaleString.js.mini-mode: global code@date-toLocaleString.js:129:9
stress/date-toLocaleString.js.mini-mode: ERROR: Unexpected exit code: 3
FAIL: stress/date-toLocaleString.js.mini-mode

The two above tests seem to have grown a dependency on system timezone. We used to have a bunch of tests with this problem and tbh I don't remember how we handled it in the past.
Comment 1 Ross Kirsling 2020-04-16 10:59:18 PDT
Whoops, the other tests in that file specify `timeZone: 'UTC'`. Will fix.
Comment 2 Ross Kirsling 2020-04-16 11:25:13 PDT
This technically isn't a duplicate, but I'm gonna handle these failures in one batch, so I'll have you verify the fix in one place. :)

*** This bug has been marked as a duplicate of bug 210605 ***