Bumping manifests a=b2g-bump
[gecko.git] / dom / base / test / iframe_bug976673.html
blob9b8bd9c201b3b95845b45ff7f9256479d0782e23
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Test for Bug 976673</title>
6 </head>
7 <body>
8 <input id="input" onfocus="event.target.value = event.type;"
9 onblur="event.target.value = event.type;">
10 <script>
11 var input = document.getElementById("input");
12 window.addEventListener("message", function (aEvent) {
13 switch (aEvent.data) {
14 case "init":
15 input.blur();
16 input.value = "";
17 input.focus();
18 case "check":
19 aEvent.source.postMessage("input-value: " + input.value, "*");
20 break;
22 }, false);
23 </script>
24 </body>
25 </html>