Bug 1593509 - Fix typo in SocialTracking.isBlocking. r=xeonchen
authorNihanth Subramanya <nhnt11@gmail.com>
Mon, 04 Nov 2019 09:48:37 +0000
changeset 500354 534738aa34c02f105cf747ba0eff4183b0274798
parent 500353 fd4162c901030d6fc1da35cca16cc8a2b433a9c9
child 500355 02e649724d8194a7e86e5761d1fde3b4b1fb4b32
push id99544
push usernhnt11@gmail.com
push dateMon, 04 Nov 2019 12:45:11 +0000
treeherderautoland@02e649724d81 [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 &