Closed Bug 1760375 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33254 - Rewrite some WPT on interactions between pending stylesheets and scripts

Categories

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

task

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Xiaocheng Hu <xiaochengh@chromium.org> wrote:

Rewrite some WPT on interactions between pending stylesheets and scripts

Some existing WPT tests rely on the exact loading latency of some
style sheets, which may be flaky. This patch rewrites them to check the
stylesheet contents directly so that they will be more stable.

The utility functions introduced by this patch are also needed by a
follow-up patch: crrev.com/c/3533426

Bug: 1271296
Change-Id: Ifc527b268b551d79478a239242fe24abbb198576
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3536463
Auto-Submit: Xiaocheng Hu \<xiaochengh@chromium.org>
Reviewed-by: Joey Arhar \<jarhar@chromium.org>
Commit-Queue: Xiaocheng Hu \<xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#982920}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 3 tests and 1 subtests

Status Summary

Firefox

OK : 3
PASS: 4

Chrome

OK : 3
PASS: 4

Safari

OK : 3
PASS: 3
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4cd10bf6d142
[wpt PR 33254] - Rewrite some WPT on interactions between pending stylesheets and scripts, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2050bc4f99cc
[wpt PR 33254] - Rewrite some WPT on interactions between pending stylesheets and scripts, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.