Index: Source/core/dom/SandboxFlags.cpp |
diff --git a/Source/core/dom/SandboxFlags.cpp b/Source/core/dom/SandboxFlags.cpp |
index 1ebd0c3fe66bcac4f058df1ee826a60070ab3d70..8d8e01c2f7971c60a5cb31dd3e1df6f1aa0d0f6c 100644 |
--- a/Source/core/dom/SandboxFlags.cpp |
+++ b/Source/core/dom/SandboxFlags.cpp |
@@ -65,6 +65,8 @@ SandboxFlags parseSandboxPolicy(const String& policy, String& invalidTokensError |
flags &= ~SandboxPopups; |
} else if (equalIgnoringCase(sandboxToken, "allow-pointer-lock")) { |
flags &= ~SandboxPointerLock; |
+ } else if (equalIgnoringCase(sandboxToken, "allow-orientation-lock")) { |
+ flags &= ~SandboxOrientationLock; |
} else { |
if (numberOfTokenErrors) |
tokenErrors.appendLiteral(", '"); |