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
Rob Wu
7938081e81
streamsPrivate API change.
...
Since 25 February 2014 (crbug.com/345882)
11 years ago
Jim Mathies
f2096fe23f
Firefox pdf viewer support for e10s (Bug 942707).
11 years ago
Rob Wu
1055350425
Chrome extension: Isolate pageAction logic
...
Remove pageAction logic from extension router, and put it in a
separate file. The pageAction URL parsing logic has been simplified,
and all pageAction-related files have been moved to a separate directory.
11 years ago
Yan Or
d8bc16362c
Bug 1054590 - [pdf.js] Update to use gaia-header
11 years ago
Rob Wu
4a399a0173
Disable spellcheck in Chromium's URL popup
...
These red waves below a URL are quite useless and only distracting.
11 years ago
Rob Wu
a1671fa512
Preserve reference fragment in Chromium URL router
...
Because removed reference fragments are no longer automatically copied
thanks to https://code.google.com/p/chromium/issues/detail?id=354653
11 years ago
Tim van der Meij
c29faaa22d
Use strict equalities in make.js, external/* and extensions/*
11 years ago
Rob Wu
8bb96db3a0
Use CSS.supports instead of '..' in ....style
...
document.documentElement.style is null in some XML documents.
The previous snippet caused the following error:
Uncaught TypeError: Cannot use 'in' operator to search for 'animation' in null
To fix this bug, `'animation' in document.documentElement.style` has been
replaced with `CSS.supports('animation', '9s')`. This method was introduced
in Chromium 28, but it is not necessary to detect whether this method is
supported because the required createShadowRoot method for embeds is not
available in Chromium 32 and earlier.
11 years ago
Rob Wu
00746011a3
Managed preferences for Chrome administrators
...
Implement support for managed preferences. This feature allows users
(administrators) to easily change the default settings of the PDF Viewer for
all Chrome or Chromium browsers within their organization.
External resources for end users (administrators)
- http://www.chromium.org/administrators/
- http://www.chromium.org/administrators/configuring-policy-for-extensions
- http://www.chromium.org/administrators/windows-quick-start
- http://www.chromium.org/administrators/mac-quick-start
- http://www.chromium.org/administrators/linux-quick-start
- http://www.chromium.org/administrators/policy-templates
Administrators can read one of the previous links to learn more about creating
policies. We want to auto-generate these templates, but there are no public
tools for doing that. It will be added in the future, see:
https://code.google.com/p/chromium/issues/detail?id=389061
Resources for PDF.js/extension developers
- http://cs.chromium.org/file:policy_templates.json
- https://developer.chrome.com/extensions/manifest/storage
11 years ago
Rob Wu
87dacba9a6
Feature detection after downgrading the browser.
...
If a user downgrades from Chromium 35+ to 34, then the PDF Viewer
extension will not work any more because the extension assumes
that certain features were available based on the cached feature
detection results.
To resolve this problem, all feature detection scripts run again
if the browser was downgraded.
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
Jonas Jenwald
f386501937
Update overlay stubs for the B2G viewer
11 years ago
Michał Gołębiowski
e625af3fef
Remove type="text/javascript" from script tags.
...
"text/javascript" is not a correct MIME type (the correct one is
"application/javascript") but it's not even needed; all browsers default
to the correct type and treat it as executable JS when type is ommited.
Since not all browsers recognize the "application/javascript" MIME type
the only way to both stay compliant and to support all popular browsers
is to omit the type. It's also shorter this way.
11 years ago
Rob Wu
3fdd334a73
<object> / <embed> support in Chromium extension
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
Rob Wu
d126be9a61
Allow unsafe-eval to fix font renderer in crx
...
Fixes #4660
11 years ago
Tim van der Meij
c566feb721
Providing content type for attachment downloads
11 years ago
Samuel Chantaraud
5bb937c5d7
Added fake button and view to b2g viewer
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
Rob Wu
ae32f31eb4
Use redirectUrl at onHeadersReceived if available.
...
http://crbug.com/280464 has been resolved, so we can now use redirectUrl at
onHeadersReceived.
For backwards-compatibility, the code for the original method has not been
removed, and a feature detection script was added that detects whether the
desired feature is available.
11 years ago
Rob Wu
d04f81b964
Improved FTP support for Chromium extension
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
Jonas Jenwald
597d388930
Fix coding style in extensions/firefox/tools/l10n.js
11 years ago
Jonas Jenwald
2017f7925e
[Firefox] Lazy load network.js in PdfStreamConverter.js
11 years ago
Brendan Dahl
df25bea817
Fix gaia css lint errors.
11 years ago
Yury Delendik
452e71b4b0
Makes firefox extension's l10n get() behavior similar to webL10n
11 years ago
Tim van der Meij
241cb7999d
Making extensions/chromium/chrome.tabs.executeScriptInFrame.js adhere to the style guide
11 years ago
Tim van der Meij
8d2068dc6f
Making extensions/chromium/extension-router.js adhere to the style guide
11 years ago
Tim van der Meij
c29350219e
Making extensions/chromium/pdfHandler.js adhere to the style guide
11 years ago