-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1660433 [wpt PR 25176] - Subresource WebBundles: Same-origin rest…
…riction, a=testonly Automatic update from web-platform-tests 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/c/chromium/src/+/2368618 Reviewed-by: Tsuyoshi Horo <horo@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Hayato Ito <hayato@chromium.org> Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#800907} -- wpt-commits: aa022e797e89bbc1c2f607970efaf3313bbcf386 wpt-pr: 25176
- Loading branch information
1 parent
8b505f1
commit 1a25dc1
Showing
5 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
testing/web-platform/tests/web-bundle/resources/dynamic/__dir__.headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Access-Control-Allow-Origin: * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+1.18 KB
testing/web-platform/tests/web-bundle/resources/wbn/dynamic1-crossorigin.wbn
Binary file not shown.
Binary file modified
BIN
-6 Bytes
(99%)
testing/web-platform/tests/web-bundle/resources/wbn/subresource.wbn
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters