-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Blob URL] Add tests for enforcing noopener on a / area clicks
For cross-top-level-site navigations via clicking "a" and "area" links that use `target="_blank" rel="opener"`, we should enforce noopener as part of Blob URL partitioning. "window.opener" can also get set on form submissions, but from testing in Chrome, Firefox, and Safari, we can't successfully perform a form submission to a Blob URL (if the method is GET, it seems that the appended '?' breaks the Blob URL lookup, and POST doesn't work either because it is an unsupported method for Blob URLs). For more information, see: https://docs.google.com/document/d/1Xk73RLlLgfVw1p2tYBGqlP7ROQxaMh6kxfusSMm9exM/edit?usp=sharing Bug: 361751872 Change-Id: I723a0cf0df73ebb2f81f3fced496248d5c7a9798 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5979376 Reviewed-by: Steven Bingler <[email protected]> Commit-Queue: Andrew Williams <[email protected]> Cr-Commit-Position: refs/heads/main@{#1377218}
- Loading branch information
1 parent
b4899d9
commit d7f9bb1
Showing
1 changed file
with
120 additions
and
22 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