diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-07-05 19:40:43 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-07-05 19:40:43 +0200 |
commit | 7eee8a9c39bcd5aee01316d11df71585ae22b5ea (patch) | |
tree | 621a9b89a8dace83ff21e61c554c4dc12451fa9b /dom | |
parent | c3916ca1a0164dcb7742360a43d7ab36a80907fc (diff) | |
download | UXP-7eee8a9c39bcd5aee01316d11df71585ae22b5ea.tar UXP-7eee8a9c39bcd5aee01316d11df71585ae22b5ea.tar.gz UXP-7eee8a9c39bcd5aee01316d11df71585ae22b5ea.tar.lz UXP-7eee8a9c39bcd5aee01316d11df71585ae22b5ea.tar.xz UXP-7eee8a9c39bcd5aee01316d11df71585ae22b5ea.zip |
nsIContentPolicy::TYPE_DOCUMENT - Use "aLoadInfo->ContextForTopLevelLoad()" instead of "aLoadInfo->LoadingNode()"
Issue #600
Diffstat (limited to 'dom')
-rw-r--r-- | dom/security/nsContentSecurityManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/security/nsContentSecurityManager.cpp b/dom/security/nsContentSecurityManager.cpp index 4ee9b4877..570730312 100644 --- a/dom/security/nsContentSecurityManager.cpp +++ b/dom/security/nsContentSecurityManager.cpp @@ -303,7 +303,7 @@ DoContentSecurityChecks(nsIChannel* aChannel, nsILoadInfo* aLoadInfo) case nsIContentPolicy::TYPE_DOCUMENT: { mimeTypeGuess = EmptyCString(); - requestingContext = aLoadInfo->LoadingNode(); + requestingContext = aLoadInfo->ContextForTopLevelLoad(); break; } |