2 <!-- TODO(slightlyoff): Move to tests directory? -->
4 <title>Script test
</title>
7 window
.document
.getElementById("my_text").innerText
= txt
;
11 var host
= window
.externalHost
;
12 host
.ForwardMessageToExternalHost("OnChromeFrameMessage",
13 "Hello from ChromeFrame");
16 function OnHostMessage(text
) {
17 msg("In ChromeFrame: \r\n Message from host: " + text
);
21 <body onload=
"OnLoad();">
22 Here's an edit field:
<input type=
"text"><br>
23 Here's another:
<input type=
"text"><br>
26 <pre><div id=
"my_text"></div></pre>