Commit Graph

692 Commits

Author SHA1 Message Date
Michael Kaply
6964c50e3c Bug 1653430 - Add policy for manual update only. r=bytesized,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D101386
2021-01-12 16:14:59 +00:00
Mats Palmgren
f9ffb01e43 Bug 1685040 - Fix truncation of about:preferences and about:policies in print media. r=ntim,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D101859
2021-01-15 02:22:03 +00:00
Mark Banner
da7df5a68d Bug 1649164 - Add an encoding option for policy search engines and change the default to UTF-8. r=mkaply
This will cause the default for any new policy engine in a profile, or an updated engine, to be UTF-8, unless specified by the policy.

Differential Revision: https://phabricator.services.mozilla.com/D100666
2021-01-05 09:48:52 +00:00
Michael Kaply
2028255e17 Bug 1680095 - Block Save Link As if site is blocked by policy. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D98527
2020-12-07 16:37:12 +00:00
Andrew McCreight
929d05c0ac Bug 1678413 - Release listeners for nsViewSourceChannel. r=necko-reviewers,dragana
Release the two kinds of listeners that view source channel has
if AsyncOpen fails, or in OnStop. This matches the behavior of
HttpChannelChild. The former change fixes a leak when view source
channels are blocked by enterprise policies.

It looks like clang-format deleted the double include of
nsViewSourceChannel.h.

Differential Revision: https://phabricator.services.mozilla.com/D98223
2020-11-30 21:09:31 +00:00
Marco Bonardo
5fee7240ed Bug 1677408 - Part 4 - Replace onItemVisited with page-visited. r=Standard8
Rather than fetching bookmarks from the disk for each page-visited notification,
we just let the result to recursively find and update children in the memory
structure.

Differential Revision: https://phabricator.services.mozilla.com/D97277
2020-11-23 16:28:04 +00:00
Butkovits Atila
c08d529090 Backed out 7 changesets (bug 1677408) for bustages on nsNavHistory.cpp. CLOSED TREE
Backed out changeset 1e0dc9aaa979 (bug 1677408)
Backed out changeset 4198bc35198c (bug 1677408)
Backed out changeset ff93f264138b (bug 1677408)
Backed out changeset 0f2d72d2ed5a (bug 1677408)
Backed out changeset 996cbd111957 (bug 1677408)
Backed out changeset b0c23854e117 (bug 1677408)
Backed out changeset f7d6cc5e4457 (bug 1677408)
2020-11-23 16:49:31 +02:00
Marco Bonardo
ae29233b62 Bug 1677408 - Part 4 - Replace onItemVisited with page-visited. r=Standard8
Rather than fetching bookmarks from the disk for each page-visited notification,
we just let the result to recursively find and update children in the memory
structure.

Differential Revision: https://phabricator.services.mozilla.com/D97277
2020-11-23 12:56:40 +00:00
Erica Wright
af69c5ca7d Bug 1677836 - Default off highlights section on New Tab. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D97360
2020-11-20 17:25:21 +00:00
Michael Kaply
fac1267397 Bug 1465847 - If a website is blocked via policy, block view source. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D94366
2020-11-19 19:42:14 +00:00
David Parks
fbdc676852 Bug 1675349: Update tests under browser/components for the removal of plugins. r=jmathies,mixedpuppy
UPDATED
-------

browser/components/extensions/test/browser/browser_ext_browsingData_pluginData.js
Test plugindata part of the browsingData extension's use of nsIClearDataService.
Have test attempt to clear non-existent data.  Test that browsingData APIs do not cause exceptions.

REMOVED
-------
browser/components/enterprisepolicies/tests/browser/browser_policy_disable_flash_plugin.js
Bug 1429169
Flash ctp/disabled by enterprise policy.

Differential Revision: https://phabricator.services.mozilla.com/D95907
2020-11-18 15:57:10 +00:00
Bogdan Tara
d1cceb4cfb Backed out 19 changesets (bug 1675349) for lint failures on browser_ext_browsingData_pluginData and test_archive CLOSED TREE
Backed out changeset 244e0f2b410c (bug 1675349)
Backed out changeset ba5724069dd4 (bug 1675349)
Backed out changeset 37fca259c7e9 (bug 1675349)
Backed out changeset f2b16caca1fc (bug 1675349)
Backed out changeset 28835d4935be (bug 1675349)
Backed out changeset eb913f58953a (bug 1675349)
Backed out changeset 19e3cb80f469 (bug 1675349)
Backed out changeset d9723f3a3a7e (bug 1675349)
Backed out changeset c888dfcdf70e (bug 1675349)
Backed out changeset 48f153341af6 (bug 1675349)
Backed out changeset 7fc67a9b2932 (bug 1675349)
Backed out changeset 1cee4d97f801 (bug 1675349)
Backed out changeset 59a0cb79c7c1 (bug 1675349)
Backed out changeset 43d349fa37b1 (bug 1675349)
Backed out changeset c84bfb6eae59 (bug 1675349)
Backed out changeset 38e9af69ae57 (bug 1675349)
Backed out changeset 3255c1ab3059 (bug 1675349)
Backed out changeset 2f3eaf9c342c (bug 1675349)
Backed out changeset 769e5c0db4c2 (bug 1675349)
2020-11-18 06:06:36 +02:00
David Parks
bee2db51bd Bug 1675349: Update tests under browser/components for the removal of plugins. r=jmathies,mixedpuppy
UPDATED
-------

browser/components/extensions/test/browser/browser_ext_browsingData_pluginData.js
Test plugindata part of the browsingData extension's use of nsIClearDataService.
Have test attempt to clear non-existent data.  Test that browsingData APIs do not cause exceptions.

REMOVED
-------
browser/components/enterprisepolicies/tests/browser/browser_policy_disable_flash_plugin.js
Bug 1429169
Flash ctp/disabled by enterprise policy.

Differential Revision: https://phabricator.services.mozilla.com/D95907
2020-11-18 03:11:46 +00:00
Michael Kaply
054c11bbe5 Bug 1660810 - Theme installed via policy should be enabled. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D96621
2020-11-12 01:00:21 +00:00
Michael Kaply
585bda1945 Bug 1676439 - Don't show import button if DisableProfileImport policy is active. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D96600
2020-11-10 17:43:21 +00:00
Michael Kaply
d2d0ae38d4 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
a9fce4e7dd 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
31b8ca9716 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
64176c986d 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
612312a64c 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
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