Commit graph

577 commits

Author SHA1 Message Date
Michael Kaply
ce3b5c2dc4 Bug 1674006 - Add null check for addon source. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D95087
2020-10-30 16:49:14 +00:00
Michael Kaply
ded0bc0dce Bug 1674009 - Add pdfjs. and spellchecker. to Preferences policy. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D95091
2020-11-02 17:04:33 +00:00
Ricky Stewart
02a7b4ebdf Bug 1654103: Standardize on Black for Python code in mozilla-central.
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-26 18:34:53 +00:00
Jared Wein
3d2a8005c8 Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers,marionette-reviewers,whimboo
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-26 02:32:07 +00:00
Bogdan Tara
da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart
c0cea3b0fa 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
74a75f7dec Backed out changeset d1c5493f3915 (bug 1465847) for causing leaks CLOSED TREE 2020-10-23 20:13:59 +03:00
Michael Kaply
6167db8497 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
c7c4a35de5 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
f11e661f24 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
1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart
50762dacab 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
e0e5f6bba3 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
8945877156 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
0e83701c0c 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
8e815eb6d7 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
33e2204781 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
c93a70f458 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
84f7a7eabc 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
943ca5a290 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
3b8cbc4cac 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
f82d5c549f 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
dc3b88d76c 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
45aaeb9042 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
386081c172 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
a17a4ed69b 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
93a7cf9d8b 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
434ce36805 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
7979196254 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
baf3127120 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
8d67315d67 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
9d16fe7e4d 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
63434c4e40 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
23a4c41078 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
154225ecec 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
00b09a0063 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
744a5e4c1e 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
7c39304335 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
ac05a3c153 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
726de8c6c3 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
3123c7867e 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
996e816c65 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
77f8ca0ed1 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
0bb3e30ab3 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
44ccffe5c8 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
2f2dc70492 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
0a1c3d9bd8 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
a84538bfed 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
e625ac5a98 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
5a2ece7215 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