| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script> | 3 <script> |
| 4 // Blocked images can be reloaded, so neither onload nor onerror is called. | 4 // Blocked images can be reloaded, so neither onload nor onerror is called. |
| 5 // Only check here that onload is never called when image is blocked. | 5 // Only check here that onload is never called when image is blocked. |
| 6 | 6 |
| 7 if (window.testRunner) { | 7 if (window.testRunner) { |
| 8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
| 9 testRunner.dumpPermissionClientCallbacks(); | 9 testRunner.dumpPermissionClientCallbacks(); |
| 10 } | 10 } |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 document.getElementById("img").appendChild(iframe); | 40 document.getElementById("img").appendChild(iframe); |
| 41 } | 41 } |
| 42 </script> | 42 </script> |
| 43 </head> | 43 </head> |
| 44 <body> | 44 <body> |
| 45 <img src="resources/boston.gif" onload="loaded()"> | 45 <img src="resources/boston.gif" onload="loaded()"> |
| 46 <div id="img"></div> | 46 <div id="img"></div> |
| 47 <div id="results"></div> | 47 <div id="results"></div> |
| 48 </body> | 48 </body> |
| 49 </html> | 49 </html> |
| OLD | NEW |