Index: LayoutTests/http/tests/security/resources/video-cross-origin-allow.php |
diff --git a/LayoutTests/http/tests/security/resources/video-cross-origin-allow.php b/LayoutTests/http/tests/security/resources/video-cross-origin-allow.php |
index 4ce9a6d30e6bcfe83f736b6e710b35353171fdf8..8ec4d67bdfceeb226d1aa75b51e3a0a339b02d62 100644 |
--- a/LayoutTests/http/tests/security/resources/video-cross-origin-allow.php |
+++ b/LayoutTests/http/tests/security/resources/video-cross-origin-allow.php |
@@ -1,5 +1,10 @@ |
<?php |
+if (isset($_GET['no-preflight']) && $_SERVER['REQUEST_METHOD'] == "OPTIONS") { |
+ echo "FAIL"; |
+ exit; |
+} |
+ |
header("Access-Control-Allow-Origin: *"); |
if ($_SERVER['REQUEST_METHOD'] == "OPTIONS") { |