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

Unified Diff: LayoutTests/http/tests/security/resources/script-allow-star.php

Issue 149643003: Improve handling of CORS redirects for some resource loads. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use canRequest() when checking redirect origin; remove redundant null checks. Created 6 years, 10 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/security/resources/script-allow-star.php
diff --git a/LayoutTests/http/tests/security/resources/script-allow-star.php b/LayoutTests/http/tests/security/resources/script-allow-star.php
new file mode 100644
index 0000000000000000000000000000000000000000..d808db26cad09ccb6bde1fd9a170c8f1f7a3b2d6
--- /dev/null
+++ b/LayoutTests/http/tests/security/resources/script-allow-star.php
@@ -0,0 +1,5 @@
+<?php
+header('Access-Control-Allow-Origin: *');
+header('Content-Type: application/javascript');
+echo '2;'
+?>

Powered by Google App Engine
This is Rietveld 408576698