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

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

Issue 1202593002: Move browser-to-renderer opener plumbing to frame routing IDs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@opener-create-opener-render-views
Patch Set: Remove suppress_opener Created 5 years, 5 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/renderer/render_view_impl.cc ('k') | content/test/test_render_view_host.h » ('j') | 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 b293a21a61c6284155b339ac4095585370b8903c..b56764d1c3c2b55a697d46278b74b6d82ec150e9 100644
--- a/content/test/data/post_message.html
+++ b/content/test/data/post_message.html
@@ -8,6 +8,12 @@
return true;
}
+ // Send a message to our opener's opener.
+ function postToOpenerOfOpener(msg, origin) {
+ window.opener.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/renderer/render_view_impl.cc ('k') | content/test/test_render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698