OLD | NEW |
1 <select id="select"> | 1 <select id="select"> |
2 <option>Truffles</option> | 2 <option>Truffles</option> |
3 </select> | 3 </select> |
4 <textarea id="textarea"> | 4 <textarea id="textarea"> |
5 Marshmallows | 5 Marshmallows |
6 </textarea> | 6 </textarea> |
7 <iframe id="iframe" src="data:text/html,"></iframe> | 7 <iframe id="iframe" src="data:text/html,"></iframe> |
8 <input type="password" id="password" value="seikooC"> | 8 <input type="password" id="password" value="seikooC"> |
9 <script> | 9 <script> |
10 if (window.testRunner) { | 10 if (window.testRunner) { |
11 testRunner.dumpAsText(); | 11 testRunner.dumpAsText(); |
12 testRunner.waitUntilDone(); | 12 testRunner.waitUntilDone(); |
13 } | 13 } |
14 | 14 |
15 var newDoc = document.getElementById("iframe").contentDocument; | 15 var newDoc = document.getElementById("iframe").contentDocument; |
16 newDoc.adoptNode(document.getElementById("select")); | 16 newDoc.adoptNode(document.getElementById("select")); |
17 newDoc.adoptNode(document.getElementById("textarea")); | 17 newDoc.adoptNode(document.getElementById("textarea")); |
18 newDoc.adoptNode(document.getElementById("password")); | 18 newDoc.adoptNode(document.getElementById("password")); |
19 location.href="data:text/html,SUCCESS<script>if (window.testRunner) testRunn
er.notifyDone()</scr" + "ipt>"; | 19 location.href = "../../resources/notify-success.html"; |
20 </script> | 20 </script> |
OLD | NEW |