Simplify getting the pdf url.

This commit is contained in:
Brendan Dahl 2013-06-03 11:40:07 -07:00
parent 2e130903ef
commit c2bdd7b295

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