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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/cors-rfc1918/resources/preflight.js

Issue 1745083002: CORS-RFC1918: Force preflights for external requests in DocumentThreadableLoader. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test. Created 4 years, 8 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: third_party/WebKit/LayoutTests/http/tests/security/cors-rfc1918/resources/preflight.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/cors-rfc1918/resources/preflight.js b/third_party/WebKit/LayoutTests/http/tests/security/cors-rfc1918/resources/preflight.js
new file mode 100644
index 0000000000000000000000000000000000000000..5f7a08714061fdf58296dbd723886d385d9a7335
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/cors-rfc1918/resources/preflight.js
@@ -0,0 +1,3 @@
+function preflightURL(status, out) {
+ return 'http://localhost:8080/security/cors-rfc1918/resources/preflight.php?preflight=' + status + '&out=' + out;
+}

Powered by Google App Engine
This is Rietveld 408576698