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

Unified Diff: LayoutTests/http/tests/multipart/stop-loading.html

Issue 242373002: REGRESSION(r157081): Fix multipart handling of ResourceFetcher (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Landing Created 6 years, 8 months 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/multipart/stop-loading-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/multipart/stop-loading.html
diff --git a/LayoutTests/http/tests/multipart/stop-loading.html b/LayoutTests/http/tests/multipart/stop-loading.html
new file mode 100644
index 0000000000000000000000000000000000000000..c5665aab692ced021d82911b43ad40d83f0ed609
--- /dev/null
+++ b/LayoutTests/http/tests/multipart/stop-loading.html
@@ -0,0 +1,25 @@
+<html>
+<head>
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+}
+
+function firstPartLoaded()
+{
+ window.stop();
+ window.setTimeout(function() {
+ var broken = (testingImage.width != 2 && testingImage != 76);
+ document.getElementById("results").innerHTML = broken ? "PASS" : "FAIL";
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }, 100);
+}
+</script>
+</head>
+<body>
+<img id=testingImage src="resources/multipart.php?interval=1&loop=1&img1=2x2-green.png&img2=abe.png" onload="firstPartLoaded()">
+<p id="results"></p>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/http/tests/multipart/stop-loading-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698