[wpt-sync] Sync PR 40607 - rIC: change deadline-after-expired-timer.html asserts
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 40607 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/40607
Details from upstream follow.
Scott Haseley <shaseley@chromium.org> wrote:
rIC: change deadline-after-expired-timer.html asserts
This CL changes the test expectation that the deadline is positive when
an idle callback runs after a timer expires to non-negative (which
matches the test title). On slow or overloaded machines, it's possible
for the deadline to be reached while running the callback, in which
case the deadline.timeRemaining() will be 0 and the test will fail.
Per spec, the timeRemaining() must never be \< 0, but 0 is valid in this
test, so this changes the assertion to greater_than_equal.Bug: 1329281
Change-Id: Ie0d42e7fd0b47579edc72ae5a7889e2e8475b266
Reviewed-on: https://chromium-review.googlesource.com/4622374
WPT-Export-Revision: d5af8256547e6ab72d483a89625e8e4f7cc72369
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK
: 1
PASS
: 1
Chrome
OK
: 1
PASS
: 1
Safari
TIMEOUT
: 1
ERROR
: 1
Links
Comment 4•1 year ago
|
||
bugherder |
Description
•