зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1267033 - Ensure QI to nsIHttpChannel before trying to merge status info. r=kmag
MozReview-Commit-ID: 5kZndCaQmPr --HG-- extra : transplant_source : %AAY%CA%DE%3C%FA%99%8B%8Dj%1FZ%B1L%EE%25%CE%20%D2R
This commit is contained in:
Родитель
fb97788fef
Коммит
49a6b9b48d
|
@ -505,10 +505,12 @@ HttpObserverManager = {
|
|||
let requestHeaderNames;
|
||||
let responseHeaderNames;
|
||||
|
||||
let includeStatus = kind === "headersReceived" ||
|
||||
kind === "onRedirect" ||
|
||||
kind === "onStart" ||
|
||||
kind === "onStop";
|
||||
let includeStatus = (
|
||||
kind === "headersReceived" ||
|
||||
kind === "onRedirect" ||
|
||||
kind === "onStart" ||
|
||||
kind === "onStop"
|
||||
) && channel instanceof Ci.nsIHttpChannel;
|
||||
|
||||
let commonData = null;
|
||||
let uri = channel.URI;
|
||||
|
|
Загрузка…
Ссылка в новой задаче