Index: Source/core/frame/csp/CSPDirectiveList.h |
diff --git a/Source/core/frame/csp/CSPDirectiveList.h b/Source/core/frame/csp/CSPDirectiveList.h |
index 4ce1f537f256be95244fbab42951e604e455a53b..4cbeec8f918ba1fad10153048c586ba85557e957 100644 |
--- a/Source/core/frame/csp/CSPDirectiveList.h |
+++ b/Source/core/frame/csp/CSPDirectiveList.h |
@@ -70,6 +70,7 @@ public: |
bool didSetReferrerPolicy() const { return m_didSetReferrerPolicy; } |
bool isReportOnly() const { return m_reportOnly; } |
const Vector<String>& reportEndpoints() const { return m_reportEndpoints; } |
+ bool isFrameAncestorsEnforced() const { return m_frameAncestors.get() && !m_reportOnly; } |
// Used to copy plugin-types into a plugin document in a nested |
// browsing context. |