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

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

Issue 2645733002: Add an 'allow-top-navigation-with-user-interaction' sandbox flag. (Closed)
Patch Set: Fix the tests finally! Created 3 years, 11 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: third_party/WebKit/Source/core/dom/SandboxFlags.h
diff --git a/third_party/WebKit/Source/core/dom/SandboxFlags.h b/third_party/WebKit/Source/core/dom/SandboxFlags.h
index c5ba93b8ddfd350baf98e9ff8aa9841ae294ffa6..538bd3e3630c0dcb1f58b402a9c4ab2dbfb77b31 100644
--- a/third_party/WebKit/Source/core/dom/SandboxFlags.h
+++ b/third_party/WebKit/Source/core/dom/SandboxFlags.h
@@ -55,6 +55,8 @@ enum SandboxFlag {
// See
// https://w3c.github.io/presentation-api/#sandboxing-and-the-allow-presentation-keyword
SandboxPresentation = 1 << 13,
+ // See https://github.com/WICG/interventions/issues/42.
+ SandboxTopNavigationWithUserActivation = 1 << 14,
SandboxAll = -1 // Mask with all bits set to 1.
};

Powered by Google App Engine
This is Rietveld 408576698