Closed Bug 1806706 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 37607 - Fix element timing image-src-change test

Categories

(Core :: DOM: Performance APIs, task, P4)

task

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 37607 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/37607
Details from upstream follow.

Hao Liu <haoliuk@chromium.org> wrote:

Fix element timing image-src-change test

This fixes the flakiness. The test now takes beforeRender timestamp
first and then loads the image. This way the order of the timings is
ensured.

The test is re-written to make it easier to read.

Bug:1394227
Change-Id: I2466ee3496f51b52b13222bd80a1cf0ac5e0fe83
Reviewed-on: https://chromium-review.googlesource.com/4118623
WPT-Export-Revision: c90dae0c3b0c151ef3c43b8cbb54b38ece9c91f4

Component: web-platform-tests → DOM: Performance
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 10 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
FAIL: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ee0821e93f9e [wpt PR 37607] - Fix element timing image-src-change test, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in before you can comment on or make changes to this bug.