Bug 1521671 - Follow-up for specialTabs.js. r=mkmelin
authorJorg K <jorgk@jorgk.com>
Tue, 22 Jan 2019 21:50:46 +0100
changeset 34274 ebda63c9e0b19eadccae7fd6e873d3f894901a5c
parent 34273 9e7712f9a4d22412056ca728cf4d72412706d23d
child 34275 d12f961a202e25d7678079218e797e4d990392a1
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
reviewersmkmelin
bugs1521671
Bug 1521671 - Follow-up for specialTabs.js. r=mkmelin
mail/base/content/specialTabs.js
--- a/mail/base/content/specialTabs.js
+++ b/mail/base/content/specialTabs.js
@@ -167,16 +167,18 @@ tabProgressListener.prototype = {
       this.mTab.security.setAttribute("level", level);
       this.mTab.security.hidden = false;
     } else {
       this.mTab.security.hidden = true;
       this.mTab.security.removeAttribute("level");
     }
   },
   onContentBlockingEvent(aWebProgress, aRequest, aEvent) {
+    if (this.mProgressListener)
+      this.mProgressListener.onContentBlockingEvent(aWebProgress, aRequest, aEvent);
   },
   onRefreshAttempted(aWebProgress, aURI, aDelay, aSameURI) {
     if (this.mProgressListener)
       this.mProgressListener.onRefreshAttempted(aWebProgress, aURI, aDelay,
         aSameURI);
   },
   QueryInterface: ChromeUtils.generateQI([Ci.nsIWebProgressListener,
                                           Ci.nsIWebProgressListener2,