Commit graph

44 commits

Author SHA1 Message Date
Johann Hofmann
e4580d39d9 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

--HG--
extra : rebase_source : 3ace3cd4f99094edf3c678c56a39adebdc37d1f3
2018-07-18 16:33:06 +02:00
Brian Grinstead
a2384c2234 Bug 1475304 - Remove broadcasters that only have one observer;r=Gijs,johannh
MozReview-Commit-ID: KbYBy2RjK1i

--HG--
extra : rebase_source : 285700446cd9c183fbf6589d461c88b755d4af8c
2018-07-16 11:47:58 -07:00
Johann Hofmann
45ac034b6e Bug 1471713 - Add an animation for the tracking protection icon. r=sfoster
MozReview-Commit-ID: GBUbaoShxQi

--HG--
extra : rebase_source : 60040607f91cd0477fbf98c49b77b8ee09112a17
2018-07-05 23:45:34 +02:00
Johann Hofmann
957ac4d783 Bug 1474891 - Reset tracking protection state when visiting about: pages. r=ewright
MozReview-Commit-ID: CsXj95KDVaD

--HG--
extra : rebase_source : b1a197ac1eb452e3ce55c998ae7dc6075761767f
2018-07-11 23:41:33 +02:00
Johann Hofmann
17c3a96af9 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

--HG--
extra : rebase_source : 5839daaac17384fdca8969e750af2bb76b6403fb
2018-07-09 13:09:53 +02:00
Coroiu Cristina
d429af947c 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
365f7536ea Bug 1471713 - Add an animation for the tracking protection icon. r=sfoster
MozReview-Commit-ID: GBUbaoShxQi

--HG--
extra : rebase_source : 2d101873b071911763a0ccd7574cbc04026cc89f
2018-07-05 23:45:34 +02:00
Coroiu Cristina
d1d4997c18 Backed out changeset 66d9b0f57c81 (bug 1471713) for build bustage on a CLOSED TREE 2018-07-12 10:25:04 +03:00
Johann Hofmann
47d3860672 Bug 1471713 - Add an animation for the tracking protection icon. r=sfoster
MozReview-Commit-ID: GBUbaoShxQi

--HG--
extra : rebase_source : 1623e497e03ff178f98657a9e8d36d0692a31fe1
2018-07-05 23:45:34 +02:00
Johann Hofmann
3fe5e7fa6c 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

--HG--
extra : rebase_source : b6aae33385ed3166c59c0c8733de0a9609f05d92
2018-06-21 12:23:42 +02:00
Johann Hofmann
e338329576 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

--HG--
extra : rebase_source : 70992e27b91bfed3cce0b868b63ce3a8c0afc5d0
2018-06-21 02:10:02 +02:00
Johann Hofmann
eea47c667c 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

--HG--
extra : rebase_source : baec57bcb107cd8c6359aeeebc9bf2010116da7c
2018-06-21 02:05:08 +02:00
Johann Hofmann
3637b98ab3 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

--HG--
extra : rebase_source : 616fe197e8c994448c4eb5f9dfeafd260c2ce084
2018-05-24 13:14:16 +02:00
Johann Hofmann
7895ec735b 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

--HG--
extra : rebase_source : 328ea44b085626cc0266591cc87b17657af888ad
2018-05-24 13:12:30 +02:00
Johann Hofmann
35166c8f08 Bug 1462468 - Add a tracking protection option to the hamburger menu. r=mikedeboer
MozReview-Commit-ID: HxRljbdsRau

--HG--
extra : rebase_source : 3f3aae722ca2e1b6a28a29a5116d66bf40aa8092
2018-05-22 16:26:55 +02:00
Dorel Luca
e5fe6c3a9f Backed out changeset bc39ccd992a4 (bug 1462468) for Browser-chomre failures on browser/base/content/test/trackingUI/browser_trackingUI_appMenu.js
--HG--
extra : rebase_source : a59dba114b09502056e229c7226b32741c8414f0
2018-05-28 19:11:14 +03:00
Johann Hofmann
6e280711b9 Bug 1462468 - Add a tracking protection option to the hamburger menu. r=mikedeboer
MozReview-Commit-ID: HxRljbdsRau

--HG--
extra : rebase_source : 34f62aed6cdafe091d2105c55669b052aba45040
2018-05-22 16:26:55 +02:00
Florian Quèze
1158645bdd Bug 592653 - script-generated patch to replace gPrefService with Services.prefs, r=Standard8. 2017-12-19 23:45:10 +01:00
Christoph Kerschbaumer
1b0622cda9 Bug 1375023 - Have switchToTabHavingURI() provide the correct triggeringPrincipal. r=gijs,aswan 2017-06-25 14:03:06 +02:00
Florian Quèze
5e3539e504 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
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 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
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Quèze
028a82f682 Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws. 2017-01-09 20:27:25 +01:00
Jared Wein
5dd9ac0f8c 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
5250e686a6 Bug 1242525 - Enable notification on first activation of Tracking Protection in normal mode. r=past
--HG--
extra : commitid : 9E3BPA92bAH
extra : rebase_source : 016c419763a73329e7a985ccea958bce368ed020
2016-01-29 13:01:29 +00:00
Paolo Amadini
5d6adcf3b8 Bug 1231757 - Notification on first activation of Tracking Protection in normal mode. r=past
--HG--
extra : commitid : AoAhzfhqUSd
extra : rebase_source : 041cd0e64748692d5cb13cc470bc8c1c06f38095
2016-01-22 13:02:50 +00:00
Paolo Amadini
a34896b82e Bug 1236229 - The showInfo API in UITour.jsm should accept JavaScript callbacks rather than callback IDs. r=MattN
--HG--
extra : commitid : KrQccNb7qO4
extra : rebase_source : 7fa489d00a4781cb6fd2fab15bd2c4006d673386
2016-01-05 14:04:49 +00:00
Matthew Noorenberghe
ed06cf5e06 Bug 1229168 - UITour: Use the correct window in initForBrowser to handle windows with no tabs. r=Dexter
--HG--
extra : commitid : KqRYnsV6Z9M
extra : rebase_source : 3149ba3d9b48cb284607fa14a60dd645c686d359
2015-12-02 15:26:23 -08:00
Felipe Gomes
909d49249d Bug 1228627 - Remove #includes from browser.js. r=Gijs 2015-11-30 12:13:57 -02:00
Panos Astithas
96055a5baa 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
64db2267cf 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
b9d0dc39cc Bug 1189928 - Disable Tracking Protection telemetry in private browsing mode;r=MattN
--HG--
extra : commitid : ZwNOUYFlDK
2015-08-04 07:41:20 -07:00
Brian Grinstead
0e5ccbaee8 Bug 1189928 - Move Tracking Protection shield probe into browser-trackingprotection.js;r=MattN
--HG--
extra : commitid : 33AkDyE03FE
2015-08-04 07:41:19 -07:00
Tim Taubert
eb3398ce02 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
398e652b24 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
a160cc3e58 Bug 1187022 - Add hover tooltip for tracking protection shield icon;r=MattN
--HG--
extra : commitid : KxZ3gqOI83Z
2015-07-23 20:37:17 -07:00
Brian Grinstead
15d13d435f Bug 1175858 - Tracking Protection shield should be animated in when content is blocked on the page;r=MattN
--HG--
extra : commitid : ALRSvWjuFe7
2015-07-23 13:55:32 -07:00
Matthew Noorenberghe
7a0a967dcb Bug 1177162 - Show an info panel on the tracking protection doorhanger anchor the first time tracking elements are blocked. r=bgrins,ttaubert
--HG--
extra : commitid : 2Ugx7ZBWIfj
extra : rebase_source : e8f37f6e693340979c2199cd7869bae849070d69
2015-07-16 13:38:20 -07:00
Michael Layzell
a30ff0929b 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
ad3baf083b Bug 1175689 - Group the existing site identity URL bar icon with the tracking protection shield when TP is enabled. r=ttaubert
--HG--
extra : commitid : FQyIE2IzaKI
extra : rebase_source : ccf7542df7b3b6542b89fb3c5566000dd14645ff
2015-07-13 18:38:13 +01:00
Brian Grinstead
20cdff0134 Bug 1178985 - Show tracking protection section in control center when enabled in private browsing mode;r=ttaubert
--HG--
extra : commitid : BOvYMkPSkBl
2015-07-09 16:19:30 -07:00
Michael Layzell
6265522c59 Bug 1170200 - Part 2: Update JavaScript consumers of nsIPermissionManager::Remove; r=ehsan 2015-07-03 17:12:27 -04:00
Brian Grinstead
9669f268c9 Bug 1175327 - Move existing Tracking Protection functionality from shield doorhanger to Control Center;r=ttaubert
--HG--
extra : commitid : 7qOU4Qysqqt
2015-06-30 14:02:39 -07:00