Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Unified Diff: content/test/data/post_message.html

Issue 1309043003: Handle frame openers in the same FrameTree when navigating subframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@opener-cycle-detection
Patch Set: Add comment for the DCHECK Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/post_message.html
diff --git a/content/test/data/post_message.html b/content/test/data/post_message.html
index b56764d1c3c2b55a697d46278b74b6d82ec150e9..f20ca5675367b83d24b6c446e47002ce7f00e804 100644
--- a/content/test/data/post_message.html
+++ b/content/test/data/post_message.html
@@ -14,6 +14,12 @@
return true;
}
+ // Send a message to our parent's opener.
+ function postToOpenerOfParent(msg, origin) {
+ parent.opener.postMessage(msg, origin);
+ return true;
+ }
+
// Send a message to a window named "foo".
function postToFoo(msg) {
var w = window.open("", "foo");
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698