#416: note to self on M1377426

This commit is contained in:
Cameron Kaiser 2017-07-23 15:02:48 -07:00
parent 177c87d344
commit 5bcd1c4610
1 changed files with 3 additions and 0 deletions

View File

@ -2826,6 +2826,9 @@ nsDocument::InitCSP(nsIChannel* aChannel)
NS_ENSURE_SUCCESS(rv, rv);
}
// XXX. When we implement CSP sandbox (bug 671389), we need to also
// add bugs 1073952 and 1377426 to avoid a nasty hole.
// ----- Enforce frame-ancestor policy on any applied policies
nsCOMPtr<nsIDocShell> docShell(mDocumentContainer);
if (docShell) {