mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Make FirefoxCom.requestSync able to return objects from PdfStreamConverter.jsm, by utilizing makeContentReadable
This commit is contained in:
parent
99415a75b7
commit
591a3c291f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue