| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <body> | 2 <body> |
| 3 <script> | 3 <script> |
| 4 function log(message) | 4 function log(message) |
| 5 { | 5 { |
| 6 var item = document.createElement("li"); | 6 var item = document.createElement("li"); |
| 7 item.appendChild(document.createTextNode(message)); | 7 item.appendChild(document.createTextNode(message)); |
| 8 document.getElementById("console").appendChild(item); | 8 document.getElementById("console").appendChild(item); |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 subresource of the current document can be loaded correctly as a subresource, ev
en if the URI | 30 subresource of the current document can be loaded correctly as a subresource, ev
en if the URI |
| 31 doesn't exist. | 31 doesn't exist. |
| 32 | 32 |
| 33 <p>When this test succeeds, you will see nothing. When this test fails, you wil
l crash or have another error. | 33 <p>When this test succeeds, you will see nothing. When this test fails, you wil
l crash or have another error. |
| 34 <link rel="prefetch" href="resources/does-not-exist.jpg" onerror="dne_onerror()"
/> | 34 <link rel="prefetch" href="resources/does-not-exist.jpg" onerror="dne_onerror()"
/> |
| 35 <img src="resources/does-not-exist.jpg" onerror="dne_onerror()" /> | 35 <img src="resources/does-not-exist.jpg" onerror="dne_onerror()" /> |
| 36 <hr> | 36 <hr> |
| 37 <p><ol id="console"></ol></p> | 37 <p><ol id="console"></ol></p> |
| 38 </body></html> | 38 </body></html> |
| 39 | 39 |
| OLD | NEW |