Commit Graph
2452 Commits
Author SHA1 Message Date
Sebastian Hengst 797e4d5000 Bug 1239868 - remove unused PREF_EM_UPDATE_INTERVAL. r=Mossop 2016-01-15 13:11:31 +01:00
Kris Maglione a7301bf206 Bug 1235365: Parse WebExtension JSON files as UTF-8. r=billm 2016-01-09 16:53:24 -08:00
Carsten "Tomcat" Book 9584b60b0c merge mozilla-inbound to mozilla-central a=merge 2016-01-07 11:50:57 +01:00
Robert Helmer c6edff28b0 Bug 1209344 - Link to about:debugging from about:addons. r=mossop 2016-01-05 12:19:59 -08:00
Robert Helmer f3102aba16 Bug 1209344 - Remove debug button from about:addons. r=mossop 2016-01-05 12:19:15 -08:00
Mark Finkle 44e0b2b3c4 Bug 590127 - Remove toolkit implementation of about:addons r=margaret 2016-01-06 00:49:03 -05:00
Chris Pearce 5f6f2e8a0c Bug 1234099 - Unhide Adobe GMP on Windows XP. r=spohl 2015-12-21 16:06:41 +13:00
Dave Townsend 8dc7f59eb3 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8 2015-11-30 13:05:00 -08:00
Milan Sreckovic 02cfc26d17 Bug 1234385: Add downloadable blocklist support for between comparison types, by recognizing driverVersionMax when parsing. r=benwa 2015-12-24 12:53:40 -05:00
Dave Townsend a37b82025e Bug 1237340: Fix browser and toolkit eslint failures. r=Felipe 2016-01-06 10:10:35 -08:00
Chris Pearce 28bacd0b63 Bug 1234099 - Backout 34460cc654ca due to playback failures caused by Adobe GMP. r=backout 2016-01-07 09:57:36 +13:00
Alessio Placitelli 07d9cc16f3 Bug 1217282 - Add test coverage. r=gfritzsche 2015-12-15 05:44:00 +01:00
Carsten "Tomcat" Book 6133887dc6 Backed out changeset 7a5367ac58a4 (bug 1209344) for various test failures
G: changed toolkit/mozapps/extensions/test/xpcshell/xpcshell-shared.ini
2015-12-16 14:44:20 +01:00
Carsten "Tomcat" Book 49d2a63ead Backed out changeset a1393f2f306e (bug 1209344) 2015-12-16 14:43:53 +01:00
Robert Helmer 72e6a9fff1 Bug 1209344 - link to about:debugging from about:addons r=mossop 2015-12-14 13:52:38 -08:00
Robert Helmer 651d973037 Bug 1209344 - remove debug button from about:addons r=mossop 2015-12-13 09:02:17 -08:00
Chris Pearce 11362986f6 Bug 1232799 - Remove KEY_PLUGIN_TRIAL_CREATE pref from GMPProvider and friends. r=spohl
The GMPVideoDecoderTrialCreator was removed from Gecko in bug 1232527, and so
we don't need to set/reset this pref in the GMPProvider any more.
2015-12-16 10:38:51 +13:00
Chris Pearce 8b1824e758 Bug 1232795 - Remove VIDEO_EME_DISABLED telemetry probe. r=spohl 2015-12-16 10:32:41 +13:00
Robert Helmer 4a70e0e94f Bug 1231003 - clarify in variable names and comments that temporary add-ons can be files or dirs r=mossop 2015-12-07 14:53:11 -05:00
Georg Fritzsche 3c46e4aea2 Bug 1231055 - Fix tags usage in PluginProvider. r=dtownsend 2015-12-08 19:52:45 -05:00
Dave Townsend 62cc852397 Bug 1227981: Test that referencing a DTD from the inline options of an add-on works. r=rhelmer 2015-11-25 10:18:53 -08:00
Robert Helmer c19cd92a92 bug 1228792 - remove leading 0, be explicit about octals r=mossop 2015-12-02 18:43:09 -08:00
Robert Helmer 2ed818f4d8 bug 1228792 - use function* for generators r=mossop 2015-12-02 18:42:50 -08:00
Robert Helmer 5509e8a304 bug 1228792 - use standard version of catch r=mossop 2015-12-02 18:42:16 -08:00
Robert Helmer f8116c2128 bug 1228792 - remove use of array comprehensions r=mossop 2015-12-02 18:40:59 -08:00
Carsten "Tomcat" Book 0e4f218ef9 Merge mozilla-central to fx-team 2015-12-01 15:28:12 +01:00
Carsten "Tomcat" Book d1de4f682d merge mozilla-inbound to mozilla-central a=merge 2015-12-01 15:25:14 +01:00
Robert Helmer 3ad8200fc1 Bug 1195353 - leave extension proxy files that point to invalid manifests r=mossop 2015-11-25 23:28:30 -08:00
Dave Townsend 183316601d Bug 1226386: Remove or fix many uses of Array.forEach. r=rhelmer 2015-11-20 15:31:17 -08:00
Dave Townsend bf1f877539 Bug 1226386: Remove use of non-standard __defineGetter__ and __defineSetter__. r=rhelmer
Moved these mostly onto the prototype. We couldn't do this before without making
the target of the wrapper a property of the wrappers and we don't want to expose
that but now WeakMaps allow us to get the target without exposing it.

Once change with this approach is that when the test suite shuts down the
add-ons manager it kills the map and so wrappers cease to function. A couple of
tests were relying on accessing wrapper properties after that but that would
have likely been unsafe anyway.
2015-11-20 10:55:13 -08:00
Dave Townsend 5493324e67 Bug 1226386: Switch to fat arrow functions where it makes sense. r=rhelmer
Both for brevity and to remove the use of |self = this|.
2015-11-20 10:06:14 -08:00
Dave Townsend 315c15417d Bug 1226386: Remove functions names where possible. r=rhelmer
We used to need explicit names for functions to make stack traces display
properly. The JS engine is smarter now so doesn't need them and they just
make the code messy and redundant.
2015-11-19 16:35:41 -08:00
Dave Townsend 79c844b136 Bug 1226386: Remove createWrapper function and replace with a memoized property. r=rhelmer 2015-11-19 14:19:33 -08:00
Dave Townsend 82dd0934d5 Bug 1226386: Remove most of the preprocessing from the add-ons manager. r=gps
For build speed, for correct line numbers in errors, for faster development, for so many reasons.
Still a couple of cases left mostly in XUL files for different strings on Windows.

Bonus: The new lexical scope means ADDON_SIGNING and REQUIRE_SIGNING can just
be declared as regular constants and outside code can't get to them easily.
2015-11-19 15:30:47 -08:00
Dave Townsend 06aa460336 Bug 1228359: Allow experiments to register chrome. r=felipe
Simple obvious fix. Adds tests by making BootstrapMonitor (which
test_experiments.js and others use for verifying bootstrap startup and shutdown)
verify the list of registered chrome manifests at various points. Without the
fix this makes test_experiment fail as expected.
2015-11-27 12:44:22 -08:00
Kris Maglione d0b96575aa Bug 1192435: Support updates for WebExtensions. r=Mossop 2015-11-17 16:23:15 -08:00
Johann Hofmann b377f73bb9 Bug 1200674 - Allow flexible icon sizes in ExtensionUtils. r=dtownsend 2015-11-24 18:20:26 +01:00
Christoph Kerschbaumer 6d34f2a6f1 Bug 1225641 - Change default security flags within NetUtil.newChannel (r=sicking) 2015-11-17 17:35:30 -08:00
Robert Helmer 20fbb1d802 Bug 1209341 - allow loading unsigned restartless add-ons at runtime. r=mossop 2015-11-03 10:07:08 -08:00
Jim Chen e3ba721fb5 Bug 1221270 - Let AddonUpdateService use AddonManagerPrivate to check for updates; r=mfinkle
The Android-specific AddonUpdateService has a bit of redundant code
because AddonManagerPrivate has a backgroundUpdateCheck method that does
a lot of the same thing. This patch makes AddonUpdateService call that
method so there's less code and more consistency.

This requires flipping the "extensions.update.enabled" pref, which was
disabled in bug 528588 for showing the XUL addon update dialog. I don't
think this is relevant anymore in native Fennec and with the later
rewrite of AddonManager, so I'm fairly certain it's okay to flip that
pref.

The patch also disables the AddonManager update timer because we have
our own update timer on Android.
2015-11-23 23:31:49 -05:00
Christoph Kerschbaumer b573e425a4 Bug 1182546 - Test update: make inlinesettings accessible from content (r=bz) 2015-11-20 10:56:55 -08:00
Gijs Kruitbosch 83dd8938b3 Bug 1191468 - always load app dir add-ons irrespective of enabledScopes, r=Mossop,froydnj 2015-11-17 13:55:31 +00:00
Carsten "Tomcat" Book ea81f2050d merge mozilla-inbound to mozilla-central a=merge 2015-11-19 14:44:11 +01:00
Nigel Babu fdad323910 Backed out changeset 9155ee3d42d8 (bug 1182546) for Android M(c) bustage 2015-11-19 14:26:20 +05:30
Dave Townsend ed23b526bb Bug 1220911: Remove most of the special casing around experiments. r=rhelmer
Experiments should differ from normal add-ons in a few ways:

* They can always be enabled regardless of compatibility info
* They default to disabled when installed
* They cannot be checked for updates
* They only stay enabled for the lifetime of the current process
* The UI doesn't give users the ability to enable/disable

This makes a few changes to keep these differences but remove much of the special casing code for experiments.

Being able to use regardless of compatibility was mostly fixed by bug 1220198 but I've also removed the redundant override in isCompatible.

Previously the "enabled until restart" feature worked with by not updating the DBAddonInternal object and instead using a hack to make the wrapper still seem enabled. This seems likely to break other code that relies on the state of the DBAddonInternal object so instead we update that as normal and simply don't persist the enabled state to disk.

Also switch the DBAddonInteral.prototype code to use some newer JS features.

I've removed the hack from addon.permissions which was hiding the enable/disable buttons in the UI and instead just hidden them in the UI stylesheet. This makes the API make sense and means callers can use addon.permissions to verify that enabling will work.
2015-11-09 15:02:29 -08:00
Dave Townsend fc5f66e154 Bug 1220911: Switch test_experiment.js to task style. r=rhelmer
Before changing the handling of experiments make the tests a bit more readable
and use BootstrapMonitor to verify things.
2015-11-09 15:02:05 -08:00
Dave Townsend bcc752339f Bug 1225629: Always verify signatures for hotfixes and system add-on updates. r=rhelmer 2015-11-17 14:05:04 -08:00
Christoph Kerschbaumer 254cd5f625 Bug 1223435 - Use channel.asyncOpen2 in toolkit/mozapps/extensions/internal/XPIProvider.jsm (r=sicking) 2015-11-15 14:48:11 -08:00
Christoph Kerschbaumer 73ab8b02d7 Bug 1182546 - Test update: make inlinesettings accessible from content (r=bz) 2015-11-18 19:25:03 -08:00
Mark Goodwin a19009b46f Bug 1224467 - Add a preference for controlling whether oneCRL blocklists are updated via AMO. Also add a test. r=keeler,mossop 2015-11-18 11:53:54 +00:00