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

Unified Diff: extensions/common/manifest_handlers/sandboxed_page_info.cc

Issue 1482243004: [Extensions] Add allow-modals to the default sandbox CSP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update unit test Created 5 years 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/common/extensions/manifest_tests/extension_manifests_sandboxed_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/manifest_handlers/sandboxed_page_info.cc
diff --git a/extensions/common/manifest_handlers/sandboxed_page_info.cc b/extensions/common/manifest_handlers/sandboxed_page_info.cc
index 7da548353a85e06de951857d82cbc47bb0745f2a..0fc6589525bf7127f97cb68fb797becf724b4fb6 100644
--- a/extensions/common/manifest_handlers/sandboxed_page_info.cc
+++ b/extensions/common/manifest_handlers/sandboxed_page_info.cc
@@ -22,7 +22,7 @@ namespace keys = extensions::manifest_keys;
namespace errors = manifest_errors;
const char kDefaultSandboxedPageContentSecurityPolicy[] =
- "sandbox allow-scripts allow-forms allow-popups";
+ "sandbox allow-scripts allow-forms allow-popups allow-modals";
static base::LazyInstance<SandboxedPageInfo> g_empty_sandboxed_info =
LAZY_INSTANCE_INITIALIZER;
« no previous file with comments | « chrome/common/extensions/manifest_tests/extension_manifests_sandboxed_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698