Blink roll 148954:148987
[chromium-blink-merge.git] / chrome_frame / frame.html
blobd63d3aced16507c7a3ef055e1dc0ac92a0fbb21c
1 <html>
2 <!-- TODO(slightlyoff): Move to tests directory? -->
3 <head>
4 <title>Script test</title>
5 <script>
6 function OnLoad() {
7 var host = window.externalHost;
8 host.onmessage = OnHostMessage;
9 host.ForwardMessageToExternalHost("Hello from ChromeFrame");
12 function OnHostMessage(text) {
13 window.alert("In ChromeFrame: \r\n Message from host: " + text);
15 </script>
16 </head>
17 <body onload="OnLoad();">
18 Test script
19 </body>
20 </html>