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

Unified Diff: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc

Issue 2209113002: Change wildcard source expression matching to conform latest spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust CSP of feedback extension Created 4 years, 4 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
« no previous file with comments | « chrome/browser/resources/pdf/manifest.json ('k') | chrome/browser/ui/webui/media_router/media_router_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
index ee8d33a24366a283390e80dd4f577df7929f399c..0ab0ecb1ba8cea10b3d2067832e113f6701e49e2 100644
--- a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
@@ -149,7 +149,8 @@ content::WebUIDataSource* CreateOobeUIDataSource(
base::StringPrintf(
"child-src chrome://terms/ %s/;",
extensions::kGaiaAuthExtensionOrigin));
- source->OverrideContentSecurityPolicyObjectSrc("object-src *;");
+ source->OverrideContentSecurityPolicyObjectSrc(
+ "object-src chrome:;");
source->AddResourcePath("gaia_auth_host.js",
StartupUtils::IsWebviewSigninEnabled()
? IDR_GAIA_AUTH_AUTHENTICATOR_JS
« no previous file with comments | « chrome/browser/resources/pdf/manifest.json ('k') | chrome/browser/ui/webui/media_router/media_router_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698