diff --git a/dom/base/Document.cpp b/dom/base/Document.cpp index c48bb197c7d8..e75497321062 100644 --- a/dom/base/Document.cpp +++ b/dom/base/Document.cpp @@ -11136,6 +11136,7 @@ nsresult Document::CloneDocHelper(Document* clone) const { RefPtr timing = mTiming->CloneNavigationTime(nsDocShell::Cast(clone->GetDocShell())); clone->SetNavigationTiming(timing); + clone->SetCsp(mCSP); } // Now ensure that our clone has the same URI, base URI, and principal as us.