Index: third_party/WebKit/LayoutTests/http/tests/media/resources/serve-video.php |
diff --git a/third_party/WebKit/LayoutTests/http/tests/media/resources/serve-video.php b/third_party/WebKit/LayoutTests/http/tests/media/resources/serve-video.php |
index 9bfcf0289d2bd43e237cbf4b7c31524221842a57..a13edf067195bea2e8cd521ab3cc5d95beb9262c 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/media/resources/serve-video.php |
+++ b/third_party/WebKit/LayoutTests/http/tests/media/resources/serve-video.php |
@@ -27,6 +27,9 @@ |
header("Accept-Ranges: bytes"); |
header("Content-Range: bytes " . $start . "-" . $end . "/" . $fileSize); |
} |
+ if (isset($_GET['cors_allow_origin'])) { |
+ header("Access-Control-Allow-Origin: " . $_GET['cors_allow_origin']); |
+ } |
header("Connection: close"); |
$chunkSize = 1024 * 256; |