[wpt-sync] Sync PR 25176 - Subresource WebBundles: Same-origin restriction
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox82 fixed)
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 25176 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/25176
Details from upstream follow.
Kunihiko Sakamoto <ksakamoto@chromium.org> wrote:
Subresource WebBundles: Same-origin restriction
This patch restricts subresource loading from WebBundles only to
same-origin resources, i.e. origin of subresource URL must be
same-origin with the origin of the enclosing WebBundle's URL.Bug: 1120252
Change-Id: Ic999c4582385560f22a1251c37bd3572f0ffd2bb
Reviewed-on: https://chromium-review.googlesource.com/2368618
WPT-Export-Revision: fe6a8549aff5e2c35b3d66c6d716ee0ee7186fb7
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=f8e4df044fd7a79b1059ebd0264b9476656d70d1
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 6 subtests
Status Summary
Firefox
FAIL : 2
TIMEOUT: 2
NOTRUN : 3
Chrome
FAIL : 2
TIMEOUT: 2
NOTRUN : 3
Safari
FAIL : 2
TIMEOUT: 2
NOTRUN : 3
Links
Details
New Tests That Don't Pass
/web-bundle/subresource-loading/subresource-loading-from-web-bundle.tentative.html: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
Subresource URL must be same-origin with bundle URL: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Updating resource= attribute should not reload the bundle: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
<link rel="webbundle"> fires an error event on load failure: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Dynamically adding / updating / removing "<link rel=webbundle>": FAIL (Chrome: FAIL, Safari: FAIL)
<link rel="webbundle"> fires a load event on load success: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
Subresource loading with WebBundle: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9a018bb082cd [wpt PR 25176] - Subresource WebBundles: Same-origin restriction, a=testonly
Comment 4•4 years ago
|
||
bugherder |
Description
•