Commit Graph

44 Commits

Author SHA1 Message Date
Johann Hofmann
c73f45cbb0 Bug 1476317 - Fix identity popup display for pages with exceptions that have blocked content. r=nhnt11
The identity popup will now show that there's an exception on the site instead of being confused.

We previously didn't handle this state because I assumed it wouldn't be possible to enter.
Turns out if you open the same (tracking) site in two tabs and then add an exception in one tab,
the other tab will be in this state until reload.

MozReview-Commit-ID: GVVdNpsAm6h
2018-07-18 16:33:06 +02:00
Brian Grinstead
15d73c3684 Bug 1475304 - Remove broadcasters that only have one observer;r=Gijs,johannh
MozReview-Commit-ID: KbYBy2RjK1i
2018-07-16 11:47:58 -07:00
Johann Hofmann
d5c1e4a947 Bug 1471713 - Add an animation for the tracking protection icon. r=sfoster
MozReview-Commit-ID: GBUbaoShxQi
2018-07-05 23:45:34 +02:00
Johann Hofmann
45a86780ca Bug 1474891 - Reset tracking protection state when visiting about: pages. r=ewright
MozReview-Commit-ID: CsXj95KDVaD
2018-07-11 23:41:33 +02:00
Johann Hofmann
0b1292dd60 Bug 1472535 - Put the main menu tracking protection toggle behind a pref. r=mikedeboer
This is assuming we want to pref off for 62 and pref on again for 63, simply delaying the feature by one release.

MozReview-Commit-ID: 7Q4uD7QJDFc
2018-07-09 13:09:53 +02:00
Coroiu Cristina
0d079051d4 Backed out changeset 27335463acd1 (bug 1471713) for browser-chrome failures at browser/components/uitour/test/browser_trackingProtection.js 2018-07-12 14:57:30 +03:00
Johann Hofmann
ef5fb8896a Bug 1471713 - Add an animation for the tracking protection icon. r=sfoster
MozReview-Commit-ID: GBUbaoShxQi
2018-07-05 23:45:34 +02:00
Coroiu Cristina
77c15fc6dc Backed out changeset 66d9b0f57c81 (bug 1471713) for build bustage on a CLOSED TREE 2018-07-12 10:25:04 +03:00
Johann Hofmann
68143cf08b Bug 1471713 - Add an animation for the tracking protection icon. r=sfoster
MozReview-Commit-ID: GBUbaoShxQi
2018-07-05 23:45:34 +02:00
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