Remove DOM window URI check

Per discussion in #2937
This commit is contained in:
Simon Kornblith 2013-04-24 21:02:33 -04:00
parent f93582a26d
commit f524eaefe2

View File

@ -765,8 +765,6 @@ PdfStreamConverter.prototype = {
// We get the DOM window here instead of before the request since it
// may have changed during a redirect.
var domWindow = getDOMWindow(channel);
// Double check the url is still the correct one.
if (domWindow.document.documentURIObject.equals(aRequest.URI)) {
var actions;
if (rangeRequest) {
// We are going to be issuing range requests, so cancel the
@ -790,9 +788,6 @@ PdfStreamConverter.prototype = {
chromeWindow);
findEventManager.bind();
}
} else {
log('Dom window url did not match request url.');
}
listener.onStopRequest(aRequest, context, statusCode);
}
};