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

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: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2
3 <head><title>Post message 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
« 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