[wpt-sync] Sync PR 61627 - script: Claim blob URLs before fetching script sources.
Categories
(Core :: DOM: File, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 61627 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/61627
Details from upstream follow.
Josh Matthews <josh@joshmatthews.net> wrote:
script: Claim blob URLs before fetching script sources.
These changes push forward the blob URL claim migration a bit further, now making it possible for other callers of create_potential_cors_request to be migrated incrementally. The UrlWithBlobClaim type ensures that any blob URL referenced remains valid while the value is alive, even if the blob is revoked.
Testing: Previously intermittent test now passes consistently. Added new module-specific tests as well.
Part of #<!-- nolink -->25226
Fixes: #<!-- nolink -->19978Reviewed in servo/servo#46881
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•3 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=1c9d07568a4d3bb2cb123241ad91c5aa821e2fa5
| Assignee | ||
Comment 2•3 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 16 tests
Status Summary
Firefox
OK : 2[GitHub] 15[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-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 11[GitHub] 131[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 132[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-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 3
Chrome
OK : 2
PASS: 11
Safari
OK : 2
PASS: 11
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /FileAPI/url/sandboxed-iframe.html [wpt.fyi]
- Blob URLs can be used in iframes, and are treated same origin:
FAIL - Blob URL fragment is implemented.:
FAIL - Revoke blob URL after creating Request, then clone Request, will fetch:
FAIL
- Blob URLs can be used in iframes, and are treated same origin:
Comment 4•3 months ago
|
||
| bugherder | ||
Description
•