Commit Graph

1892 Commits

Author SHA1 Message Date
Georg Fritzsche
3547ef943a Bug 989137 - Part 17: Add browser chrome testing of Experiments. r=unfocused,gfritzsche 2014-04-17 15:47:37 +02:00
Georg Fritzsche
e5beacaa6b Bug 989137 - Part 16: Convert browser_experiments.js to add_task. r=unfocused 2014-04-17 15:47:37 +02:00
Georg Fritzsche
c143ccc852 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
66cb99e1db 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
1dbe9ea212 Bug 989419 - Remove main-thread IO from background update of {profile}\blocklist.xml. r=irving 2014-04-16 13:50:37 -04:00
Dave Townsend
557b8e0b3e 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
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
Gregory Szorc
404a6147ae 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
32464ae7ad Bug 608820 - Disable browser_bug567127.js on Win/OSX for frequent failures.
CLOSED TREE
2014-04-09 13:01:45 -04:00
Ryan VanderMeulen
a3a3117227 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
2c72c3916e Merge m-c to mozilla-inbound 2014-04-08 15:39:46 +02:00
Nils Maier
87edee73c9 Bug 957089 - Fix mapURIToAddonID for non-bootstrapped add-ons. r=bmcbride 2014-04-08 03:51:00 +02:00
Gregory Szorc
257b8e331e 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
374f95c48e 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
Ed Morley
2aa332455d Merge mozilla-central and fx-team 2014-04-02 18:25:23 +01:00
Irving Reid
a88f3a0e11 Bug 986104 - Telemetry for reasons why XPIProvider doesn't start. r=Unfocused 2014-04-01 22:17:37 -04:00
Mark Hammond
cae334e085 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Paolo Amadini
fbdf098874 Bug 985954 - Remove deprecated promise.js usage in the testing framework. r=ted 2014-04-01 13:45:48 +02: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
1a6b40414f 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
Phil Ringnalda
25ffcd7643 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
cde2db8ab1 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-03-31 14:11:49 +11:00
Phil Ringnalda
38bc15c969 Merge f-t to m-c 2014-03-30 16:31:41 -07:00
Ehsan Akhgari
ce340ce0c2 Bug 986384 - Double the test timeout 2014-03-30 09:47:55 -04: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
Jordan Santell
0ce9bdf7f0 Bug 988661 - Add 'Enable addon debugging' button in toolbox. r=jryans 2014-03-27 15:43:00 +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
YFdyh000
d6939e07f3 Bug 616437 - Text in details view of add-on should be selectable. r=Unfocused 2014-03-16 00:59:00 +13: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
Bill McCloskey
fd05f3eb04 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
3b83e5bb22 Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
e784b5aef6 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Bill McCloskey
006786a6b4 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
ed100f425c Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Vaibhav Agarwal
c75ff964a1 Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -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
Ted Mielczarek
30be1f6b24 Bug 948801 - move browser-chrome tests in toolkit/mozapps/extensions/test/browser from Makefile.in to browser.ini. r=jmaher 2014-02-26 15:28:56 -05:00
Benedikt Pfeifer
1c4d979bb5 Bug 684457 - Need keyboard access to 'Tools for all add-ons' button in Addons Manager: Extensions list. r=Unfocused 2014-03-04 09:37:08 -05:00