Commit Graph

172 Commits

Author SHA1 Message Date
Dale Harvey
2675982a0f Bug 1466129 - Add default value to pref. r=johannh
MozReview-Commit-ID: 988Co3PD41V
2018-06-01 22:44:20 +01:00
Dale Harvey
708beed985 Bug 1458249 - Add autoplay item to about:preferences. r=flod,johannh
MozReview-Commit-ID: AldNoElwH1O
2018-05-03 07:55:53 +01:00
Jonathan Kingston
d9f3ed0547 Bug 1457620 - Expose shield preference toggle to all locales and move code to not being injected. r=flod,Gijs,mythmon
MozReview-Commit-ID: 4uZSdqqAlG8
2018-05-05 11:07:08 +01:00
Zibi Braniecki
31f4a23b3f Bug 1457021 - Migrate the JS of Preferences::SitePermissions to Fluent. r=flod,jaws
MozReview-Commit-ID: Fe4Q6CnTcuj
2018-04-25 16:24:39 -07:00
Zibi Braniecki
78189ddbb4 Bug 1457021 - Migrate the JS of Preferences::SiteData to Fluent. r=flod,johannh
MozReview-Commit-ID: 5sYMU3dDTRy
2018-04-23 10:12:21 -07:00
Zibi Braniecki
674fbdf08d Bug 1457948 - Migrate in-content/privacy.js to Fluent. r=flod,jaws
MozReview-Commit-ID: 7K7Wgm5ahTL
2018-04-30 10:29:18 -07:00
Dorel Luca
995f173383 Backed out changeset fba5e06d6365 (bug 1457948) for Browser-chrome failures on multipe files. CLOSED TREE 2018-05-08 10:54:13 +03:00
Zibi Braniecki
c71bdde78e Bug 1457948 - Migrate in-content/privacy.js to Fluent. r=flod,jaws
MozReview-Commit-ID: 7K7Wgm5ahTL
2018-04-30 10:29:18 -07:00
Andrea Marchesini
2d1855f728 Bug 1457180 - gPrivacyPane.readKeepCookiesUntil() must support only nsICookieService.ACCEPT_SESSION and nsICookieService.ACCEPT_NORMALLY values, r=gijs 2018-05-03 08:25:30 +02:00
Johann Hofmann
7e9ad1bab0 Bug 1442887 - Align the #clearDataSettings button in about:preferences to the very right. r=jaws
MozReview-Commit-ID: ketCjIIUl0
2018-04-13 11:34:38 +02:00
Andreea Pavel
f29e649315 Backed out changeset 70343258ed74 (bug 1442887) for failing browser chrome at browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_site_data.js on a CLOSED TREE 2018-04-13 20:29:42 +03:00
Johann Hofmann
b332a68df9 Bug 1442887 - Align the #clearDataSettings button in about:preferences to the very right. r=jaws
MozReview-Commit-ID: ketCjIIUl0
2018-04-13 11:34:38 +02:00
Michael Kohler
9124ea03a3 Bug 1428306 - Remove browser.storageManager.enabled pref r=baku,johannh
MozReview-Commit-ID: GodyYuGxVD
2018-04-09 20:46:45 +02:00
Kirk Steuber
185e10e28a Bug 1451024 - Cookie settings should be disabled when the related prefs are locked r=jaws
Also adds too the cookie tests to ensure this takes effect.

MozReview-Commit-ID: A85kv20BcnI
2018-04-10 15:05:42 -07:00
Zibi Braniecki
0196233f8a Bug 1451992 - Migrate Preferences::Subdialogs::Blocklists to Fluent. r=gijs,flod
MozReview-Commit-ID: IXacqfUnZ2q
2018-04-03 04:29:25 +02:00
Brindusan Cristian
62de36d3a5 Backed out changeset 0d049666e764 (bug 1451024) for browser chrome failures on browser_privacypane_1.js CLOSED TREE 2018-04-10 00:22:42 +03:00
Kirk Steuber
9f4e3d60bb Bug 1451024 - Cookie settings should be disabled when the related prefs are locked r=jaws
MozReview-Commit-ID: DR0e8fFBNDj
2018-04-05 13:17:17 -07:00
Johann Hofmann
4b037796dc Bug 1348223 - Part 5 - Remove the old cookie manager. r=florian
cookies.xul is unused and mostly unmaintained and should be removed.

Equivalent functionality in a well-maintained interface can be found
in the storage manager or the devtools storage inspector.

MozReview-Commit-ID: ILSt83hwN34
2018-03-22 12:53:38 +01:00
Zibi Braniecki
71e0d6d34c Bug 1446180 - Migrate the "Privacy" section of Preferences to the new Localization API. r=flod,jaws
MozReview-Commit-ID: 2Hp6ZNry6dK
2018-03-15 14:57:55 -07:00
Johann Hofmann
090f854e01 Bug 1442850 - Update how history mode and cookie lifetime controls interact to fit our new preferences UI. r=Gijs
We recently updated the cookie settings in about:preferences to live outside
of the history mode settings, but did not change the way that changes to history
mode (toggling the privatebrowsing.autostart pref) reflected in the cookies section.

This patch takes care of that by moving the cookie related pieces out of the code
that sets history settings and makes sure that the respective functions get called
in all appropriate cases.

I also moved some site data settings code to be closer to the cookies code.

MozReview-Commit-ID: 6ly079uDz4C
2018-03-05 18:23:03 +01:00
Michael Kaply
97e2f5fdd4 Bug 1432355 - Add a policy to disable private browsing. r=Gijs
MozReview-Commit-ID: AprbL6usEv5
2018-03-01 10:20:38 -06:00
Johann Hofmann
e09cdaaebb Bug 1441198 - Part 1 - Use correct copy for cookies and site data in about:preferences. r=nhnt11
This mostly changes "cookies" to "cookies and site data" and amends a few
other details.

MozReview-Commit-ID: 97xTSQPw2DA
2018-02-28 09:37:48 +01:00
Florian Quèze
f6add2cafd Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Johann Hofmann
09a13cb7f5 Bug 1436568 - Make "clear your recent history" a button instead of a link. r=nhnt11
MozReview-Commit-ID: 1KDXu9OtmHm
2018-02-19 23:02:33 +01:00
Johann Hofmann
4882434603 Bug 1432743 - Move cookie settings to the Site Data section and remove the cookies dialog from preferences. r=Gijs
After including cookies in the site data manager in bug 1421737, we would
like to move the cookies settings to the site data section to give them
more visibility and to unify site data and cookies.

Our UR has shown that our differentiation between site data and cookies
is not helpful to users and that they struggle with discovering the
cookie settings that are hidden in the "custom history" menu.

Since the cookie settings are quite powerful/potentially breaking,
we changed the top level preference from a checkbox to a radiogroup,
to be able to highlight the potential breakage associated with "deny".

This grouping is also recommended by the webstorage spec:
https://www.w3.org/TR/webstorage/#privacy

The cookies dialog is not removed yet, because it is still accessible from
Page Info, but bug 1348223 will likely remove it entirely.

MozReview-Commit-ID: Adisn70Ks2Q
2018-02-12 19:28:00 +01:00
Felipe Gomes
1352891432 Bug 1429148 - Policy: Don't let a Master Password to be set. r=keeler
MozReview-Commit-ID: 8Adqg0KU7cZ
2018-02-20 20:46:11 -03:00
Jared Wein
db0a992247 Bug 1436575 - Autofix errors from no-compare-against-boolean-literal. r=standard8
MozReview-Commit-ID: 66sXxnOWDgw
2018-02-08 12:57:31 -05:00
Johann Hofmann
08312ab421 Bug 1422160 - Merge cache and site data in about:preferences. r=jaws
This commit removes most of the cache section in about:preferences,
following the UX concept from bug 1421690. This is in the general
interest of de-cluttering privacy preferences and giving users controls
that are easier to understand and use.

The cache size is instead shown in the site data section and the cache
can be cleared using the "Clear Data" button in that same section.

MozReview-Commit-ID: 7PDTDgllFFI
2018-02-13 12:33:29 +01:00
Zibi Braniecki
85527f89ee Bug 1424682 - Migrate the chrome of Preferences to the new Localization API. r=flod,jaws
MozReview-Commit-ID: ALnFUmnJMDB
2017-12-18 23:19:13 -08:00
Gijs Kruitbosch
2a804a92ae Bug 1438103 - fix UI for error reporting pref, r=Pike
MozReview-Commit-ID: FCNy3dY7y1a
2018-02-14 09:42:36 +00:00
Michael Kelly
895bcde6ef Bug 1426482 Report browser errors in Nightly to Mozilla. r=gijs
Errors are collected via nsIConsoleService, shaped to a Sentry-compatible
format, and sent off. Reporting is on by default, and can be disabled using a
checkbox added to the privacy prefs in about:preferences.

Collected errors are sampled to avoid overloading the collection service; the
sample rate was determined by a previous Shield study that measured the number
of errors occurring in Nightly.

The feature is hard-disabled outside of Nightly and local builds, and the
preference is disabled by default in local builds. It is intended as a prototype
that will be evaluated and replaced by a more robust collection system if it
proves helpful.

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

MozReview-Commit-ID: 6aqUatXyuYs
2018-02-12 10:59:47 -08:00
Bob Silverberg
2777c6ca53 Bug 1429593 - Part 2: Show that a WebExtension is managing the proxy config setting, r=jaws,mstriemer
Update the general page of about:preferences, as well as the Connection Settings panel, to show
when an extension is controlling proxy settings, and allow a user to disable the extension to
regain control.

MozReview-Commit-ID: HKYPkg78IOK
2018-01-22 11:49:42 -05:00
Coroiu Cristina
1affbb39f9 Backed out 2 changesets (bug 1429593) for for mass failing browser-chrome, e.g. browser/components/preferences/in-content/tests/browser_extension_controlled.js on a CLOSED TREE
Backed out changeset 9ce1b89f8744 (bug 1429593)
Backed out changeset fa845d221e7a (bug 1429593)
2018-02-07 16:03:58 +02:00
Bob Silverberg
bef60f3f6e Bug 1429593 - Part 2: Show that a WebExtension is managing the proxy config setting, r=jaws,mstriemer
Update the general page of about:preferences, as well as the Connection Settings panel, to show
when an extension is controlling proxy settings, and allow a user to disable the extension to
regain control.

MozReview-Commit-ID: HKYPkg78IOK
2018-01-22 11:49:42 -05:00
Gurzau Raul
82749346c0 Backed out 2 changesets (bug 1429593) for l10n issues
Backed out changeset 9dfaa0724a42 (bug 1429593)
Backed out changeset 20829d727fdf (bug 1429593)
2018-02-06 22:03:23 +02:00
Bob Silverberg
66f573d494 Bug 1429593 - Part 2: Show that a WebExtension is managing the proxy config setting, r=jaws,mstriemer
Update the general page of about:preferences, as well as the Connection Settings panel, to show
when an extension is controlling proxy settings, and allow a user to disable the extension to
regain control.

This also updates some of the strings to use the phrase "is controlling" rather than "controls".

MozReview-Commit-ID: HKYPkg78IOK
2018-01-22 11:49:42 -05:00
Johann Hofmann
05a5aaecc3 Bug 1422163 - Part 1 - Make a new confirm dialog for clearing all site data that allows you to clear cache. r=Gijs
MozReview-Commit-ID: G9xQXlfT9Ay
2018-01-10 12:24:40 +01:00
Florian Quèze
c5f15a4700 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
pubkeypin
846f13bb60 Bug 1431942 - Refactor privacy.js initialization code to account for MOZ_DATA_REPORTING being false. r=jaws 2018-01-20 18:43:56 +01:00
Kris Maglione
1046270983 Backed out 3 changesets (bug 1431533) for Android mochitest bustage. CLOSED TREE
MozReview-Commit-ID: 5ubE9EMQpZ9
2018-01-24 22:04:59 -08:00
Kris Maglione
50ace7f99d Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
MozReview-Commit-ID: 8V1ZT53ReiP
2018-01-24 15:48:47 -08:00
Bob Silverberg
9b56dd47d1 Bug 1430590 - Watch for and respond to TP pref changes on about:preferences, r=jaws
MozReview-Commit-ID: CIeg7qRLf6N
2018-01-16 16:26:00 -05:00
Bob Silverberg
878eea3782 Bug 1390161 - Show that a WebExtension is managing the tracking protection setting, r=jaws,mstriemer
This adjusts both the new Tracking Protection UI and the old Tracking Protection UI on
about:preferences to indicate when an extension is controlling Tracking Protection. It
will disable the controls on about:preferences if an extension is in control, and provide
a button to disable the extension.

MozReview-Commit-ID: G04jWrS6Pr9
2017-11-06 12:41:48 -05:00
Prathiksha
9a8089ff39 Bug 1368744 - Provide a way for users to deny permission prompts by default in about:preferences. r=johannh
MozReview-Commit-ID: 3k3LRi7N8PX
2017-12-20 22:32:20 +05:30
Myk Melez
30f98a841a Bug 1379338 - scriptify preferences XBL; r=jaws
MozReview-Commit-ID: Egyzs2KxhzH
2018-01-04 21:37:47 -08:00