-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Block intents to self, and block fallback URLs in sandboxed main frames
Intents to self and main frame fallback URLs don't currently support maintaining sandbox attributes. I've been wanting to block intents to self for a while, and this seems like a good reason to finally do it - we'll instead just load the intent's target URL in the browser (unless the frame is sandboxed, in which case we just block the navigation). This is guarded by a kill switch in case we find that important use cases are relying on intenting to the current browser (which would be very weird). Bug: 1418061 Change-Id: Iaa836be3783122ba6d3fa286bfbf131b0b5cf494 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4294954 Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org> Commit-Queue: Michael Thiessen <mthiesse@chromium.org> Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1115894}
- Loading branch information
Michael Thiessen
authored and
Chromium LUCI CQ
committed
Mar 10, 2023
1 parent
b1ebf57
commit 8fd3520
Showing
23 changed files
with
298 additions
and
64 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
Oops, something went wrong.