Jonas Jenwald
133cfc78fa
Remove obsolete CPOW code from PdfjsContentUtils.jsm (PR 5749 followup)
...
This code is unused since PR 5749, and according to https://github.com/mozilla/pdf.js/pull/5749#discussion_r25931841 it should be removed.
10 years ago
Yury Delendik
ed243cf02f
Using newChannel2 instead of newChannel in the extension.
10 years ago
Gabor Krizsanits
595be5cb4f
Bug 1072350 - Removing CPOWs used by Find events.
10 years ago
Collin Anderson
54e984c763
cleaned whitespace
10 years ago
Jonas Jenwald
801902c6cc
Fix lint error: extensions/firefox/content/PdfStreamConverter.jsm: line 384, col 63, Expected '===' and instead saw '=='.
10 years ago
Gijs
1d674d3e8f
Bug 639134 - update check for document colors
...
This checks for both prefs on the understanding that we need to work on older versions of Firefox. If that isn't the case, the first part of the if isn't necessary. This should only land if bug 639134 is resolved - I'd make the patch part of that bug, but AIUI pdfjs's canonical repo is on github, so...
11 years ago
Jonas Jenwald
4da57c3b85
Fix code style in extensions/firefox/content/PdfStreamConverter.jsm
11 years ago
Jonas Jenwald
8921606b68
Fix code style in extensions/firefox/content/PdfJsTelemetry-addon.jsm
11 years ago
Jonas Jenwald
80503e4197
Fix code style in extensions/firefox/content/PdfJsTelemetry.jsm
11 years ago
Jonas Jenwald
ac0f48c2fc
Fix code style in extensions/firefox/content/PdfJs-stub.jsm
11 years ago
Jonas Jenwald
c4c5c2222b
Fix code style in extensions/firefox/content/PdfjsContentUtils.jsm
11 years ago
Jonas Jenwald
3370b18e0b
Fix code style in extensions/firefox/content/PdfjsChromeUtils.jsm
11 years ago
Jonas Jenwald
9ed3e1e545
Fix code style in extensions/firefox/content/PdfJs.jsm
11 years ago
Yury Delendik
4d4ef11978
Bug 1076909 - change args order in registerAddonHistogram.
11 years ago
araghava
e2c001c19d
[issue 5440] fix rtl direction bug for full language codes
11 years ago
Yury Delendik
63444aa4b3
Refactors PdfDataLister buffering.
11 years ago
Jim Mathies
fc3721ce2d
Bug 1071709 - 5-30% TART / Session Restore regressions on Inbound (v.35) september 22 from rev d3a7f765152f
11 years ago
Jonas Jenwald
a34e7aa8fe
[Firefox] Use getTabForBrowser instead of _getTabForBrowser if possible
11 years ago
Rob Wu
4fe92f6d01
addon: isWindowPrivate -> isContentWindowPrivate
...
As of Firefox 35, isContentWindowPrivate should be used for DOM windows instead of isWindowPrivate.
See https://bugzilla.mozilla.org/show_bug.cgi?id=1069059 and
http://hg.mozilla.org/mozilla-central/diff/324798b60ba3/toolkit/modules/PrivateBrowsingUtils.jsm
Without this fix, you will get the following error message when Firefox+PDF.js is started:
>
WARNING: content window passed to PrivateBrowsingUtils.isWindowPrivate. Use isContentWindowPrivate instead (but only for frame scripts).
pbu_isWindowPrivate@resource://gre/modules/PrivateBrowsingUtils.jsm:25:14
ChromeActions.prototype.isInPrivateBrowsing@resource://pdf.js/PdfStreamConverter.jsm:237:12
xhr_onreadystatechange@resource://pdf.js/PdfStreamConverter.jsm:545:30
NetworkManager_requestRange@resource://pdf.js/network.js:95:7
NetworkManager_requestRange@resource://pdf.js/network.js:81:14
RangedChromeActions_requestDataRange@resource://pdf.js/PdfStreamConverter.jsm:596:1
RequestListener.prototype.receive@resource://pdf.js/PdfStreamConverter.jsm:705:5
PdfStreamConverter.prototype.onStartRequest/proxy.onStopRequest/<@resource://pdf.js/PdfStreamConverter.jsm:909:11
FirefoxComClosure/<.request@resource://pdf.js/web/viewer.js:529:14
PdfDataRangeTransport_requestDataRange@resource://pdf.js/web/viewer.js:2977:9
transportDataRange@resource://pdf.js/build/pdf.js:2122:13
messageHandlerComObjOnMessage@resource://pdf.js/build/pdf.js:1219:9
11 years ago
Yury Delendik
c0e933682a
Disables streaming in the extension when length is undefined.
11 years ago
Yury Delendik
a95123188a
Disables hash options when PDFBug is disabled and fixed streaming regressions.
11 years ago
Yury Delendik
c3f191a27c
Implement streaming using moz-chunk-arraybuffer
11 years ago
Jim Mathies
b399f19426
Bug 1064496 review changes
11 years ago
Yury Delendik
861a7615ff
Adds preprocessor directive to the X-Content-Security-Policy stuff
11 years ago
Yury Delendik
dd48d1c352
Fixes names collisions in content.js
11 years ago
Jonas Jenwald
8d27f38c64
Rename |_isPrefAllowed| to |_ensurePreferenceAllowed| in extensions/firefox/content/PdfjsChromeUtils.jsm
11 years ago
Jonas Jenwald
dbe756c406
Update the license header in extensions/firefox/content/pdfjschildbootstrap.js; see https://bugzilla.mozilla.org/show_bug.cgi?id=942707#c99
11 years ago
Jonas Jenwald
c00951e3e4
Add back pdfBugEnabled pref check in the |log| function in extensions/firefox/content/PdfStreamConverter.jsm
11 years ago
Jonas Jenwald
3ac9bd063d
Fix setPreferences regression from the e10s patch (PR 5115)
11 years ago
Yury Delendik
1cda4c7a4b
Loading PDF.js extension into e10s windows
11 years ago
Yury Delendik
7ae7fd3d1a
Adds DEFAULT_PREFERENCES to the PdfjsChromeUtils
11 years ago
Yury Delendik
782ed5cb67
Lint error fix for pdfjschildbootstrap.js
11 years ago
Jim Mathies
f2096fe23f
Firefox pdf viewer support for e10s (Bug 942707).
11 years ago
Tim van der Meij
c29faaa22d
Use strict equalities in make.js, external/* and extensions/*
11 years ago
Yury Delendik
ab63f96a91
Adds telemetry to record embedding usages
11 years ago
Yury Delendik
0cd28ebfa3
Telemetry for used stream and font types
11 years ago
Jonas Jenwald
1ba31a6cb7
Add pdfBugEnabled to the default preferences
11 years ago
Yury Delendik
7ac1c6b034
Reporting print usage
11 years ago
Yury Delendik
75d9ae9cd3
PdfRedirector checks if plugin is still in PlayPreview mode
11 years ago
Yury Delendik
68b037ffb0
Add preprocessor directives for the extension; and refactor FirefoxCom callback
11 years ago
Gijs Kruitbosch
da93e65d8c
Bug 1015115 - switch to cloneInto in pdf.js, r?yury
11 years ago
Yury Delendik
9f9454d2ae
Refactors new extension find bar code to support old FF versions
11 years ago
Adam Dane [:hobophobe]
bc66c8119e
Add getFindBar for Fx extension
11 years ago
Tim van der Meij
c566feb721
Providing content type for attachment downloads
11 years ago
Samuel Chantaraud
25ee0e8572
Preliminary attachments support
...
Added a partial Filespec support
Added getAttachments in API
Added a new attachments view in UI (with a new icon by @shorlander )
11 years ago
Yury Delendik
b39f0c311c
Refactors history and how the database is stored
11 years ago
Jonas Jenwald
4c9c43f82b
Modify {get, set}Preferences in PdfStreamConverter.jsm to support async
11 years ago
Jonas Jenwald
3fee5345b9
[Firefox] Only load 'PdfStreamConverter' and 'PdfRedirector' when PDF.js is enabled
11 years ago
Jonas Jenwald
f6cfab0061
[Firefox] Stop importing default_preferences.js as a module and include it instead
11 years ago
Jonas Jenwald
2b5fb59b67
Fix coding style in extensions/firefox/bootstrap.js
11 years ago