Closed Bug 2086903 Opened 1 month ago Closed 20 days ago

[wpt-sync] Sync PR 64087 - [wdspec] Fix preload script execution order test for inline script

Categories

(Remote Protocol :: WebDriver BiDi, task, P4)

task

Tracking

(firefox162 fixed)

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Maksim Sadym <sadym@chromium.org> wrote:

[wdspec] Fix preload script execution order test for inline script

  • Fix the preload script execution order test when a new popup runs an
    inline script, and mark multi-case wdspec tests that exceed the
    default timeout under CI load as slow.
  • Previously, the popup subtest opened a top-level data: URL from
    script. Chrome blocks script-initiated top-level data: navigations,
    which the Fetch specification allows, so the popup never emitted
    browsingContext.load and timed out.
  • Serve the popup document over HTTP(S) with inline() while keeping
    the data: URL for the iframe variant.

TAG=agy

Fixed: 576637414
Bug: 365046210, 571887196, 573055465
Include-Ci-Only-Tests: chromium.linux:Linux Tests|webdriver_wpt_tests
Cq-Include-Trybots: luci.chromium.try:linux-webdriver-bidi-rel,linux-blink-rel
Change-Id: I4432efae3c271fa8e503da7c1a12ceff0972b822
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8641570
Commit-Queue: Maksim Sadym \<sadym@chromium.org>
Reviewed-by: Nikolay Vitkov \<nvitkov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1725769}

Component: web-platform-tests → WebDriver BiDi
Product: Testing → Remote Protocol
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 7 tests and 4 subtests

Status Summary

Firefox

OK : 1[GitHub] 7[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 12[GitHub] 113[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 124[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
PASS : 12

Safari

OK : 1
ERROR: 12

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 20 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.