Index: LayoutTests/http/tests/security/resources/cors-script.php |
diff --git a/LayoutTests/http/tests/security/resources/cors-script.php b/LayoutTests/http/tests/security/resources/cors-script.php |
index 1023855ad8bce0394468b3230c289470d31a8b5f..b99cf5d3a8eb01d8557924d6485b3269bce72a03 100644 |
--- a/LayoutTests/http/tests/security/resources/cors-script.php |
+++ b/LayoutTests/http/tests/security/resources/cors-script.php |
@@ -6,6 +6,9 @@ if (strtolower($_GET["credentials"]) == "true") { |
header("Access-Control-ALlow-Credentials: true"); |
} |
header("Content-Type: application/javascript"); |
+$delay = $_GET['delay']; |
+if ($delay) |
+ usleep(1000 * $delay); |
$value = $_GET['value']; |
if ($_SERVER['HTTP_ORIGIN'] && $_GET['value_cors']) { |
$value = $_GET['value_cors']; |