[Pkg-javascript-commits] [pdf.js] 01/174: Make FirefoxCom.requestSync able to return objects from PdfStreamConverter.jsm, by utilizing makeContentReadable
David Prévot
taffit at moszumanska.debian.org
Thu Nov 19 18:44:57 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit 591a3c291f55e4bda9cb61fdcec2e6bcf702ccd8
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date: Fri Jun 19 14:36:44 2015 +0200
Make FirefoxCom.requestSync able to return objects from PdfStreamConverter.jsm, by utilizing makeContentReadable
---
extensions/firefox/content/PdfStreamConverter.jsm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extensions/firefox/content/PdfStreamConverter.jsm b/extensions/firefox/content/PdfStreamConverter.jsm
index 61e0c16..14b12be 100644
--- a/extensions/firefox/content/PdfStreamConverter.jsm
+++ b/extensions/firefox/content/PdfStreamConverter.jsm
@@ -794,7 +794,7 @@ RequestListener.prototype.receive = function(event) {
var response;
if (sync) {
response = actions[action].call(this.actions, data);
- event.detail.response = response;
+ event.detail.response = makeContentReadable(response, doc.defaultView);
} else {
if (!event.detail.responseExpected) {
doc.documentElement.removeChild(message);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
More information about the Pkg-javascript-commits
mailing list