| <script> | |
| if (window.testRunner) | |
| window.testRunner.dumpAsText(); | |
| </script> | |
| You should see "\tHello World" in the text field below<br /> | |
| <input id="inputElem" type="text" value=" Hello World"> | |
| <pre id="console"></pre> | |
| <script> | |
| if (window.testRunner) { | |
| var inputElem = document.getElementById("inputElem"); | |
| document.getElementById("console").appendChild(document.createTextNode(inputElem.value)); | |
| } | |
| </script> |