Closed Bug 1898141 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 46423 - Import map integrity tests - WebKit improvements

Categories

(Core :: JavaScript Engine, task, P4)

task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yoav Weiss <yoav.weiss@shopify.com> wrote:

Import map integrity tests - WebKit improvements

This is a manual export of the various improvements iterated upon when landing the import map integrity tests in WebKit (in https://github.com/WebKit/WebKit/pull/28253)

/cc @marcoscaceres

Component: web-platform-tests → JavaScript Engine
Product: Testing → Core

CI Results

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

Total 5 tests and 5 subtests

Status Summary

Firefox

OK : 5
PASS: 19
FAIL: 10

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /import-maps/dynamic-integrity.html [wpt.fyi]
    • script was not loaded, as its resolved URL failed its integrity check: FAIL
    • Script with no import definition was not loaded, as it failed its integrity check: FAIL
    • Bare specifier script was not loaded, as it failed its integrity check: FAIL
    • Script imported inside an event handler was not loaded as its integrity check failed: FAIL
  • /import-maps/no-referencing-script-integrity.html [wpt.fyi]
    • Script was not loaded as its integrity check failed: FAIL
  • /import-maps/nonimport-integrity.html [wpt.fyi]
    • Script was not loaded as its integrity check was not ignored: FAIL
    • Modulepreload was not loaded as its integrity check was not ignored: FAIL
  • /import-maps/static-integrity.html [wpt.fyi]
    • Static script did not load as it failed its integrity check: FAIL
    • Static script did not load as it failed its integrity check, even without an import defined: FAIL
    • HTML-based module script did not load as its integrity check failed.: FAIL
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fde32b2a70c8 [wpt PR 46423] - Import map integrity tests - WebKit improvements, a=testonly https://hg.mozilla.org/integration/autoland/rev/1b7f8e451da2 [wpt PR 46423] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.