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

Unified Diff: third_party/WebKit/Source/core/dom/SandboxFlags.cpp

Issue 2391573002: Remove UnsandboxedAuxiliary runtime flag (status=stable) (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/SandboxFlags.cpp
diff --git a/third_party/WebKit/Source/core/dom/SandboxFlags.cpp b/third_party/WebKit/Source/core/dom/SandboxFlags.cpp
index fb5f37799dd65a425d8c26ff05c677cf0d698c4d..c4b7c8b893075946853aa0ce0dd1e7f571d2af4a 100644
--- a/third_party/WebKit/Source/core/dom/SandboxFlags.cpp
+++ b/third_party/WebKit/Source/core/dom/SandboxFlags.cpp
@@ -27,7 +27,6 @@
#include "core/dom/SandboxFlags.h"
#include "core/html/parser/HTMLParserIdioms.h"
-#include "platform/RuntimeEnabledFeatures.h"
#include "wtf/text/StringBuilder.h"
namespace blink {
@@ -60,8 +59,7 @@ SandboxFlags parseSandboxPolicy(const SpaceSplitString& policy,
} else if (equalIgnoringCase(sandboxToken, "allow-orientation-lock")) {
flags &= ~SandboxOrientationLock;
} else if (equalIgnoringCase(sandboxToken,
- "allow-popups-to-escape-sandbox") &&
- RuntimeEnabledFeatures::unsandboxedAuxiliaryEnabled()) {
+ "allow-popups-to-escape-sandbox")) {
flags &= ~SandboxPropagatesToAuxiliaryBrowsingContexts;
} else if (equalIgnoringCase(sandboxToken, "allow-modals")) {
flags &= ~SandboxModals;
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698