[wpt-sync] Sync PR 51506 - Use local time and provide subtest name for sv-SE locale test
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox138 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 51506 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/51506
Details from upstream follow.
Sam Sneddon <gsnedders@apple.com> wrote:
Use local time and provide subtest name for sv-SE locale test
Using
format(0)
is the same asformat(Date(0))
, which creates a Date object which is at the epoch. However, because we output it with no regard from the time zone, this will fail if you're in a time zone behind UTC.To avoid this, we move to just using local time, matching the other tests in this file, thus guaranteeing this test passes everywhere.
Also, we may as well check the exact string, because "1970" is the least interesting part of this test.
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 1•1 month ago
|
||
Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 4 subtests
Status Summary
Firefox
OK
: 1
PASS
: 4
Chrome
OK
: 1
PASS
: 4
Safari
OK
: 1
PASS
: 4
Links
Comment 4•1 month ago
|
||
bugherder |
Description
•