Bug 1447341 - make page-icon protocol handler support weak referencing, r=mak
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 17 Apr 2018 15:40:25 +0100
changeset 467806 388d0887f62b561b10608a2e7ffb8581e6077a15
parent 467805 d4e360e27b2ff3b72344d6cd74e254202ef718bc
child 467807 8b951bb045214b011120d5d6f3a20991dc99d021
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmak
bugs1447341
milestone61.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 1447341 - make page-icon protocol handler support weak referencing, r=mak MozReview-Commit-ID: EpPJl89Gi1v
toolkit/components/places/PageIconProtocolHandler.js
--- a/toolkit/components/places/PageIconProtocolHandler.js
+++ b/toolkit/components/places/PageIconProtocolHandler.js
@@ -120,13 +120,14 @@ PageIconProtocolHandler.prototype = {
   },
 
   allowPort(port, scheme) {
     return false;
   },
 
   classID: Components.ID("{60a1f7c6-4ff9-4a42-84d3-5a185faa6f32}"),
   QueryInterface: XPCOMUtils.generateQI([
-    Ci.nsIProtocolHandler
+    Ci.nsIProtocolHandler,
+    Ci.nsISupportsWeakReference,
   ])
 };
 
 this.NSGetFactory = XPCOMUtils.generateNSGetFactory([PageIconProtocolHandler]);