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

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

Issue 954233003: Enable SRI only for same origin and CORS content. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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/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..ca0d3a3c1a20a3175c9bbf1f0ca4795b5aef3ab3 100644
--- a/LayoutTests/http/tests/security/resources/cors-script.php
+++ b/LayoutTests/http/tests/security/resources/cors-script.php
@@ -3,7 +3,7 @@ if (strtolower($_GET["cors"]) != "false") {
header("Access-Control-Allow-Origin: http://127.0.0.1:8000");
}
if (strtolower($_GET["credentials"]) == "true") {
- header("Access-Control-ALlow-Credentials: true");
+ header("Access-Control-Allow-Credentials: true");
}
header("Content-Type: application/javascript");
$value = $_GET['value'];
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/resources/cors-style.php » ('j') | Source/core/dom/ScriptLoader.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698