Loading dom/security/nsCSPContext.cpp +2 −6 Original line number Diff line number Diff line Loading @@ -1442,12 +1442,8 @@ class CSPReportSenderRunnable final : public Runnable { } // 4) fire violation event // A frame-ancestors violation has occurred, but we should not dispatch the // violation event to a potentially cross-origin ancestor. if (!mViolatedDirective.EqualsLiteral("frame-ancestors")) { mCSPContext->FireViolationEvent(mTriggeringElement, mCSPEventListener, init); } return NS_OK; } Loading testing/web-platform/meta/content-security-policy/frame-ancestors/frame-ancestors-none-block.html.ini 0 → 100644 +4 −0 Original line number Diff line number Diff line [frame-ancestors-none-block.html] [frame-ancestors-none-block] expected: FAIL Loading
dom/security/nsCSPContext.cpp +2 −6 Original line number Diff line number Diff line Loading @@ -1442,12 +1442,8 @@ class CSPReportSenderRunnable final : public Runnable { } // 4) fire violation event // A frame-ancestors violation has occurred, but we should not dispatch the // violation event to a potentially cross-origin ancestor. if (!mViolatedDirective.EqualsLiteral("frame-ancestors")) { mCSPContext->FireViolationEvent(mTriggeringElement, mCSPEventListener, init); } return NS_OK; } Loading
testing/web-platform/meta/content-security-policy/frame-ancestors/frame-ancestors-none-block.html.ini 0 → 100644 +4 −0 Original line number Diff line number Diff line [frame-ancestors-none-block.html] [frame-ancestors-none-block] expected: FAIL