Commit Graph

772 Commits

Author SHA1 Message Date
Ricky Stewart
065d2eb893 Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Bogdan Tara
bdcaf74315 Backed out changeset d1c5493f3915 (bug 1465847) for causing leaks CLOSED TREE 2020-10-23 20:13:59 +03:00
Michael Kaply
8ea990d4d0 Bug 1465847 - If a website is blocked via policy, block view source. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D94366
2020-10-23 15:56:34 +00:00
Michael Kaply
78d5535399 Bug 1559181 - Switch about blocking to use new REJECT_POLICY and cleanup tests r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D93390
2020-10-22 19:36:52 +00:00
Mihai Alexandru Michis
dc6c624799 Backed out changeset ba261cf25651 (bug 727668) for causing marionette failures in test_screenshot.py
CLOSED TREE
2020-10-22 06:13:54 +03:00
Dorel Luca
95b44c982f Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart
43baed3c18 Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Jared Wein
8debd64190 Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-21 19:20:20 +00:00
Narcis Beleuzu
8c2c851d6a Backed out 1 changesets (bug 727668) for bc failures on browser_aboutNewTab_bookmarksToolbar.js . CLOSED TREE
Backed out changeset 5b6a14b4e16e (bug 727668)
2020-10-19 21:19:17 +03:00
Jared Wein
dae078ac27 Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-19 16:38:17 +00:00
Michael Kaply
b58eb2242b Bug 1664834 - Add signon., general.*Scroll to allowed policy preferences prefixes. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D92823
2020-10-14 21:45:33 +00:00
Michael Kaply
7d4f13d503 Bug 1583889 - Use EnterprisePolicyTesting for xpcshell tests r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D92841
2020-10-13 18:42:28 +00:00
Michael Kaply
d10440ab67 Bug 1502134 - Allow for multiple firstrun pages in policy. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D92826
2020-10-09 15:53:54 +00:00
Michael Kaply
699a92a6d0 Bug 1665670 - Disabling telemetry in policy should disable archive too. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D93007
2020-10-09 13:39:59 +00:00
Michael Kaply
df57189323 Bug 1669601 - Reverse order in schema to avoid extraneous error. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D92793
2020-10-08 23:48:30 +00:00
Michael Kaply
15e379cd26 Bug 1668980 - Try browserStopped instead of browserLoaded to avoid intermittent. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D92647
2020-10-07 02:10:26 +00:00
Michael Kaply
a8789bb2df Bug 1665237 - Make managed bookmarks item dynamic. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90628
2020-10-06 20:13:00 +00:00
Michael Kaply
132b55908b Bug 1450309 - Switch WebsiteFilter to nsIContentPolicy and allow blocking local files. r=emalysz
Depends on D91487

Differential Revision: https://phabricator.services.mozilla.com/D91488
2020-10-03 00:02:06 +00:00
Cosmin Sabou
a13f011987 Backed out 2 changesets (bug 1450309) for wpt failures on reporting-navigation.https.html. CLOSED TREE
Backed out changeset 7fae6ea289bd (bug 1450309)
Backed out changeset 14c35856cea4 (bug 1450309)
2020-10-01 08:50:41 +03:00
Michael Kaply
baac6ee8d5 Bug 1668374 - Treat 0/1 as boolean in policy unless there is an existing int pref. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D91492
2020-09-30 21:12:17 +00:00
Michael Kaply
2c4e0ee0e8 Bug 1450309 - Switch WebsiteFilter to nsIContentPolicy and allow blocking local files. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D91488
2020-09-30 18:12:24 +00:00
Cosmin Sabou
640d8ee648 Backed out changeset f9ad61f28238 (bug 1666836) for bc failures on browser_policies_setAndLockPref_API.js. CLOSED TREE 2020-09-29 04:03:20 +03:00
Michael Kaply
16f49a8a67 Bug 1666836 - Treat 0/1 as boolean in policy unless there is an existing int pref. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D91492
2020-09-28 19:51:14 +00:00
Razvan Maries
363e32f089 Backed out changeset 2b2e72856dc1 (bug 1665237) for perma failures on browser_popupNode.js. CLOSED TREE 2020-09-25 06:03:12 +03:00
Michael Kaply
b7150182a5 Bug 1665237 - Make managed bookmarks item dynamic. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90628
2020-09-22 20:08:17 +00:00
Michael Kaply
6a227a9cf6 Bug 1666836 - Set bools correct with legacy preferences. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D91178
2020-09-23 21:09:06 +00:00
Csoregi Natalia
eabe4b0ac6 Backed out changeset 034825cf1c71 (bug 1665237) for multiple failures e.g. browser_1007336_lwthemes_in_customize_mode.js. CLOSED TREE 2020-09-22 21:48:53 +03:00
Michael Kaply
45173ac187 Bug 1665237 - Make managed bookmarks item dynamic. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90628
2020-09-22 15:51:42 +00:00
Michael Kaply
79b16e2489 Bug 1658259 - Ignore OfferToSaveLoginsDefault if OfferToSaveLogins is present. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D88664
2020-08-31 15:43:06 +00:00
Punam Dahiya
d696b17955 Bug 1659150 - Remove about:welcome trailhead, full page and ReturnToAMO templates r=perftest-reviewers,Mardak,mkaply,nanj,sparky
Differential Revision: https://phabricator.services.mozilla.com/D89077
2020-09-11 16:35:04 +00:00
Cosmin Sabou
1090e15e9f Backed out changeset 08f94ba4c50c (bug 1659150) for bc failures on browser_all_files_referenced.js. CLOSED TREE 2020-09-11 08:32:46 +03:00
Punam Dahiya
29a57a59ff Bug 1659150 - Remove about:welcome trailhead, full page and ReturnToAMO templates r=perftest-reviewers,Mardak,mkaply,nanj,sparky
Differential Revision: https://phabricator.services.mozilla.com/D89077
2020-09-11 00:31:11 +00:00
Michael Kaply
703a4a644d Bug 1663899 - make creation of the popuphidden promise in managed bookmarks test happen earlier, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D89660
2020-09-09 22:59:37 +00:00
Michael Kaply
2cf31c0507 Bug 1498688 - Add ManagedBookmarks policy. r=fluent-reviewers,emalysz,Standard8,flod
Differential Revision: https://phabricator.services.mozilla.com/D76009
2020-09-08 20:09:35 +00:00
Michael Kaply
be6442e078 Bug 1659719 - Add support for arbitrary preferences in policy. r=Gijs,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D87447
2020-08-26 17:31:44 +00:00
Emma Malysz
81a83433a7 Bug 1634030: lazify main app menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84014
2020-08-10 17:09:55 +00:00
Butkovits Atila
9360ff6a6c Backed out changeset e71e10688704 (bug 1634030) for failure at browser_shim_disable_devtools.js CLOSED TREE 2020-08-08 03:46:14 +03:00
Emma Malysz
974077d255 Bug 1634030: lazify main app menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84014
2020-08-07 22:02:32 +00:00
Michael Kaply
d48b73d76e Bug 1655857 - Add ability to cleanup policies. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D85210
2020-07-30 18:45:56 +00:00
Michael Kaply
f4a98904fd Bug 1655575 - Add enterprise policy for xr permission. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D85200
2020-07-28 21:19:06 +00:00
Joel Maher
b5ff176f81 Bug 1654553 - fix browser chrome tests to support Object.is instead of ==. r=gbrown,preferences-reviewers,Gijs,rpl
fix browser chrome tests to support Object.is instead of ==

Differential Revision: https://phabricator.services.mozilla.com/D84539
2020-07-27 17:02:35 +00:00
Matthew Noorenberghe
6bcdecd274 Bug 1644807 - Switch to Primary Password user-facing terminology in browser/. r=Gijs,mkaply,fluent-reviewers,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83895
2020-07-17 23:00:37 +00:00
Michael Kaply
7f0f7a4f89 Bug 1653584 - Rename MasterPassword policy to PrimaryPassword. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D83957
2020-07-17 15:59:46 +00:00
Csoregi Natalia
b323a486a6 Backed out changeset 7bcb681545cb (bug 1653584) for failures on test_sorted_alphabetically.js. CLOSED TREE 2020-07-17 18:37:48 +03:00
Michael Kaply
a804bfb183 Bug 1653584 - Rename MasterPassword policy to PrimaryPassword. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D83957
2020-07-17 14:44:54 +00:00
Michael Kaply
e09d26f3f1 Bug 1651093 - Update UserMessaging policy for triplets. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D83367
2020-07-15 17:05:09 +00:00
Scott
767ebcb263 Bug 1649883 - Fix user pref for pocket toggle off. r=gvn,remote-protocol-reviewers,perftest-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D82773
2020-07-15 14:51:02 +00:00
Kris Maglione
9bddbcfdd1 Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Kris Maglione
4806934ba5 Bug 1464542: Part 3c - Change Services.jsm to use the C++-implemented services cache. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D81420
2020-07-09 21:42:53 +00:00
Csoregi Natalia
696616221c Backed out 6 changesets (bug 1464542) for xpcshell failures on test_Services.js. CLOSED TREE
Backed out changeset b50af9005851 (bug 1464542)
Backed out changeset 9d3a0ea2cf65 (bug 1464542)
Backed out changeset 71c3475fcbc2 (bug 1464542)
Backed out changeset 51ff93220a95 (bug 1464542)
Backed out changeset e84de1547c09 (bug 1464542)
Backed out changeset bbecc16d08eb (bug 1464542)
2020-07-09 23:19:26 +03:00