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

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

Issue 10827078: Support frame tree propagation between renderers in the same browsing instance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved away from hardcoded strings and no static cast needed for tests. Created 8 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
« content/renderer/render_view_impl.h ('K') | « content/test/data/post_message.html ('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_message2.html
diff --git a/content/test/data/post_message2.html b/content/test/data/post_message2.html
new file mode 100644
index 0000000000000000000000000000000000000000..14cc4e4736974ce0f7a935fa8700b1ca8e24c201
--- /dev/null
+++ b/content/test/data/post_message2.html
@@ -0,0 +1,21 @@
+<html>
+
+<head><title>Post message tests</title>
+<script>
+ function postToOpenerFrame(msg, origin) {
+ window.opener.frames[0][1].postMessage(msg, origin);
+ return true;
+ }
+
+ window.addEventListener("message", messageReceived, false);
+
+ function messageReceived(event) {
+ // Change the title to generate a notification.
+ document.title = event.data;
+ }
+</script>
+</head>
+
+<iframe id="frame1" src="frame_tree/1-1.html"></iframe>
+
+</html>
« content/renderer/render_view_impl.h ('K') | « content/test/data/post_message.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698