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

Unified Diff: LayoutTests/http/tests/misc/resources/slow-nonexisting-script.php

Issue 1263743002: Upon load failure, remove sync script from execution queue. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: correctly remove in-order script loader from queue Created 5 years, 4 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
Index: LayoutTests/http/tests/misc/resources/slow-nonexisting-script.php
diff --git a/LayoutTests/http/tests/misc/resources/slow-nonexisting-script.php b/LayoutTests/http/tests/misc/resources/slow-nonexisting-script.php
new file mode 100644
index 0000000000000000000000000000000000000000..076b85675ca47305d6c7ce16267442ad2eb92630
--- /dev/null
+++ b/LayoutTests/http/tests/misc/resources/slow-nonexisting-script.php
@@ -0,0 +1,6 @@
+<?php
+sleep(intval($_GET['timeout']));
+header("HTTP/1.1 404 Not Found");
+header("Content-Type: text/javascript");
+echo("testFailed('script should not run');");
+?>

Powered by Google App Engine
This is Rietveld 408576698