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

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

Issue 2696703010: Rename the flag of 'allow-top-navigation-with-user-activation' to 'allow-top-navigation-by-user-act… (Closed)
Patch Set: Add the *-with-two-flags-expected.txt that I forgot previously. Created 3 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/SandboxFlags.h ('k') | third_party/WebKit/Source/core/frame/Frame.cpp » ('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 34e62da1ba50ddd0f22037045393c081cd60afca..9953670db5c55de5f750138d1223947d013d1378 100644
--- a/third_party/WebKit/Source/core/dom/SandboxFlags.cpp
+++ b/third_party/WebKit/Source/core/dom/SandboxFlags.cpp
@@ -68,10 +68,10 @@ SandboxFlags parseSandboxPolicy(const SpaceSplitString& policy,
} else if (equalIgnoringCase(sandboxToken, "allow-presentation")) {
flags &= ~SandboxPresentation;
} else if (equalIgnoringCase(sandboxToken,
- "allow-top-navigation-with-user-activation") &&
+ "allow-top-navigation-by-user-activation") &&
RuntimeEnabledFeatures::
- topNavWithUserActivationInSandboxEnabled()) {
- flags &= ~SandboxTopNavigationWithUserActivation;
+ topNavByUserActivationInSandboxEnabled()) {
+ flags &= ~SandboxTopNavigationByUserActivation;
} else {
tokenErrors.append(tokenErrors.isEmpty() ? "'" : ", '");
tokenErrors.append(sandboxToken);
« no previous file with comments | « third_party/WebKit/Source/core/dom/SandboxFlags.h ('k') | third_party/WebKit/Source/core/frame/Frame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698