| <html> |
| <script> |
| var baseURL = "255.255.255.255"; |
| var currentPort = 0; |
| |
| if (window.layoutTestController) { |
| layoutTestController.waitUntilDone(); |
| layoutTestController.dumpResourceLoadCallbacks(); |
| } |
| |
| function finishTesting() { |
| if (window.layoutTestController) { |
| layoutTestController.dumpAsText(); |
| setTimeout("layoutTestController.notifyDone()", 0); |
| } |
| } |
| </script> |
| <body> |
| <p>This test attempts to change the src of an IMG tag to a blocked IP with no port to confirm that WebKit returns the correct error for it - blocked instead of cannot find. Due to the nature of this test, the results can only be processed automatically via DumpRenderTree. In addition, on some systems the results may depend on the behavior of the proxy. |
| </p> |
| <img id="testIMG" src="http://255.255.255.255/test.jpg" onError="finishTesting();"></img> |
| </body> |
| </html> |