[wpt-sync] Sync PR 64626 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=309917
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64626 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64626
Details from upstream follow.
Diego De La Toba <d_delatoba@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=309917
WebKit export from bug: [<!---->macOS iOS]<!----> imported/<!---->w3c/<!---->web-<!---->platform-<!---->tests/<!---->css/<!---->css-<!---->viewport/<!---->zoom/<!---->iframe-<!---->zoom-<!---->nested.<!---->html is a flaky image diff
<pre>
[MacOS IOS] css/css-viewport/zoom/iframe-zoom-nested.html is a flaky image diffThis test is failing due to two timing issues:
- The test file registers its message listener inside the load handler. Each nested leaf.html calls top.postMessage("leaf_loaded") on its own
load event, and these messages can arrive before the main window's load fires. When that happens, they're silently dropped and
takeScreenshot() is never called, causing a timeout.- The reference files have no waiting mechanism, so the test harness can capture the screenshot before the nested iframes have finished
loading, causing flaky image failures.Modified iframe-zoom-nested.html:
Moved the message listener registration to the top level so it's ready immediately.Modified iframe-zoom-nested-expected.html and iframe-zoom-nested-ref.html:
Added reftest-wait and the same message-based waiting mechanism used by the test file.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=309917">https://bugs.webkit.org/show_bug.cgi?id=309917</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/312232@main">https://commits.webkit.org/312232@main</a>
</pre>
| Assignee | ||
Updated•16 days ago
|
| Assignee | ||
Comment 1•16 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=119786
| Assignee | ||
Comment 2•16 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
TIMEOUT: 1
Chrome
TIMEOUT: 1
Safari
TIMEOUT: 1
Links
Details
New Tests That Don't Pass
- /css/css-viewport/zoom/iframe-zoom-nested.html [wpt.fyi]:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT)
Comment 4•12 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/42a13d921e20
https://hg.mozilla.org/mozilla-central/rev/e4f31ef31f65
Description
•