Closed Bug 1838987 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 40607 - rIC: change deadline-after-expired-timer.html asserts

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
116 Branch
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

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

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

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/24ad9c4eef41 [wpt PR 40607] - rIC: change deadline-after-expired-timer.html asserts, a=testonly
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.