Commit Graph

244 Commits

Author SHA1 Message Date
Erica Wright
1f701358fc Bug 1543037 - Improve "Reload all tabs" experience. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27936
2019-04-24 15:43:40 +00:00
Arpit
bf94575434 Bug 1483077 - Replaced reference to getBrowser with gBrowser r=robwu,dao
Differential Revision: https://phabricator.services.mozilla.com/D27418
2019-04-17 00:04:54 +00:00
Erica Wright
f7014533b9 Bug 1529517 - Add prefs for defining expected values in each content blocking category. r=johannh,flod
Add prefs for defining expected values in each content blocking category, depend on those prefs to set expectations.

Differential Revision: https://phabricator.services.mozilla.com/D21234
2019-04-05 05:36:00 +00:00
Johann Hofmann
ff4ea03b85 Bug 1529128 - Automatically update cryptomining and fingerprinting lists when the features are enabled. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D23300
2019-03-26 11:29:20 +00:00
Matthew Noorenberghe
846ef0a387 Bug 1529729 - Honour signon.management.overrideURI for the Saved Logins prefs UI. r=jaws
If `signon.management.overrideURI` is set, open that URI in a new tab instead of opening the preferences subdialog.

Differential Revision: https://phabricator.services.mozilla.com/D23206
2019-03-14 04:53:57 +00:00
Erica Wright
ceb3bdbecf Bug 1526075 - Warn user and provide option to refresh tabs to apply content blocking changes. r=johannh,flod
When user changes a content blocking pref, warn them they need to refresh their tabs, and show them a button to do it.

Differential Revision: https://phabricator.services.mozilla.com/D22600
2019-03-13 14:57:40 +00:00
Erica Wright
24d88ce368 Bug 1533182 - Add Aria attributes to the carat icons in privacy preferences. r=Gijs,flod
Add tooltiptext to create a name attribute in accessibility tools, add an expanded and collapsed state.

Differential Revision: https://phabricator.services.mozilla.com/D22723
2019-03-12 15:30:12 +00:00
Erica Wright
0874adfd89 Bug 1524862 - Enforce expected category prefs even if enterprise policy changes the defaults. r=johannh
Enforce expected category prefs even if enterprise policy changes the defaults. Lock user in custom if one of the relevant policy prefs are locked.

Differential Revision: https://phabricator.services.mozilla.com/D21088
2019-03-01 15:11:11 +00:00
Marco Bonardo
a040dd21a3 Bug 1528751 - Add a custom eslint rule to check "consistent" if bracing. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D20753
2019-02-28 08:39:33 +00:00
ui.manish
e2a0ad463f Bug 1429016 - Remove expiring WEB_NOTIFICATION_* telemetry probes r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D18877
2019-02-23 09:56:08 +00:00
Andreea Pavel
e4dea9209b Backed out changeset a2e4d687840d (bug 1429016) for build bustages at Notification.cpp on a CLOSED TREE 2019-02-13 03:33:48 +02:00
ui.manish
b4964f2e0e Bug 1429016- Remove or extend expiring WEB_NOTIFICATION_* telemetry probes r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D18877
2019-02-12 23:53:10 +00:00
Gijs Kruitbosch
401b20a4f1 Bug 1526793 - always prompt for restart when toggling permanent private browsing mode, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D19313
2019-02-11 16:11:37 +00:00
Gijs Kruitbosch
411c2e7319 Bug 1524995 - update privacy pane history mode dependent control checkboxes correctly in permanent private browsing mode, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D19144
2019-02-08 15:43:58 +00:00
Gijs Kruitbosch
e2d76140cf Bug 1525099 - correctly select the right content blocking option, r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D19143
2019-02-08 22:15:23 +00:00
Johann Hofmann
86f3e9e6c9 Bug 1522567 - Add cryptomining and fingerprinting protection options to custom content blocking preferences. r=ewright,flod
Differential Revision: https://phabricator.services.mozilla.com/D18662
2019-02-06 22:11:57 +00:00
Cosmin Sabou
bf63534551 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
Timothy Guan-tin Chien
aabcb0d2fc Bug 1520350 - Lazily load about:preferences markups from hidden panes r=jaws
Because custom elements will be constructed when DOM is constructed,
construct the DOM in the hidden panels will be expensive as we move
more and more widgets to custom elements from XBL.

This patch attempts to counter that by moving all the pane markups
into comment nodes, and use MozXULElement.parseXULToFragment() to
insert it when it is being asked.

They will be loaded lazily from an requestIdleCallback() in findInPage.js.

Differential Revision: https://phabricator.services.mozilla.com/D16787
2019-01-29 00:27:29 +00:00
Andreea Pavel
f475dbf8d0 Backed out changeset ad9834d2b44e (bug 1520350) for failing browser_aboutPrefs_fc_check_otherInstance.js on a CLOSED TREE 2019-01-28 22:21:21 +02:00
Timothy Guan-tin Chien
4df4231bc8 Bug 1520350 - Lazily load about:preferences markups from hidden panes r=jaws
Because custom elements will be constructed when DOM is constructed,
construct the DOM in the hidden panels will be expensive as we move
more and more widgets to custom elements from XBL.

This patch attempts to counter that by moving all the pane markups
into comment nodes, and use MozXULElement.parseXULToFragment() to
insert it when it is being asked.

They will be loaded lazily from an requestIdleCallback() in findInPage.js.

Differential Revision: https://phabricator.services.mozilla.com/D16787
2019-01-28 18:21:59 +00:00
Kris Maglione
856fa07b17 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750
2019-01-17 10:18:31 -08:00
Kris Maglione
f498964d86 Bug 1519596: Part 1 - Remove several unnecessary/unused ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16377
2019-01-11 16:59:23 -08:00
Johann Hofmann
1c3bbd7381 Bug 1513378 - Link to the content blocking tour from the "Learn How" link in about:preferences. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D16543
2019-01-15 20:36:00 +00:00
Johann Hofmann
a614bf45e6 Bug 1443644 - Add UI explaining why the "Keep until..." menu is disabled in permanent private browsing. r=ewright,flod
Differential Revision: https://phabricator.services.mozilla.com/D16035
2019-01-14 15:25:43 +00:00
Michael Kelly
e5e71e3d0a Bug 1509888: Remove Browser Error Collection. r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D15879
2019-01-15 18:04:28 +00:00
alwu
92afecde73 Bug 1513039 - part9 : remove autoplayMediaCombobox. r=daleharvey,flod
Use CheckedBox instead.

Differential Revision: https://phabricator.services.mozilla.com/D14334
2019-01-07 18:39:35 +00:00
Michael Kohler
135a8e6f81 Bug 1515456 - Update 'Learn more' under Content Blocking preferences to content-blocking SUMO link r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D15023
2018-12-21 19:45:50 +00:00
Erica Wright
86fb49a272 Bug 1507981 - Content Blocking UI Fallback. r=johannh
If blocking third-party tracking cookies does not get turned on by default, this will be the UI we will use instead. The standard category only includes tracking protection in private windows, the standard section no longer expands.

Differential Revision: https://phabricator.services.mozilla.com/D12686
2018-12-04 17:31:50 +00:00
Mark Striemer
37df7f2a7b Bug 1499470 - Provide option to opt-out of add-on recommendations r=mixedpuppy,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D13168
2018-11-30 14:19:04 +00:00
Erica Wright
5590bde0c9 Bug 1501985 - Update Content Blocking section UI r=flod,johannh
This adds a card-like UI to the content blocking section in preferences.

Differential Revision: https://phabricator.services.mozilla.com/D11212
2018-11-19 17:40:28 +00:00
Marco Bonardo
3a67d326e8 Bug 1502392 - Remove support for browser.urlbar.autocomplete.enabled. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D11245
2018-11-08 09:59:27 +00:00
Erica Wright
cb0f9f12b8 Bug 1501989 - turn "keep until" menu list into a checkbox r=flod,johannh
Remove the keepUntil menulist and label, add a checkbox that toggles the value of 'network.cookie.lifetimePolicy' between 2 and 0.

Differential Revision: https://phabricator.services.mozilla.com/D9955
2018-10-29 16:46:17 +00:00
Ehsan Akhgari
381da039c2 Bug 1502758 - Remove the remnants of browser.contentblocking.enabled from the preferences code r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D10019
2018-10-29 10:05:53 +00:00
Johann Hofmann
38fbca0e51 Bug 1501977 - Remove global Content Blocking toggle in about:preferences. r=flod,Ehsan
This patch also removes some of the other handling of browser.contentblocking.enabled
in about:preferences, such as disabling the cookies and site data section.

Differential Revision: https://phabricator.services.mozilla.com/D9915
2018-10-26 18:08:53 +00:00
Ehsan Akhgari
6785455e84 Bug 1502237 - Remove the pref for controlling whether the tracker cookie blocking setting would appear in the Cookies and Site Data drop-down r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D9878
2018-10-26 07:01:43 +00:00
Ehsan Akhgari
5d135fefc4 Bug 1502221 - Remove the prefs for controlling whether a '(recommended)' suffix would be appended to tracker cookie blocking settings r=flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D9875
2018-10-26 16:16:43 +00:00
Ehsan Akhgari
c6ba8f7342 Bug 1502076 - Part 1: Remove the fastblock UI from Preferences r=flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D9794
2018-10-25 21:24:58 +00:00
Ehsan Akhgari
b55c845161 Bug 1501286 - Part 1: Remove support for the tracking protection UI from Preferences r=flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D9519
2018-10-25 16:52:26 +00:00
Dorel Luca
6839d2a276 Backed out 5 changesets (bug 1501286) for browser-chrome failures in browser/components/uitour/test/browser_trackingProtection.js
Backed out changeset cac0d4aa79d1 (bug 1501286)
Backed out changeset 578d395f555e (bug 1501286)
Backed out changeset d9940451c373 (bug 1501286)
Backed out changeset ca6c3139bdd2 (bug 1501286)
Backed out changeset 93d6f4d54f78 (bug 1501286)
2018-10-25 17:52:59 +03:00
Ehsan Akhgari
1271f0a51e Bug 1501286 - Part 1: Remove support for the tracking protection UI from Preferences r=flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D9519
2018-10-25 13:35:18 +00:00
Johann Hofmann
033e956c30 Bug 1493185 - Always put Content Blocking, TP and Site Data to the top of about:preferences. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D7782
2018-10-05 07:52:59 +00:00
Johann Hofmann
12eadfca9d Bug 1492175 - Add a pref for hiding the global content blocking toggle. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D6157
2018-09-20 05:54:39 +00:00
Ehsan Akhgari
f9a7f3b112 Bug 1487300 - Restore the state of the tracking protection menu when All Detected Trackers is checked after being previously unchecked; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D4993
2018-09-06 10:28:37 -04:00
Ehsan Akhgari
3ff9b352d7 Bug 1487556 - Disable the Cookies and Site Data section if Content Blocking has been turned off; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D4988
2018-09-05 20:09:11 -04:00
Ehsan Akhgari
edf2c8831e Bug 1488361 - Only initiate the updating of site data control buttons after we have moved the buttons in the UI; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D5057
2018-09-05 13:58:54 -04:00
Ehsan Akhgari
93b992873e Bug 1487048 - Use a <xul:checkbox> control to draw the icon and label of the checkboxes in the Content Blocking section; r=johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D4818
2018-09-03 14:57:02 -04:00
Ehsan Akhgari
bee3608a27 Bug 1487434 - Ensure that the checkbox of the All Detected Trackers category is also disabled when TP is controlled by an extension; r=johannh
This checkbox is non-functional in this state, so there is no point to it
being enabled.

Differential Revision: https://phabricator.services.mozilla.com/D4838
2018-09-03 13:55:02 -04:00
Ehsan Akhgari
522532ef8a Bug 1488013 - Don't move the UI elements too early otherwise the XBL binding wouldn't have been applied when we want to adjust the checked attribute on our checkbox element; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D4829
2018-09-03 11:22:06 -04:00
Ehsan Akhgari
03ba063062 Bug 1480900 - Part 2: Reorder the Privacy pane of the Preferences UI to move Content Blocking to the top, followed by Cookies & Site Data; r=johannh
The reason why I chose to do this dynamically instead of modifying the XUL markup
was to ensure that no changes are yet made in case the content blocking UI pref is
disabled.
2018-08-30 16:32:11 -04:00
Mark Banner
462116b7f9 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439
2018-08-31 05:59:17 +00:00