Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: LayoutTests/security/block-test-no-port.html

Issue 673603002: Reland: Make the HTMLDocumentParser yield more aggressively (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/security/block-test-no-port.html
diff --git a/LayoutTests/security/block-test-no-port.html b/LayoutTests/security/block-test-no-port.html
index eb527a1364bf4626ea3750ed4a8daad7493ccac4..abff97627a0e3b2a0a34966173f57e6c3d2678fe 100644
--- a/LayoutTests/security/block-test-no-port.html
+++ b/LayoutTests/security/block-test-no-port.html
@@ -14,10 +14,14 @@
setTimeout("testRunner.notifyDone()", 0);
}
}
+
+ onload = function() {
+ document.querySelector("#testIMG").src = "http://255.255.255.255/test.jpg";
+ }
</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>
+<img id="testIMG" onError="finishTesting();"></img>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698