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

Unified Diff: chrome_frame/test/data/CFInstance_singleton_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 side-by-side diff with in-line comments
Download patch
Index: chrome_frame/test/data/CFInstance_singleton_frame.html
===================================================================
--- chrome_frame/test/data/CFInstance_singleton_frame.html (revision 0)
+++ chrome_frame/test/data/CFInstance_singleton_frame.html (revision 0)
@@ -0,0 +1,20 @@
+<html>
+ <head>
+ <title>talk to me...</title>
+ <script type="text/javascript" src="CFInstance.js"></script>
+ <script type="text/javascript">
+ CFInstance.listen("load", function() {
+ document.body.innerHTML = "sending 'foo'";
+ CFInstance.postMessage("foo");
+ document.body.innerHTML = "...waiting...";
+ });
+ CFInstance.listen("message", function(evt) {
+ document.body.innerHTML = "sending 'baz'";
+ CFInstance.postMessage("baz");
+ });
+ </script>
+ </head>
+ <body>
+ <h1>sends a message to the parent</h1>
+ </body>
+</html>
« no previous file with comments | « chrome_frame/test/data/CFInstance_rpc_internal_host.html ('k') | chrome_frame/test/data/CFInstance_singleton_host.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698