Merge pull request #5983 from Snuffleupagus/bug-1152841
Bug 1152841 - make pdf.js viewer app handle open requests from file viewers
This commit is contained in:
commit
6014a5a4f1
@ -2242,7 +2242,9 @@ window.addEventListener('afterprint', function afterPrint(evt) {
|
||||
//window.navigator.mozSetMessageHandler('activity', function(activity) {
|
||||
// var blob = activity.source.data.blob;
|
||||
// PDFJS.maxImageSize = 1024 * 1024;
|
||||
// var fileURL = activity.source.data.url;
|
||||
// var fileURL = activity.source.data.url ||
|
||||
// activity.source.data.filename ||
|
||||
// " "; // if no url or filename, use a non-empty string
|
||||
//
|
||||
// var url = URL.createObjectURL(blob);
|
||||
// // We need to delay opening until all HTML is loaded.
|
||||
|
Loading…
Reference in New Issue
Block a user