diff options
author | slightlyoff@chromium.org <slightlyoff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-24 05:11:58 +0000 |
---|---|---|
committer | slightlyoff@chromium.org <slightlyoff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-24 05:11:58 +0000 |
commit | f781782dd67077478e117c61dca4ea5eefce3544 (patch) | |
tree | 4801f724123cfdcbb69c4e7fe40a565b331723ae /chrome_frame/test/data/CFInstance_singleton_frame.html | |
parent | 63cf4759efa2373e33436fb5df6849f930081226 (diff) | |
download | chromium_src-f781782dd67077478e117c61dca4ea5eefce3544.zip chromium_src-f781782dd67077478e117c61dca4ea5eefce3544.tar.gz chromium_src-f781782dd67077478e117c61dca4ea5eefce3544.tar.bz2 |
Initial import of the Chrome Frame codebase. Integration in chrome.gyp coming in a separate CL.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/218019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27042 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test/data/CFInstance_singleton_frame.html')
-rw-r--r-- | chrome_frame/test/data/CFInstance_singleton_frame.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/chrome_frame/test/data/CFInstance_singleton_frame.html b/chrome_frame/test/data/CFInstance_singleton_frame.html new file mode 100644 index 0000000..1ab0302 --- /dev/null +++ b/chrome_frame/test/data/CFInstance_singleton_frame.html @@ -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> |