Bug 1593509 - Fix typo in SocialTracking.isBlocking. r=xeonchen
authorNihanth Subramanya <nhnt11@gmail.com>
Mon, 04 Nov 2019 09:48:37 +0000
changeset 500337 534738aa34c02f105cf747ba0eff4183b0274798
parent 500336 fd4162c901030d6fc1da35cca16cc8a2b433a9c9
child 500338 02e649724d8194a7e86e5761d1fde3b4b1fb4b32
push id36763
push userrmaries@mozilla.com
push dateMon, 04 Nov 2019 21:44:06 +0000
treeherdermozilla-central@75a7a3400888 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersxeonchen
bugs1593509
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1593509 - Fix typo in SocialTracking.isBlocking. r=xeonchen Differential Revision: https://phabricator.services.mozilla.com/D51538
browser/base/content/browser-siteProtections.js
--- a/browser/base/content/browser-siteProtections.js
+++ b/browser/base/content/browser-siteProtections.js
@@ -1018,17 +1018,17 @@ var SocialTracking = {
   },
 
   isBlocking(state) {
     let socialtrackingContentBlocked =
       (state &
         Ci.nsIWebProgressListener.STATE_BLOCKED_SOCIALTRACKING_CONTENT) !=
       0;
     let socialtrackingCookieBlocked =
-      (state & Ci.nsIWebProgressListener.STATE_BLOCKED_COOKIES_SOCIALTRACKER) !=
+      (state & Ci.nsIWebProgressListener.STATE_COOKIES_BLOCKED_SOCIALTRACKER) !=
       0;
     return socialtrackingCookieBlocked || socialtrackingContentBlocked;
   },
 
   isAllowing(state) {
     if (this.socialTrackingProtectionEnabled) {
       return (
         (state &