Commit 8bd29ab5 authored by Dianna Smith's avatar Dianna Smith
Browse files

Backed out 1 changesets (bug 1735856), a=backout

Backed out changeset ccd227e3c8a6 (bug 1735856)
parent 0b634c56
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -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;
  }
+4 −0
Original line number Diff line number Diff line
[frame-ancestors-none-block.html]
  [frame-ancestors-none-block]
    expected: FAIL