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

Side by Side 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: Another round of fixes based on Charlie's review. Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2
3 <head><title>Post message subframe tests</title>
4 <script>
5 function postToOpenerFrame(msg, origin) {
6 window.opener.frames[0][1].postMessage(msg, origin);
7 return true;
8 }
9
10 window.addEventListener("message", messageReceived, false);
11
12 function messageReceived(event) {
13 // Change the title to generate a notification.
14 document.title = event.data;
15 }
16 </script>
17 </head>
18
19 <iframe id="frame1" src="frame_tree/1-1.html"></iframe>
20
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698