Commit Graph

3533 Commits

Author SHA1 Message Date
Dave Townsend
3b890dbae6 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
4c86059d54 Backing out bug 993029 due to Win8 debug test failures. CLOSED TREE 2014-04-17 10:20:49 -07:00
Dave Townsend
18e18ee8a0 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
Georg Fritzsche
17b11996ae Bug 989137 - Part 18: Fix experiments uninit behavior. r=bsmedberg 2014-04-17 15:47:37 +02:00
Georg Fritzsche
ceb826d852 Bug 989137 - Part 17: Add browser chrome testing of Experiments. r=unfocused,gfritzsche 2014-04-17 15:47:37 +02:00
Georg Fritzsche
21ebf330da Bug 989137 - Part 16: Convert browser_experiments.js to add_task. r=unfocused 2014-04-17 15:47:37 +02:00
Georg Fritzsche
adefcccdf8 Bug 989137 - Backout re-ordered patches that conflict with a known-good patch stack: 1ab6bbd62c76, 5c3a195a107e, 73da7e611e92, 2c1a0b0551fb. r=me 2014-04-17 15:47:36 +02:00
Gregory Szorc
88da3e35c9 Bug 989137 - Part 15: Convert browser_experiments.js to add_task; r=Unfocused
Upcoming tests rely heavily on promises. I just learned that browser
chrome tests support add_task() as an alternative to test(). This patch
ports the browser_experiments.js test and utilized utility functions
to use add_task() and promises.

--HG--
extra : rebase_source : 434b7dc0e899fef0c508d5dd01438514da519ba3
extra : histedit_source : 517043f2bbe7a22bd53e8ae0c77f585ac107f6c9
2014-04-10 14:30:40 -07:00
Roberto A. Vitillo
6a1393026c Bug 989419 - Remove main-thread IO from background update of {profile}\blocklist.xml. r=irving 2014-04-16 13:50:37 -04:00
Robert Strong
3c5caf1809 Bug 996960 - Add new RTL languages to locales.nsi - Uyghur ug and Urdu ur. r=ehsan 2014-04-15 19:23:03 -07:00
Dave Townsend
88944a58cb Bug 639524: Use the application shipped blocklist when it is newer then the profile version. r=Unfocused 2014-04-14 17:44:56 -07:00
Nochum Sossonko
e01fa15e75 bug 906466: Updates not properly signed on the nightly-ux branch: Certificate did not match issuer or name. r=rstrong
--HG--
extra : rebase_source : 1dc83f67c495d431e4ae4d2ed35b12e6f5eb03d4
2014-04-14 09:56:58 -04:00
Dave Townsend
76fad52208 Bug 993539: sourceURI property of add-on fails if the repository has been updated. r=irving 2014-04-09 19:15:21 -07:00
Gregory Szorc
0945ada1ef Bug 989137 - Part 11: Make service initialization and uninitialization more robust; r=gfritzsche
Subsequent patches were running into race conditions and bugs related to
Experiments instance initialization state. This patch plugs the
necessary holes in initialization state management to unblock work.

The fixes are far from robust. There are still race conditions and bugs.
They should probably be addressed later.

--HG--
extra : rebase_source : 5f0c7fa1f554d09a21b1452506884dc771cb829d
2014-04-07 14:11:31 -07:00
Ryan VanderMeulen
4ae52863f8 Bug 608820 - Disable browser_bug567127.js on Win/OSX for frequent failures.
CLOSED TREE
2014-04-09 13:01:45 -04:00
Ryan VanderMeulen
16e78772cf Bug 986458 - Disable browser_whitelist7.js on Win/OSX debug for perma-fails with chunked mochitest-bc. 2014-04-09 13:01:45 -04:00
Carsten "Tomcat" Book
6a4d67f8ec Merge m-c to mozilla-inbound 2014-04-08 15:39:46 +02:00
Nils Maier
1327d79073 Bug 957089 - Fix mapURIToAddonID for non-bootstrapped add-ons. r=bmcbride 2014-04-08 03:51:00 +02:00
Gregory Szorc
4df343f2c1 Bug 989137 - Part 10: Add a testing-only JSM for common AddonManager operations; r=Unfocused, r=gfritzsche
There is a lot of boilerplate testing code that performs common
AddonManager operations. Some common operations used for testing
Experiments have been refactored into a testing-only JSM that lives as
part of the Add-ons Manager.

--HG--
extra : rebase_source : f18cf54c7af6d390ed4437bd0ed0eb4beea76b0d
2014-04-04 15:58:29 -07:00
Gregory Szorc
59f554929a Bug 989137 - Part 8: Prevent unknown experiments from being installed; r=Unfocused
The experiments service insists on being in control of experiments.
Before, it wasn't being as assertive as it needed to be: other browser
components could install experiments behind its back. This patch
reasserts the experiments service as king of experiments add-on
management.

--HG--
extra : rebase_source : 91439622e47419fae7675d83890e83cf37db453b
2014-04-04 15:58:26 -07:00
Wes Kocher
af719fd52b Merge m-c to inbound on a CLOSED TREE 2014-04-02 19:54:15 -07:00
Ed Morley
757c230f65 Merge mozilla-central and fx-team 2014-04-02 18:25:23 +01:00
Irving Reid
12c374ebde Bug 986104 - Telemetry for reasons why XPIProvider doesn't start. r=Unfocused 2014-04-01 22:17:37 -04:00
Mark Hammond
763885adb1 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Paolo Amadini
29bea07d6e Bug 985954 - Remove deprecated promise.js usage in the testing framework. r=ted 2014-04-01 13:45:48 +02:00
Gregory Szorc
d9c5540d9b 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
622a2512fe Bug 989137 - Part 7: Remove unncessary content from test experiments; r=Unfocused
The test experiments had unnecessary content in their install.rdf files.

<targetApplication> does not apply to experiment types and has been
removed.

The bootstrap setting is also implied and has been removed.

--HG--
extra : rebase_source : 52c297b17244b2cf160bc41018897ecc3fb0eabd
2014-03-30 11:06:57 -07:00
Brad Lassey
5c8eeb9096 bug 971101 - build and publish geckoview example by default r=khuey 2014-03-31 11:40:06 -04:00
Gregory Szorc
2c5427b5d0 Bug 903149 - Part 3: Support for minifying packaged JavaScript; r=glandium 2013-09-11 19:54:19 -07:00
Phil Ringnalda
d969de5efb Back out 43663582cfdb (bug 987404) because it looks like it disabled things even without e10s being defined 2014-03-30 23:18:57 -07:00
Mark Hammond
d2d06f28f8 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-03-31 14:11:49 +11:00
Phil Ringnalda
d252397876 Merge f-t to m-c 2014-03-30 16:31:41 -07:00
Ehsan Akhgari
c220bf4535 Bug 986384 - Double the test timeout 2014-03-30 09:47:55 -04:00
Wes Kocher
83c51e7bc8 Merge m-c to inbound 2014-03-28 17:04:03 -07:00
Wes Kocher
6eb2b87376 Merge fx-team to m-c 2014-03-28 16:48:17 -07:00
Abhishek Potnis
18ecb43dde Bug 986499 - Make the calls to import Deprecated.jsm lazy. r=yoric 2014-03-28 10:36:48 -04:00
Gregory Szorc
3d1ad7d0c8 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
b7bfb1dbf0 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
Jordan Santell
a9a0676213 Bug 988661 - Add 'Enable addon debugging' button in toolbox. r=jryans 2014-03-27 15:43:00 +01:00
Gregory Szorc
16b95f26ad 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
Brian R. Bondy
781ce09460 Bug 961676. r=rstrong 2014-03-28 14:17:36 -04:00
Dave Townsend
b3b0f4e5aa Bug 986108: Make all restartless add-ons debuggable. r=Unfocused, r=fitzgen 2014-03-26 16:03:57 -07:00
Jordan Santell
113ef2d8ed 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
51216c72c3 Backed out changeset 7d9bbb3ec194 (bug 911098) for debugger leaks on a CLOSED TREE 2014-03-24 18:36:42 -07:00
Jordan Santell
cfb8e0372c Bug 911098 Implement addon debugger UI, r=mossop,fitzgen,harthur 2014-03-24 15:35:44 -07:00
Irving Reid
616f416e08 Bug 986080 - Return empty array if getting directory entries fails. r=Mossop 2014-03-20 14:43:56 -04:00
Irving Reid
286e414fa3 Bug 986000 - Fix addonsListTmp undefined error in XPIProviderUtils.js. r=Mossop 2014-03-20 13:41:42 -04:00
Jeff Walden
3568d1b07b 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
fc91e01131 Bug 950417 - Enable safe direct request add-on installs. r=wesj, r=Mossop 2014-03-19 21:24:59 +01:00
Robert Strong
f0619098ed Bug 899352 - Increase the installation timeout for the stub installer. r=bbondy 2014-03-19 18:32:46 -07:00