Make FirefoxCom.requestSync able to return objects from PdfStreamConverter.jsm, by utilizing makeContentReadable
This commit is contained in:
parent
99415a75b7
commit
591a3c291f
@ -794,7 +794,7 @@ RequestListener.prototype.receive = function(event) {
|
|||||||
var response;
|
var response;
|
||||||
if (sync) {
|
if (sync) {
|
||||||
response = actions[action].call(this.actions, data);
|
response = actions[action].call(this.actions, data);
|
||||||
event.detail.response = response;
|
event.detail.response = makeContentReadable(response, doc.defaultView);
|
||||||
} else {
|
} else {
|
||||||
if (!event.detail.responseExpected) {
|
if (!event.detail.responseExpected) {
|
||||||
doc.documentElement.removeChild(message);
|
doc.documentElement.removeChild(message);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user