forked from chromium/chromium
-
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.
Set base URL of cross-origin classic scripts to about:blank
crbug.com/1074317 changed the base URL from response URL to request URL to hide cross-origin response URLs. This CL - Changes the base URL back to response URL again, and - Hides the response URL by setting the base URL to about:blank if cross-origin, instead. - Uses `kDoNotSanitize` in LocalFrameMojoHandler::JavaScriptExecuteRequestForTests() because relative path dynamic imports are performed there in some ChromeOS browser tests. Bug: 1082086, whatwg/html#5751 Change-Id: Ifec44c5242db829bfc1ae8d143897e08564c15a0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2707694 Commit-Queue: Kouhei Ueno <kouhei@chromium.org> Reviewed-by: Kouhei Ueno <kouhei@chromium.org> Cr-Commit-Position: refs/heads/main@{#934466}
- Loading branch information
1 parent
f112344
commit 09e82ae
Showing
8 changed files
with
45 additions
and
33 deletions.
There are no files selected for viewing
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
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
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
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
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
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
7 changes: 0 additions & 7 deletions
7
...the-script-element/module/dynamic-import/alpha/base-url-worker-importScripts-expected.txt
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...tics/scripting-1/the-script-element/module/dynamic-import/alpha/base-url.sub-expected.txt
This file was deleted.
Oops, something went wrong.