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

Side by Side Diff: chrome_frame/test/data/postmessage_basic_frame.html

Issue 218019: Initial import of the Chrome Frame codebase. Integration in chrome.gyp coming... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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 <!-- saved from url=(0014)about:internet -->
2 <html>
3 <!-- This page is meant to load inside ChromeFrame -->
4 <head>
5 <script type="text/javascript" src="chrome_frame_tester_helpers.js">
6 </script>
7 <script type="text/javascript">
8 function OnLoad() {
9 externalHost.onmessage = OnHostMessage;
10 }
11
12 function OnHostMessage(evt) {
13 appendStatus('Host message: ' + evt.data);
14 externalHost.postMessage("Hello from ChromeFrame");
15 }
16 </script>
17 </head>
18
19 <body onload="OnLoad();">
20 <div id="statusPanel" style="border: 1px solid red; width: 100%">
21 Test running....
22 </div>
23
24 <p>ChromeFrame PostMessage Test
25 <br>Test for PostMessage from the host browser to ChromeFrame and back</p>
26 </body>
27 </html>
OLDNEW
« no previous file with comments | « chrome_frame/test/data/persistent_cookie_test_page.html ('k') | chrome_frame/test/data/postmessage_basic_host.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698