Commit Graph

35 Commits

Author SHA1 Message Date
Johann Hofmann
bdbc0f35ed Bug 1470020 - Part 4 - Don't handle Tracking Protection UI on file: and about: URIs. r=florian
... because these URIs are incompatible with TP.

We now show it on moz-extension: instead, which was forgotten previously.

This should probably have been in its own separate bug, but the changes in bug 1470020
surfaced this issue by throwing a lot of console errors when the baseURI was accessed,
so I didn't want to defer the fix.

MozReview-Commit-ID: 8KNV0oabv7Y
2018-06-21 12:23:42 +02:00
Johann Hofmann
044f653fb1 Bug 1470020 - Part 2 - Add specific states for when the user has added a TP exception to the TP section of the identity popup. r=florian
We used to give this all the same "tracking-loaded" state, but now we want to differentiate between:

- Tracking loaded because TP is off
- Tracking loaded because of an exception
- Tracking not loaded but the site has an exception, which we want to allow the user to remove (if TP is on)

MozReview-Commit-ID: E9j0Roq1bsH
2018-06-21 02:10:02 +02:00
Johann Hofmann
cba40dc40e Bug 1470020 - Part 1 - Don't show the "Enable Protection" button when it links to the TP preferences. r=florian
UX found this confusing and unnecessary, after all.

MozReview-Commit-ID: DSBu8Xyo3YO
2018-06-21 02:05:08 +02:00
Johann Hofmann
d171810570 Bug 1462470 - Part 3 - Show a "reload this page" warning in the control center when trackers are loaded while TP is on. r=Paolo
Part 2 exposed an edge case that would allow the user to have TP enabled but
still have tracking content on a page, bringing our UI into a confused state.

This adds a new element that shows when TP is enabled and no exception is set,
but tracking content is still loaded, and recommends reloading the page.

MozReview-Commit-ID: EYy6xVCjNts
2018-05-24 13:14:16 +02:00
Johann Hofmann
de90cae4e7 Bug 1462470 - Part 2 - Alert about trackers when Tracking Protection is off in the identity popup. r=Paolo
This commit changes the tracking protection UI to always be present in the
identity popup (control center) UI. Following the UI spec in
https://mozilla.invisionapp.com/share/RSIY1B8GMC2#/screens/297824891,
we are now warning about trackers even when TP is disabled and alter the
button that shows up in this case to open the TP settings in about:preferences.

MozReview-Commit-ID: 6g8rzWVRaua
2018-05-24 13:12:30 +02:00
Johann Hofmann
5ce05b6cd0 Bug 1462468 - Add a tracking protection option to the hamburger menu. r=mikedeboer
MozReview-Commit-ID: HxRljbdsRau
2018-05-22 16:26:55 +02:00
Dorel Luca
52818bfb04 Backed out changeset bc39ccd992a4 (bug 1462468) for Browser-chomre failures on browser/base/content/test/trackingUI/browser_trackingUI_appMenu.js 2018-05-28 19:11:14 +03:00
Johann Hofmann
0c98acca87 Bug 1462468 - Add a tracking protection option to the hamburger menu. r=mikedeboer
MozReview-Commit-ID: HxRljbdsRau
2018-05-22 16:26:55 +02:00
Florian Quèze
3f662053f3 Bug 592653 - script-generated patch to replace gPrefService with Services.prefs, r=Standard8. 2017-12-19 23:45:10 +01:00
Christoph Kerschbaumer
efcd021236 Bug 1375023 - Have switchToTabHavingURI() provide the correct triggeringPrincipal. r=gijs,aswan 2017-06-25 14:03:06 +02:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Quèze
45647c4570 Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws. 2017-01-09 20:27:25 +01:00
Jared Wein
3cefaa6899 Bug 1218937 - Introduce a new option for switchToTabHavingURI's ignoreFragment to not overwrite the fragment portion. Use this new argument to switch to the preferences without changing the currently opened pane. r=mattn
MozReview-Commit-ID: JZmAsf8k5Qp
2016-08-31 12:53:23 -04:00
Paolo Amadini
d6f15efa8c Bug 1242525 - Enable notification on first activation of Tracking Protection in normal mode. r=past 2016-01-29 13:01:29 +00:00
Paolo Amadini
24b6f49371 Bug 1231757 - Notification on first activation of Tracking Protection in normal mode. r=past 2016-01-22 13:02:50 +00:00
Paolo Amadini
308d4856f1 Bug 1236229 - The showInfo API in UITour.jsm should accept JavaScript callbacks rather than callback IDs. r=MattN 2016-01-05 14:04:49 +00:00
Matthew Noorenberghe
8e2e828f13 Bug 1229168 - UITour: Use the correct window in initForBrowser to handle windows with no tabs. r=Dexter 2015-12-02 15:26:23 -08:00
Felipe Gomes
e5ea10c3ed Bug 1228627 - Remove #includes from browser.js. r=Gijs 2015-11-30 12:13:57 -02:00
Panos Astithas
902f4426f7 Bug 1200944 - Instrument UI Pref for TP in PBM with Telemetry probe. r=ttaubert, f=ally 2015-09-25 23:30:24 +02:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Brian Grinstead
74ec02c6af Bug 1189928 - Disable Tracking Protection telemetry in private browsing mode;r=MattN 2015-08-04 07:41:20 -07:00
Brian Grinstead
d9312c0d38 Bug 1189928 - Move Tracking Protection shield probe into browser-trackingprotection.js;r=MattN 2015-08-04 07:41:19 -07:00
Tim Taubert
5f7fe4c66e Bug 1188438 - Close the control center when the user clicks the tracking protection enable/disable button r=MattN 2015-07-28 18:29:12 +02:00
Panos Astithas
d31454ed51 Bug 1145503 - TP exceptions added while in Private Browsing mode persist beyond the Private Browsing session. r=ehsan 2015-07-26 13:23:12 +03:00
Brian Grinstead
84c2df3395 Bug 1187022 - Add hover tooltip for tracking protection shield icon;r=MattN 2015-07-23 20:37:17 -07:00
Brian Grinstead
55ecf7a6a4 Bug 1175858 - Tracking Protection shield should be animated in when content is blocked on the page;r=MattN 2015-07-23 13:55:32 -07:00
Matthew Noorenberghe
d8d801cd1b Bug 1177162 - Show an info panel on the tracking protection doorhanger anchor the first time tracking elements are blocked. r=bgrins,ttaubert 2015-07-16 13:38:20 -07:00
Michael Layzell
04205bdd55 Bug 1165263 - Part 7: Update tracking protection to account for new nsPermissionManager semantics, r=margaret 2015-07-16 14:50:03 -04:00
Paolo Amadini
a2cd6a5631 Bug 1175689 - Group the existing site identity URL bar icon with the tracking protection shield when TP is enabled. r=ttaubert 2015-07-13 18:38:13 +01:00
Brian Grinstead
501d875184 Bug 1178985 - Show tracking protection section in control center when enabled in private browsing mode;r=ttaubert 2015-07-09 16:19:30 -07:00
Michael Layzell
20f33b6cf4 Bug 1170200 - Part 2: Update JavaScript consumers of nsIPermissionManager::Remove; r=ehsan 2015-07-03 17:12:27 -04:00
Brian Grinstead
c05ad45168 Bug 1175327 - Move existing Tracking Protection functionality from shield doorhanger to Control Center;r=ttaubert 2015-06-30 14:02:39 -07:00