Merge pull request #3023 from simonster/remove-URI-check
Remove DOM window URI check
This commit is contained in:
commit
ff616c830f
@ -765,8 +765,6 @@ PdfStreamConverter.prototype = {
|
|||||||
// We get the DOM window here instead of before the request since it
|
// We get the DOM window here instead of before the request since it
|
||||||
// may have changed during a redirect.
|
// may have changed during a redirect.
|
||||||
var domWindow = getDOMWindow(channel);
|
var domWindow = getDOMWindow(channel);
|
||||||
// Double check the url is still the correct one.
|
|
||||||
if (domWindow.document.documentURIObject.equals(aRequest.URI)) {
|
|
||||||
var actions;
|
var actions;
|
||||||
if (rangeRequest) {
|
if (rangeRequest) {
|
||||||
// We are going to be issuing range requests, so cancel the
|
// We are going to be issuing range requests, so cancel the
|
||||||
@ -790,9 +788,6 @@ PdfStreamConverter.prototype = {
|
|||||||
chromeWindow);
|
chromeWindow);
|
||||||
findEventManager.bind();
|
findEventManager.bind();
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
log('Dom window url did not match request url.');
|
|
||||||
}
|
|
||||||
listener.onStopRequest(aRequest, context, statusCode);
|
listener.onStopRequest(aRequest, context, statusCode);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user