Closed Bug 1941338 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 50049 - [wpt][vt] Fix `pageswap-in-hidden-doc-should-skip-transition.html` hang

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Jonathan Lee <jonathanjlee@google.com> wrote:

[wpt][vt] Fix pageswap-in-hidden-doc-should-skip-transition.html hang

When run with WebDriver-backed testdriver, this test hangs in all
browsers 0 because the popup thinks that it's the testharness browsing
context. This causes test_driver.minimize_window() to enqueue a
command in the wrong window, which the harness never services.

This CL removes testharness(report).js from the popup's markup and
instructs testdriver to send commands to the testharness window instead
with set_test_context() 1. Internally, this postMessage()s the
command with a unique ID identifying the popup 2.

This timeout doesn't occur for content_shell because it implements
testdriver directly with nonstandard JS bindings.

Bug: None
Change-Id: I62e740d5ccef2303c468dd91d0af368daee17dae
Reviewed-on: https://chromium-review.googlesource.com/6160579
WPT-Export-Revision: 2cab86b4f510430d9c0978507f0c9efefae943cb

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

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

TIMEOUT: 2

Chrome

OK : 1
PASS : 1

Safari

OK : 1
PASS : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /css/css-view-transitions/navigation/pageswap-in-hidden-doc-should-skip-transition.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], TIMEOUT [GitHub]
    • Outbound cross-document view transition is not allowed when document is hidden: TIMEOUT

New Tests That Don't Pass

  • /css/css-view-transitions/navigation/pageswap-in-hidden-doc-should-skip-transition.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], TIMEOUT [GitHub] (Chrome: OK, Safari: OK)
    • Outbound cross-document view transition is not allowed when document is hidden: TIMEOUT (Chrome: PASS, Safari: PASS)

Tests Disabled in Gecko Infrastructure

  • /css/css-view-transitions/navigation/pageswap-in-hidden-doc-should-skip-transition.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], TIMEOUT [GitHub] (Chrome: OK, Safari: OK)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/332bcce1d7fa [wpt PR 50049] - [wpt][vt] Fix `pageswap-in-hidden-doc-should-skip-transition.html` hang, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.