Граф коммитов

209 Коммитов

Автор SHA1 Сообщение Дата
Simon Giesecke 92f8e508cb Bug 1566758 - Replaced two uses of IDBFactory.open(name, options) by IDBFactory.open(name, version) where only version was present in options r=ttung,mythmon
Differential Revision: https://phabricator.services.mozilla.com/D40181

--HG--
extra : moz-landing-system : lando
2019-08-19 14:22:16 +00:00
Michael Cooper 8e102b9293 Bug 1572578 - Convert AddonStudies migration to a general Normandy migration r=rdalal
Differential Revision: https://phabricator.services.mozilla.com/D41300

--HG--
extra : moz-landing-system : lando
2019-08-13 22:04:24 +00:00
Jared Wein 119b3dc08a Bug 1571567 - Fix no-fallthrough errors in /toolkit. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40746

--HG--
extra : moz-landing-system : lando
2019-08-08 16:18:24 +00:00
Bogdan Tara 844afcfb06 Backed out 10 changesets (bug 1571567) complementary backout after es lint failure on the patch CLOSED TREE
Backed out changeset ce83fa75ae32 (bug 1571567)
Backed out changeset 7aa97ba7cce9 (bug 1571567)
Backed out changeset 777d79076e99 (bug 1571567)
Backed out changeset fbdf6b75a484 (bug 1571567)
Backed out changeset e2ed4620f232 (bug 1571567)
Backed out changeset 2c67015f12c6 (bug 1571567)
Backed out changeset 7ec086bb5bd5 (bug 1571567)
Backed out changeset 42df735c8556 (bug 1571567)
Backed out changeset 7d5fc57b2809 (bug 1571567)
Backed out changeset 606bafb8211c (bug 1571567)
2019-08-08 18:13:54 +03:00
Jared Wein 30f7f34419 Bug 1571567 - Fix no-fallthrough errors in /toolkit. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40746

--HG--
extra : moz-landing-system : lando
2019-08-08 01:38:50 +00:00
rdalal 43acd674ea Bug 1569330 - Disable telemetry check in Normandy recipe runner r=mythmon,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39576

--HG--
extra : moz-landing-system : lando
2019-08-06 23:54:34 +00:00
Ethan Glasser-Camp ea0eef04ee Bug 1570061: Correct name of multi-preference-experiment in schemas r=mythmon
While we're here, prep for a release, and add some documentation about
how releases work.

Differential Revision: https://phabricator.services.mozilla.com/D39905

--HG--
extra : moz-landing-system : lando
2019-07-30 19:55:14 +00:00
Michael Cooper ca9ba79c11 Bug 1548631 - Add capability checks before evaluating Normandy recipes r=Gijs,glasserc
Differential Revision: https://phabricator.services.mozilla.com/D36850

--HG--
extra : moz-landing-system : lando
2019-07-26 19:13:26 +00:00
Gurzau Raul 6747ce1e16 Backed out changeset 47d39253dbc2 (bug 1548631) for failing at /browser_RecipeRunner.js on a CLOSED TREE. 2019-07-26 20:36:29 +03:00
Michael Cooper 59197d5bbd Bug 1548631 - Add capability checks before evaluating Normandy recipes r=Gijs,glasserc
Differential Revision: https://phabricator.services.mozilla.com/D36850

--HG--
extra : moz-landing-system : lando
2019-07-26 16:22:19 +00:00
Michael Cooper 535c675f25 Bug 1564818 pt2 - Don't fail to uninstall studies if a callback throws an exception r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38930

--HG--
extra : moz-landing-system : lando
2019-07-25 12:40:02 +00:00
Michael Cooper cd5462f951 Bug 1564818 pt1 - Update about:studies after pressing "remove study", even if the remove failed r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38929

--HG--
extra : moz-landing-system : lando
2019-07-24 21:47:33 +00:00
Sylvestre Ledru 90fac8fa22 Bug 1562642 - Part 3 - Add missing MPL2 headers in browser & toolkit r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37217

--HG--
extra : moz-landing-system : lando
2019-07-10 12:03:37 +00:00
Andreea Pavel b698eeec56 Backed out changeset 3d59cb02b6ff (bug 1562642) for eslint failure on a CLOSED TREE 2019-07-10 14:44:29 +03:00
Sylvestre Ledru fd95abf361 Bug 1562642 - Part 3 - Add missing MPL2 headers in browser & toolkit r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37217

--HG--
extra : moz-landing-system : lando
2019-07-10 11:15:25 +00:00
Jonathan Kingston 31441f82ea Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504

--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Victor Porof 815b9d372b Bug 1561435 - Fix linting errors for toolkit/, r=standard8
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35955

--HG--
extra : source : e6571d8ed75be94bdcdef8fbd0d977bfa92f3a34
extra : intermediate-source : 1351521a4bb3f78be45cf6bf6df90b4c75a959c4
2019-06-25 23:43:58 +02:00
Victor Porof 4a06c925ac Bug 1561435 - Format toolkit/components/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36052

--HG--
extra : source : b5be5b4f4b47c256e28a29f665dc754f6407ee7f
2019-07-05 11:14:05 +02:00
Victor Porof b5a4cb3848 Bug 1558517 - Pre 3.0: Remove conflicting eslint rules, and turn on "curly: all" everywhere, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34535

--HG--
extra : source : 74ed7ee773393d305c4e948a57a1b1e32b1f12e8
extra : intermediate-source : 403d0757d61683e0a85d0bb07768eb39fbd0af72
2019-06-28 17:14:01 +02:00
Kris Maglione fd61f8b9d4 Bug 1541557: Part 7 - Convert SpecialPowers to use JSWindowActors rather than framescripts. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35057

--HG--
rename : testing/specialpowers/content/SpecialPowersObserverAPI.jsm => testing/specialpowers/content/SpecialPowersAPIParent.jsm
rename : testing/specialpowers/content/SpecialPowers.jsm => testing/specialpowers/content/SpecialPowersChild.jsm
rename : testing/specialpowers/content/SpecialPowersObserver.jsm => testing/specialpowers/content/SpecialPowersParent.jsm
extra : rebase_source : f3edaf8edc918bb4291b66cb50f4de117f57b2bd
extra : source : 46ff845a7b0cdabf640bb2e3c783735ab68b7cd1
2019-06-12 10:48:29 -07:00
Ethan Glasser-Camp 1e9ec9b3dc Bug 1562909: Increment normandy-action-argument-schemas package version r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D36610

--HG--
extra : moz-landing-system : lando
2019-07-02 17:02:40 +00:00
rdalal 32899fcfad Bug 1522214 - Bug 1536658 - Implement privileged web extension API for Normandy addon studies r=mythmon,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D29913

--HG--
extra : moz-landing-system : lando
2019-06-27 21:17:47 +00:00
Dorel Luca 920ce17938 Backed out changeset 2a6ee5724361 (bug 1522214) for XPCshell failure in toolkit/components/extensions/test/xpcshell/test_load_all_api_modules.js 2019-06-27 10:44:29 +03:00
rdalal 08c953e92c Bug 1522214 - Bug 1536658 - Implement privileged web extension API for Normandy addon studies r=mythmon,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D29913

--HG--
extra : moz-landing-system : lando
2019-06-26 22:53:56 +00:00
Michael Cooper 591aa42a3b Bug 1541923 - Avoid leaking cookies via Normandy fetches r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D31810

--HG--
extra : moz-landing-system : lando
2019-06-25 20:14:23 +00:00
Mihai Alexandru Michis 139669587f Backed out changeset 6687b608e2bf (bug 1541923) for causing build bustages. CLOSED TREE 2019-06-15 02:50:09 +03:00
Michael Cooper 7da325e5fc Bug 1541923 - Avoid leaking cookies via Normandy fetches r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D31810

--HG--
extra : moz-landing-system : lando
2019-06-14 22:45:50 +00:00
Michael Cooper 9a12d35fef Bug 1536644 - Add Branched Add-on Study action r=rdalal,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28158

--HG--
rename : toolkit/components/normandy/actions/AddonStudyAction.jsm => toolkit/components/normandy/actions/BranchedAddonStudyAction.jsm
rename : toolkit/components/normandy/test/browser/addons/normandydriver-1.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-a-1.0/manifest.json
rename : toolkit/components/normandy/test/browser/addons/normandydriver-2.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-a-2.0/manifest.json
rename : toolkit/components/normandy/test/browser/addons/normandydriver-1.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-b-1.0/manifest.json
rename : toolkit/components/normandy/test/browser/browser_actions_AddonStudyAction.js => toolkit/components/normandy/test/browser/browser_actions_BranchedAddonStudyAction.js
extra : moz-landing-system : lando
2019-06-14 20:45:43 +00:00
Brindusan Cristian ed0ab976c9 Backed out changeset 326fdac090f3 (bug 1536644) for ESlint failure at browser_actions_BranchedAddonStudyAction.js. CLOSED TREE
--HG--
rename : toolkit/components/normandy/test/browser/addons/normandydriver-b-1.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-1.0/manifest.json
rename : toolkit/components/normandy/test/browser/addons/normandydriver-a-2.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-2.0/manifest.json
2019-06-14 03:01:10 +03:00
Brindusan Cristian 5e01225e79 Backed out changeset 2a58697ddd0c (bug 1541923) for ESlint failure at test_NormandyApi.js and build bustages. CLOSED TREE 2019-06-14 02:59:37 +03:00
Michael Cooper 0112821447 Bug 1536644 - Add Branched Add-on Study action r=rdalal,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28158

--HG--
rename : toolkit/components/normandy/actions/AddonStudyAction.jsm => toolkit/components/normandy/actions/BranchedAddonStudyAction.jsm
rename : toolkit/components/normandy/test/browser/addons/normandydriver-1.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-a-1.0/manifest.json
rename : toolkit/components/normandy/test/browser/addons/normandydriver-2.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-a-2.0/manifest.json
rename : toolkit/components/normandy/test/browser/addons/normandydriver-1.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-b-1.0/manifest.json
rename : toolkit/components/normandy/test/browser/browser_actions_AddonStudyAction.js => toolkit/components/normandy/test/browser/browser_actions_BranchedAddonStudyAction.js
extra : moz-landing-system : lando
2019-06-13 22:38:26 +00:00
Michael Cooper fc685273c5 Bug 1541923 - Avoid leaking cookies via Normandy fetches r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D31810

--HG--
extra : moz-landing-system : lando
2019-06-13 23:10:00 +00:00
Boris Zbarsky 9de72a3ac6 Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D34196

--HG--
extra : moz-landing-system : lando
2019-06-11 15:51:51 +00:00
Ethan Glasser-Camp 6721b713f3 Bug 1556391: Fix experiments that never expire r=mythmon
Add a test that simulates two Normandy "runs" to verify that the fix
actually works.

While we are here, fix a bug in the handling of
userFacingName/userFacingDescription.

Differential Revision: https://phabricator.services.mozilla.com/D33537

--HG--
extra : moz-landing-system : lando
2019-06-03 23:45:52 +00:00
Mathieu Leplatre d242db60d3 Bug 1553995 - Improve logging of UpdateTimerManager r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D32548

--HG--
extra : moz-landing-system : lando
2019-05-31 10:19:27 +00:00
Michael Cooper 78657c1506 Bug 1553125 - Force a recipes sync when Normandy is in dev mode r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D32900

--HG--
extra : moz-landing-system : lando
2019-05-29 16:53:30 +00:00
Ethan Glasser-Camp 750b3e3a21 Bug 1553198: PreferenceExperiment only cleans up its own experiments r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D32340

--HG--
extra : moz-landing-system : lando
2019-05-23 18:05:05 +00:00
Ethan Glasser-Camp 726e55fb6f Bug 1553198: PreferenceExperiments.start takes an actionName r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D32339

--HG--
extra : moz-landing-system : lando
2019-05-23 18:23:16 +00:00
Ethan Glasser-Camp 4a0a386222 Bug 1553198: Introduce PreferenceExperiments storage format v3 r=mythmon
This format includes an "actionName" for each experiment which
identifies the source of the experiment. This makes it possible for
each experiment type to identify which experiments it should clean up
vs. which it should leave alone because they don't belong to it.

Differential Revision: https://phabricator.services.mozilla.com/D32338

--HG--
extra : moz-landing-system : lando
2019-05-23 18:21:20 +00:00
Mathieu Leplatre 4d1fdc1226 Bug 1517475 - Execute recipe runner on Remote Settings "sync" event r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D30513

--HG--
extra : moz-landing-system : lando
2019-05-23 21:11:06 +00:00
Mathieu Leplatre b02582a13a Bug 1553062 - Send events on Normandy recipe runner start/end r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D32006

--HG--
extra : moz-landing-system : lando
2019-05-22 18:02:21 +00:00
Michael Cooper 613449fe22 Bug 1552907 - Remove unused remote action methods from NormandyApi.jsm r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D31814

--HG--
extra : moz-landing-system : lando
2019-05-21 09:39:35 +00:00
Ethan Glasser-Camp f589fd6d1b Bug 1547034: Add userFacingName and userFacingDescription to schema r=mythmon
Display these when available instead of generating one.

We play some games here to let SinglePreferenceExperiment continue to
validate according to the PreferenceExperiment schema. This is kind of
ugly. Another approach might be to move the about-studies code that
generates a description. I was hesitant to do this because it would
mean losing the formatting.

Depends on D29873

Differential Revision: https://phabricator.services.mozilla.com/D30969

--HG--
extra : moz-landing-system : lando
2019-05-16 15:04:25 +00:00
Ethan Glasser-Camp 7505d46d34 Bug 1547034: PreferenceExperimentAction supports multiple prefs r=mythmon
The existing, single-preference action format is supported by a new
SinglePreferenceExperimentAction, which converts single-preference
actions into multiple-preference actions. We keep the wire format name
"preference-experiment" for SinglePreferenceExperimentAction for now,
but perhaps one day we can move that to "single-preference-experiment".

Depends on D29872

Differential Revision: https://phabricator.services.mozilla.com/D29873

--HG--
extra : moz-landing-system : lando
2019-05-16 15:04:22 +00:00
Ethan Glasser-Camp 3dc52b5fa4 Bug 1547034: PreferenceExperiments.start can take multiple prefs r=mythmon
Add a little bit to some existing tests to cover this new
functionality.

Depends on D29871

Differential Revision: https://phabricator.services.mozilla.com/D29872

--HG--
extra : moz-landing-system : lando
2019-05-16 15:04:20 +00:00
Ethan Glasser-Camp 8721da0687 Bug 1547034: Migrate PreferenceExperiments observers r=mythmon
Move startObserver to take a preferences object and register its
observer for each preference in that object.

While we're here, move to the canonical observer interface according
to nsIPrefBranch.idl, with an `observe` method instead of just passing
a function.

Also perform some drive-by cleanups in the tests: add a name to one
test, drop some unused arguments to some other tests.

Depends on D29293

Differential Revision: https://phabricator.services.mozilla.com/D29871

--HG--
extra : moz-landing-system : lando
2019-05-16 15:04:18 +00:00
Ethan Glasser-Camp 69baf93870 Bug 1547034: Migrate PreferenceExperiments to allow for multiple prefs r=mythmon,leplatrem
This is part 1 of the required changes. This just addresses the
storage mechanism and any place that uses experiments in their raw
form. This updates most callers to support studies with multiple
preferences.

We update about-studies to assume only one preference. This seems
counterproductive, but studies with multiple preferences will include
a description field that obviates the need for this.

Differential Revision: https://phabricator.services.mozilla.com/D29293

--HG--
extra : moz-landing-system : lando
2019-05-16 15:04:12 +00:00
Dana Keeler f8e974fdd8 bug 1534600 - make nsIContentSignatureVerifier asynchronous r=KevinJacobs,mythmon,glasserc
Differential Revision: https://phabricator.services.mozilla.com/D29763

--HG--
extra : moz-landing-system : lando
2019-05-03 21:21:58 +00:00
Mathieu Leplatre 358c626f9f Bug 1513854 - Read Normandy recipes from Remote Settings on Nightly r=mythmon
Read Normandy recipes from Remote Settings on Nightly

Differential Revision: https://phabricator.services.mozilla.com/D24055

--HG--
extra : moz-landing-system : lando
2019-05-02 13:19:40 +00:00
shindli c7089180a6 Backed out 2 changesets (bug 1535056, bug 1513854) for linux build bustages and failed Gecko Decision Task CLOSED TREE
Backed out changeset f5eea3706636 (bug 1535056)
Backed out changeset 9b66e9b91074 (bug 1513854)
2019-05-02 12:25:40 +03:00