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

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

Issue 1126253007: Block modal dialogs inside sandboxes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: WebSandboxFlags. Created 5 years, 7 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: Source/core/dom/SandboxFlags.h
diff --git a/Source/core/dom/SandboxFlags.h b/Source/core/dom/SandboxFlags.h
index 0047981c4cc7a9140051181f0d48951afa1c2d83..fcffa4067f143318377086e970ed8ddc7486543e 100644
--- a/Source/core/dom/SandboxFlags.h
+++ b/Source/core/dom/SandboxFlags.h
@@ -47,6 +47,7 @@ enum SandboxFlag {
SandboxDocumentDomain = 1 << 9,
SandboxOrientationLock = 1 << 10, // See https://w3c.github.io/screen-orientation/#dfn-sandboxed-orientation-lock-browsing-context-flag.
SandboxPropagatesToAuxiliaryBrowsingContexts = 1 << 11,
+ SandboxModals = 1 << 12,
SandboxAll = -1 // Mask with all bits set to 1.
};

Powered by Google App Engine
This is Rietveld 408576698