[wpt-sync] Sync PR 26814 - Enable subframe navigation to urn:uuid resources in Web Bundles
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox87 fixed)
| Tracking | Status | |
|---|---|---|
| firefox87 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 26814 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/26814
Details from upstream follow.
b'Kunihiko Sakamoto <ksakamoto@chromium.org>' wrote:
Enable subframe navigation to urn:uuid resources in Web Bundles
This implements subframe loading with Web Bundles. Design doc:
https://docs.google.com/document/d/1_AqUBS4Gr45MPPtXGTUl7Q0DMIEw2zUeWO0zo6Sj0z4/edit#heading=h.aay60dv2vzuablink::FrameLoader::StartNavigation attaches a WebBundleToken to the
request. It is propagated to the (new) web_bundle_token field of
mojom::BeginNavigationParams, and used to construct a navigation request
in NavigationURLLoaderImpl.Created subframes have opaque-origins, and are hosted by a process for
the Bundle's origin. To achieve these, this CL:
- Adds a field for WebBundle URL to content::UrlInfo
- For navigation to a urn: URL,
- SiteInstanceImpl::GetSiteForURLInternal() uses the Bundle URL
- NavigationRequest::GetOriginForURLLoaderFactory() returns an opaque
origin derived from the bundle's originBug: 1082020
Change-Id: I07e03cce9f7da7eb6fd9d4218cf31882585b8463
Reviewed-on: https://chromium-review.googlesource.com/2543726
WPT-Export-Revision: 50312783519e2946bdc3d340bf33ac514cafb674
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
| Assignee | ||
Comment 3•5 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 12 subtests
Status Summary
Firefox
PASS : 1
FAIL : 5
TIMEOUT: 4
NOTRUN : 5
Chrome
PASS : 1
FAIL : 5
TIMEOUT: 4
NOTRUN : 5
Safari
PASS : 1
FAIL : 5
TIMEOUT: 4
NOTRUN : 5
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/web-bundle/subresource-loading/subframe-from-web-bundle.tentative.html: SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
Subframe load from Web Bundle: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
/web-bundle/subresource-loading/subresource-loading-from-web-bundle.tentative.html: SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
Subresource loading with WebBundle: FAIL (Chrome: FAIL, Safari: FAIL)
Subresource loading with WebBundle (Fetch API): FAIL (Chrome: FAIL, Safari: FAIL)
Dynamically adding / updating / removing "<link rel=webbundle>": FAIL (Chrome: FAIL, Safari: FAIL)
Dynamically loading classic script from web bundle with link.resources: FAIL (Chrome: FAIL, Safari: FAIL)
Dynamically loading classic script from web bundle with link.scopes: FAIL (Chrome: FAIL, Safari: FAIL)
<link rel="webbundle"> fires a load event on load success: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
<link rel="webbundle"> fires an error event on load failure: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Subresource URL must be same-origin with bundle URL: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Subresource loading with urn:uuid: URL with link.resources: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Subresource loading with urn:uuid: URL with link.scopes: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Updating resource= attribute should not reload the bundle: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Tests Disabled in Gecko Infrastructure
/web-bundle/subresource-loading/subframe-from-web-bundle.tentative.html: SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
/web-bundle/subresource-loading/subresource-loading-from-web-bundle.tentative.html: SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
Comment 5•5 years ago
|
||
| bugherder | ||
Description
•