|
|
|
@ -765,8 +765,6 @@ PdfStreamConverter.prototype = {
@@ -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 = {
@@ -790,9 +788,6 @@ PdfStreamConverter.prototype = {
|
|
|
|
|
chromeWindow); |
|
|
|
|
findEventManager.bind(); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
log('Dom window url did not match request url.'); |
|
|
|
|
} |
|
|
|
|
listener.onStopRequest(aRequest, context, statusCode); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|