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.
Add a new signal IsCrossSiteFrame to DocumentCreated event.
The signal indicates whether a non-top-level UKM source belongs to a cross-site security origin or a same-site security origin. UKM proposal: https://docs.google.com/document/d/1_lodiN5x-rP2Wh-xQZJbVyOoTln8Vm9xBWatUJiXZqM/edit# Bug: b/177260736 Change-Id: Ibc3113ee45835cc8e2b6829698267586a0e67795 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2678561 Reviewed-by: Aaron Colwell <acolwell@chromium.org> Reviewed-by: Asanka Herath <asanka@chromium.org> Reviewed-by: Alexei Svitkine <asvitkine@chromium.org> Commit-Queue: Qingxin Wu <qingxinwu@google.com> Cr-Commit-Position: refs/heads/master@{#858168}
- Loading branch information
Qingxin Wu
authored and
Chromium LUCI CQ
committed
Feb 26, 2021
1 parent
3215a98
commit 6ab5abc
Showing
4 changed files
with
53 additions
and
1 deletion.
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
9 changes: 9 additions & 0 deletions
9
content/test/data/frame_tree/page_with_cross_origin_same_site_iframe.html
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,9 @@ | ||
<!DOCTYPE html> | ||
<head> | ||
</head> | ||
<body> | ||
This page contains a cross-origin but same-site iframe. | ||
<iframe name="frame0" src="/cross-site/b.x.com/title1.html"></iframe> | ||
</body> | ||
</html> | ||
|
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