зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1286024 - Replace no document in SetRequestContext warning with a log. r=ckerschb
MozReview-Commit-ID: IitqAt0iLQF --HG-- extra : rebase_source : 72c6bd3b894d8a36f65bfd43ddd8f294de1f2d22
This commit is contained in:
Родитель
4e932ce22a
Коммит
941244dcc8
|
@ -648,7 +648,7 @@ nsCSPContext::SetRequestContext(nsIDOMDocument* aDOMDocument,
|
|||
doc->SetHasCSP(true);
|
||||
}
|
||||
else {
|
||||
NS_WARNING("No Document in SetRequestContext; can not query loadgroup; sending reports may fail.");
|
||||
CSPCONTEXTLOG(("No Document in SetRequestContext; can not query loadgroup; sending reports may fail."));
|
||||
mLoadingPrincipal = aPrincipal;
|
||||
mLoadingPrincipal->GetURI(getter_AddRefs(mSelfURI));
|
||||
// if no document is available, then it also does not make sense to queue console messages
|
||||
|
|
Загрузка…
Ссылка в новой задаче