Tim van der Meij
bf3aad8a95
Merge pull request #5082 from Rob--W/chromium-managed-preferences
...
Managed preferences for Chrome administrators
2014-07-30 23:58:25 +02:00
Tim van der Meij
1911bb28bb
Merge pull request #5104 from Rob--W/crx-contentscript-fix
...
Use CSS.supports instead of '..' in ....style
2014-07-30 23:43:45 +02:00
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.
2014-07-30 23:11:02 +02:00
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
2014-07-30 22:51:56 +02:00
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.
2014-07-25 22:44:03 +02:00
Yury Delendik
ab63f96a91
Adds telemetry to record embedding usages
2014-06-16 16:41:04 -05:00
Yury Delendik
0cd28ebfa3
Telemetry for used stream and font types
2014-06-16 16:41:04 -05:00
Yury Delendik
7ac1c6b034
Reporting print usage
2014-06-14 15:55:21 -05:00
Yury Delendik
75d9ae9cd3
PdfRedirector checks if plugin is still in PlayPreview mode
2014-06-02 09:27:28 -05:00
Yury Delendik
68b037ffb0
Add preprocessor directives for the extension; and refactor FirefoxCom callback
2014-05-28 10:24:06 -05:00
Gijs Kruitbosch
da93e65d8c
Bug 1015115 - switch to cloneInto in pdf.js, r?yury
2014-05-28 10:22:49 -05:00
Jonas Jenwald
f386501937
Update overlay stubs for the B2G viewer
2014-05-25 21:33:15 +02:00
Tim van der Meij
6d330250da
Merge pull request #4549 from Rob--W/crx-pdf-embed-object
...
<object> / <embed> support in Chrome / Opera
2014-05-14 20:55:11 +02:00
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.
2014-05-13 02:41:01 +02:00
Tim van der Meij
dc214e1c06
Merge pull request #4738 from Rob--W/allow-unsafe-eval
...
Allow unsafe-eval to fix font renderer in Chromium extension
2014-05-09 23:52:30 +02:00
Rob Wu
3fdd334a73
<object> / <embed> support in Chromium extension
2014-05-09 15:46:12 +02:00
Yury Delendik
9f9454d2ae
Refactors new extension find bar code to support old FF versions
2014-05-08 09:05:28 -05:00
Adam Dane [:hobophobe]
bc66c8119e
Add getFindBar for Fx extension
2014-05-07 18:45:24 -05:00
Rob Wu
d126be9a61
Allow unsafe-eval to fix font renderer in crx
...
Fixes #4660
2014-05-05 12:11:35 +02:00
Tim van der Meij
c566feb721
Providing content type for attachment downloads
2014-04-25 23:30:51 +02:00
Samuel Chantaraud
5bb937c5d7
Added fake button and view to b2g viewer
2014-04-18 12:26:08 -04:00
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)
2014-04-18 12:11:00 -04:00
Yury Delendik
b39f0c311c
Refactors history and how the database is stored
2014-04-03 13:23:18 -05:00
Jonas Jenwald
4c9c43f82b
Modify {get, set}Preferences in PdfStreamConverter.jsm to support async
2014-04-03 10:17:35 +02:00
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.
2014-03-30 00:25:37 +01:00
Rob Wu
d04f81b964
Improved FTP support for Chromium extension
2014-03-30 00:08:02 +01:00
Jonas Jenwald
3fee5345b9
[Firefox] Only load 'PdfStreamConverter' and 'PdfRedirector' when PDF.js is enabled
2014-03-27 16:01:13 +01:00
Jonas Jenwald
f6cfab0061
[Firefox] Stop importing default_preferences.js as a module and include it instead
2014-03-26 00:37:32 +01:00
Yury Delendik
dbbe702be5
Merge pull request #4501 from Snuffleupagus/firefox-lazy-load-network
...
[Firefox] Lazy load network.js in PdfStreamConverter.js
2014-03-25 18:11:24 -05:00
Jonas Jenwald
2b5fb59b67
Fix coding style in extensions/firefox/bootstrap.js
2014-03-22 21:48:00 +01:00
Jonas Jenwald
597d388930
Fix coding style in extensions/firefox/tools/l10n.js
2014-03-22 21:45:08 +01:00
Jonas Jenwald
2017f7925e
[Firefox] Lazy load network.js in PdfStreamConverter.js
2014-03-21 17:39:55 +01:00
Tim van der Meij
3b3e96575e
Merge pull request #4454 from brendandahl/gaia-css-clean
...
Fix gaia css lint errors.
2014-03-14 22:50:51 +01:00
Jonas Jenwald
ba8a59034c
Merge pull request #4426 from timvandermeij/extensions-chromium-syntax
...
Making extensions/chromium/*.js adhere to the style guide
2014-03-14 12:48:31 +01:00
Brendan Dahl
df25bea817
Fix gaia css lint errors.
2014-03-13 17:16:25 -07:00
Yury Delendik
452e71b4b0
Makes firefox extension's l10n get() behavior similar to webL10n
2014-03-13 17:37:10 -05:00
Tim van der Meij
241cb7999d
Making extensions/chromium/chrome.tabs.executeScriptInFrame.js adhere to the style guide
2014-03-09 23:29:34 +01:00
Tim van der Meij
8d2068dc6f
Making extensions/chromium/extension-router.js adhere to the style guide
2014-03-09 23:14:01 +01:00
Tim van der Meij
c29350219e
Making extensions/chromium/pdfHandler.js adhere to the style guide
2014-03-09 23:12:12 +01:00
Tim van der Meij
ce6e269d02
Making extensions/chromium/pdfHandler-v2.js adhere to the style guide and fixing a small lint issue in pdfHandler-vcros.js
2014-03-09 23:07:42 +01:00
Tim van der Meij
8ec46e6413
Making extensions/chromium/pdfHandler-vcros.js adhere to the style guide
2014-03-09 22:56:38 +01:00
Jonas Jenwald
c158894d94
Improve handling of preferences in Firefox
2014-03-05 11:58:12 +01:00
Yury Delendik
192f09cd69
Merge pull request #4343 from brendandahl/ff-cleanup
...
Use only one resource url for moz central build.
2014-03-04 20:29:27 -06:00
Mitar
2c82e720b8
Updated to current latest stable version of jshint.
2014-03-01 13:31:25 -08:00
Brendan Dahl
b8f7bcaf02
Use only one resource url for moz central build.
2014-02-27 14:11:39 -08:00
Brendan Dahl
0af0c6c99d
Merge pull request #4229 from Rob--W/crx-stream-progress
...
Get progress bar for PDF streams in Chromium by passing the expected content length to the page
2014-02-26 11:12:34 -08:00
Tim van der Meij
569bb131e5
Merge pull request #4328 from Snuffleupagus/b2g-remove-pageNumber-spinner
...
[B2G] Remove the spinner from the pageNumber field
2014-02-24 21:52:14 +01:00
Brendan Dahl
cc46cea7cb
Merge pull request #4262 from yurydelendik/issue4257
...
Removes -moz-box-sizing usage
2014-02-24 12:47:27 -08:00
Jonas Jenwald
78e2d7cceb
[B2G] Remove the spinner from the pageNumber field
2014-02-15 16:02:53 +01:00
Gabriele Svelto
f4d54517c4
Bug 972435 - Recompress all PNG assets
2014-02-13 17:57:10 +01:00