1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge pull request #3326 from brendandahl/spec-fix

Simplify getting the pdf url.
This commit is contained in:
Yury Delendik 2013-06-03 15:21:12 -07:00
commit 08e2f7a125

View file

@ -391,7 +391,7 @@ var RangedChromeActions = (function RangedChromeActionsClosure() {
ChromeActions.call(this, domWindow, contentDispositionFilename);
this.pdfUrl = originalRequest.URI.resolve('');
this.pdfUrl = originalRequest.URI.spec;
this.contentLength = originalRequest.contentLength;
// Pass all the headers from the original request through