Commit Graph

37 Commits

Author SHA1 Message Date
Wes Kocher
738f9f9b41 Merge inbound to m-c 2014-05-15 15:59:45 -07:00
Blair McBride
0e3ff19f35 Bug 926712 - Use WebIDL to expose InstallTrigger, r=Mossop,bholley 2013-12-12 02:08:00 +00:00
Dave Townsend
85a337a3c1 Bug 1007732: Fix mapURIToAddonID to handle add-ons that were added in early startup. r=Unfocused 2014-05-12 10:00:15 -07:00
Alexander J. Vincent
4337fa46e9 Bug 915838 - Provide add-ons a standard directory to store data, settings. r=Unfocused 2013-10-16 17:10:50 -07:00
Irving Reid
0d7099f432 Bug 1000695 - Part 2: Yield to event loop after receiving onInstallEnded, rewrite to Task.jsm. r=unfocused 2014-05-07 11:04:25 -04:00
Ryan VanderMeulen
21f8d3c1fb Backed out changesets 1d9b6d754b9d and 73782d1e750c for landing with the wrong bug number. 2014-05-08 14:12:58 -04:00
Irving Reid
633aa8b71c Bug 1000695: #2 yield to event loop after receiving onInstallEnded, rewrite to Task.jsm; r=unfocused 2014-05-07 11:04:25 -04:00
Wes Kocher
97b797a3cc Backed out 2 changesets (bug 1000695) for introducing a near permafail on linux bc3
Backed out changeset 43306fac27e1 (bug 1000695)
Backed out changeset fcf5abdf9706 (bug 1000695)
2014-05-05 17:54:22 -07:00
Irving Reid
7ca4333a3f Bug 1000695 - Part 2: Rewrite browser_hotfix.js to Task.jsm and yield to event loop after receiving onInstallEnded. r=Unfocused 2014-05-01 22:49:49 -04:00
Dave Townsend
7f17ca3889 Bug 993029: Create an add-on console actor that will be displayed in the console tab of the add-on debugger. r=msucan, r=Unfocused, r=past 2014-05-01 08:36:01 -07:00
Roberto A. Vitillo
627501df02 Bug 988292: Avoid main-thread IO for {profile}\addons.json; r=felipc@gmail.com,r=irving 2014-04-29 10:31:40 -04:00
Irving Reid
d1f2393c9a Bug 900954: Expose addons.json flush to test harness; r=felipe 2014-04-29 10:09:30 -04:00
Dave Townsend
e94e69db40 Bug 993029: Add a way for the add-on manager to pass add-on globals to the debug actors. r=panos, r=Unfocused 2014-04-17 10:27:03 -07:00
Dave Townsend
3306c4eb68 Backing out bug 993029 due to Win8 debug test failures. CLOSED TREE 2014-04-17 10:20:49 -07:00
Dave Townsend
d79165435b Bug 993029: Add a way for the add-on manager to pass add-on globals to the debug actors. r=panos, r=Unfocused 2014-04-17 08:23:42 -07:00
Dave Townsend
35bd372c3f Bug 993539: sourceURI property of add-on fails if the repository has been updated. r=irving 2014-04-09 19:15:21 -07:00
Nils Maier
87edee73c9 Bug 957089 - Fix mapURIToAddonID for non-bootstrapped add-ons. r=bmcbride 2014-04-08 03:51:00 +02:00
Irving Reid
a88f3a0e11 Bug 986104 - Telemetry for reasons why XPIProvider doesn't start. r=Unfocused 2014-04-01 22:17:37 -04:00
Gregory Szorc
a091d5118f Bug 985084 - Part 2: Properly report userDisabled in the API; r=Unfocused
The change in 0633949f1000 was buggy. If a new Addon instance were
created, it would always return the value stored in the database. This
meant that if you set userDisabled = false and called getAddonByID(),
userDisabled would likely be reported as true.

--HG--
extra : rebase_source : 02be7302b6e168b5d56cbf02de0cca4810ccd700
extra : amend_source : 4cdc73bfbc826abd594d6f8a2374672be834dba8
2014-03-30 14:36:34 -07:00
Gregory Szorc
c26a532a02 Bug 985084 - Experiment add-ons should be disabled by default; r=Unfocused
Experiment add-ons are now disabled by default on application load. It
is up to the Experiments Manager to enable them.

This means that experiments may not be able to reliably collect data or
modify behavior close to application startup. (There is a window between
when the Addon Manager initializes and when the Experiments Manager
initializes.) This window is acceptable for the initial version of the
experiments feature.

The Experiments Manager doesn't currently enable experiments on startup.
This will be addressed in a subsequent patch. Its tests do not regress
(indicating a lack of test coverage), so no harm no foul.

--HG--
extra : rebase_source : 00a55146576f490200a6148bd5516f84def9879c
extra : source : bd901384b973c7ff581fe24a3012f0191b8bbe67
2014-03-21 16:05:29 -07:00
Gregory Szorc
44de0dbb4d Bug 975000 - Disable updating and compatibility checking for Experiments; r=Unfocused
Experiment add-ons are installed and updated via the Experiments Manager
service. With this change, the Add-ons Manager lets experiment add-ons
play by their own rules without interference.

--HG--
extra : rebase_source : 12f990198fed7171b9572c24aa2f8319620414a2
2014-03-28 20:17:04 +01:00
Gregory Szorc
f1b0e7f95e Backed out changeset 4834a3833639 and c580afddd1cb (bug 985084 and bug 97500)
--HG--
extra : histedit_source : c580afddd1cb90bd3cccbc7abc8082132ffe2a3c%2C4371c5775a71d493e82f193b1cf15efd44566645
2014-03-28 21:45:10 -07:00
Gregory Szorc
c427405c3c Bug 985084 - Experiment add-ons should be disabled by default; r=Unfocused
Experiment add-ons are now disabled by default on application load. It
is up to the Experiments Manager to enable them.

This means that experiments may not be able to reliably collect data or
modify behavior close to application startup. (There is a window between
when the Addon Manager initializes and when the Experiments Manager
initializes.) This window is acceptable for the initial version of the
experiments feature.

The Experiments Manager doesn't currently enable experiments on startup.
This will be addressed in a subsequent patch. Its tests do not regress
(indicating a lack of test coverage), so no harm no foul.

--HG--
extra : rebase_source : 3c550090e3480127dc679cc5247f249ee822e76f
extra : amend_source : 9b5349b507c73b4713ec447e4f1a6cb841c11c56
extra : source : 0d72fd2fbd1d091c27fa4a0a9c1944282eaa9ac5
2014-03-21 16:05:29 -07:00
Gregory Szorc
d5049daf81 Bug 975000 - Disable updating and compatibility checking for Experiments; r=Unfocused
Experiment add-ons are installed and updated via the Experiments Manager
service. With this change, the Add-ons Manager lets experiment add-ons
play by their own rules without interference.

--HG--
extra : rebase_source : 4a7c30f8ce36a64f91f9fee49da9061eda568b99
2014-03-28 20:17:04 +01:00
Gregory Szorc
05f1066350 Bug 973992 - Support experiments add-ons; r=Unfocused
A new type of add-on is introduced: experiments.

Experiments are add-ons that conduct data experiments. They are deployed
to compatible clients and collect additional information about the
client.

--HG--
extra : rebase_source : 98a612933978b3e4bcfb83da9f6a9782c62dc0da
extra : amend_source : 9347a56bc3034c7ea1e50918278c6b9cc1270521
2014-03-19 15:02:58 -07:00
Dave Townsend
cbe90caf71 Bug 986108: Make all restartless add-ons debuggable. r=Unfocused, r=fitzgen 2014-03-26 16:03:57 -07:00
Jordan Santell
f68560eb18 Bug 911098 - Implement Addon Debugger UI, r=fitzgen,harthur,mossop
From 8af4148dc10f18bf67e39442ee93169cb66382d5 Mon Sep 17 00:00:00 2001
---
 browser/devtools/debugger/debugger-controller.js   |  36 ++++++-
 browser/devtools/debugger/debugger-panes.js        |  17 +++-
 browser/devtools/debugger/test/browser.ini         |   1 +
 .../debugger/test/browser_dbg_addon-sources.js     | 108 ++++++++++++++++++++
 browser/devtools/debugger/test/head.js             |  29 ++++++
 browser/devtools/framework/ToolboxProcess.jsm      |  31 ++++--
 .../devtools/framework/toolbox-process-window.js   |  18 +++-
 modules/libpref/src/init/all.js                    |   3 +
 .../en-US/chrome/mozapps/extensions/extensions.dtd |   1 +
 toolkit/mozapps/extensions/content/extensions.js   |  55 +++++++---
 toolkit/mozapps/extensions/content/extensions.xml  |  31 +++++-
 toolkit/mozapps/extensions/content/extensions.xul  |   6 ++
 .../mozapps/extensions/internal/XPIProvider.jsm    |   4 +
 .../extensions/internal/XPIProviderUtils.js        |   2 +-
 .../test/addons/test_jetpack/bootstrap.js          |  17 ++++
 .../test/addons/test_jetpack/harness-options.json  |   1 +
 .../test/addons/test_jetpack/install.rdf           |  28 ++++++
 .../extensions/test/browser/browser-common.ini     |   1 +
 .../test/browser/browser_debug_button.js           | 112 +++++++++++++++++++++
 toolkit/mozapps/extensions/test/browser/head.js    |   3 +
 .../extensions/test/xpcshell/test_isDebuggable.js  |  36 +++++++
 .../extensions/test/xpcshell/xpcshell-shared.ini   |   1 +
 22 files changed, 508 insertions(+), 33 deletions(-)
 create mode 100644 browser/devtools/debugger/test/browser_dbg_addon-sources.js
 create mode 100644 toolkit/mozapps/extensions/test/addons/test_jetpack/bootstrap.js
 create mode 100644 toolkit/mozapps/extensions/test/addons/test_jetpack/harness-options.json
 create mode 100644 toolkit/mozapps/extensions/test/addons/test_jetpack/install.rdf
 create mode 100644 toolkit/mozapps/extensions/test/browser/browser_debug_button.js
 create mode 100644 toolkit/mozapps/extensions/test/xpcshell/test_isDebuggable.js
* * *
Leak fix
2014-03-25 10:59:14 -07:00
Wes Kocher
07ded123a5 Backed out changeset 7d9bbb3ec194 (bug 911098) for debugger leaks on a CLOSED TREE 2014-03-24 18:36:42 -07:00
Jordan Santell
ed2d5dceb4 Bug 911098 Implement addon debugger UI, r=mossop,fitzgen,harthur 2014-03-24 15:35:44 -07:00
Irving Reid
a815232c1c Bug 986080 - Return empty array if getting directory entries fails. r=Mossop 2014-03-20 14:43:56 -04:00
Irving Reid
791e1b429b Bug 986000 - Fix addonsListTmp undefined error in XPIProviderUtils.js. r=Mossop 2014-03-20 13:41:42 -04:00
Jeff Walden
3eccbde559 Bug 985729 - Construct the [[Prototype]] chain given to DBAddonInternal instances without using mutable __proto__. r=Unfocused 2014-03-19 16:21:00 +13:00
Eugen Sawin
a206a9418d Bug 950417 - Enable safe direct request add-on installs. r=wesj, r=Mossop 2014-03-19 21:24:59 +01:00
Irving Reid
9f4c400488 Bug 772484 - Allow user to cancel add-on update check and clean up correctly when they do. r=Unfocused 2014-03-14 08:52:55 -04:00
Jan Keromnes
f44d6472e8 Bug 974498 - Refactor XPIProvider's private zip utilities into a ZipUtils.jsm. r=Mossop 2014-03-11 17:01:29 -04:00
Emma Sajic
1885d7760f Bug 661982: Toolkit Add-ons Manager logging to be changed to use Log.jsm;r=irving 2014-02-23 12:27:59 -05:00
Alexander J. Vincent
8d99d1aa31 Bug 952307 - Move some addon-private JSM's to a subdirectory. r=Unfocused
--HG--
rename : toolkit/mozapps/extensions/AddonLogging.jsm => toolkit/mozapps/extensions/internal/AddonLogging.jsm
rename : toolkit/mozapps/extensions/AddonRepository.jsm => toolkit/mozapps/extensions/internal/AddonRepository.jsm
rename : toolkit/mozapps/extensions/AddonRepository_SQLiteMigrator.jsm => toolkit/mozapps/extensions/internal/AddonRepository_SQLiteMigrator.jsm
rename : toolkit/mozapps/extensions/AddonUpdateChecker.jsm => toolkit/mozapps/extensions/internal/AddonUpdateChecker.jsm
rename : toolkit/mozapps/extensions/LightweightThemeImageOptimizer.jsm => toolkit/mozapps/extensions/internal/LightweightThemeImageOptimizer.jsm
rename : toolkit/mozapps/extensions/PluginProvider.jsm => toolkit/mozapps/extensions/internal/PluginProvider.jsm
rename : toolkit/mozapps/extensions/SpellCheckDictionaryBootstrap.js => toolkit/mozapps/extensions/internal/SpellCheckDictionaryBootstrap.js
rename : toolkit/mozapps/extensions/XPIProvider.jsm => toolkit/mozapps/extensions/internal/XPIProvider.jsm
rename : toolkit/mozapps/extensions/XPIProviderUtils.js => toolkit/mozapps/extensions/internal/XPIProviderUtils.js
2014-01-07 20:14:08 -08:00