Bug 786714 - Remove unnecessary interfaces from TCPSocket's classinfo. r=sicking
authorGlenna Buford <glennaL.buford@gmail.com>
Sun, 03 Feb 2013 15:36:00 +0000
changeset 120858 4a5f5d0ef1ffe21504b94de496498c4548a9908e
parent 120857 8eb63dccfe416911fab1fcf6a8467cfa2a6d5cdb
child 120859 1a05832bcaafa22679c1083fd582df87c8541f14
push id22453
push userjosh@joshmatthews.net
push dateTue, 05 Feb 2013 10:31:59 +0000
treeherdermozilla-inbound@4a5f5d0ef1ff [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssicking
bugs786714
milestone21.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 786714 - Remove unnecessary interfaces from TCPSocket's classinfo. r=sicking
dom/network/src/TCPSocket.js
--- a/dom/network/src/TCPSocket.js
+++ b/dom/network/src/TCPSocket.js
@@ -588,19 +588,16 @@ TCPSocket.prototype = {
   classID: Components.ID("{cda91b22-6472-11e1-aa11-834fec09cd0a}"),
 
   classInfo: XPCOMUtils.generateCI({
     classID: Components.ID("{cda91b22-6472-11e1-aa11-834fec09cd0a}"),
     contractID: "@mozilla.org/tcp-socket;1",
     classDescription: "Client TCP Socket",
     interfaces: [
       Ci.nsIDOMTCPSocket,
-      Ci.nsIDOMGlobalPropertyInitializer,
-      Ci.nsIObserver,
-      Ci.nsISupportsWeakReference
     ],
     flags: Ci.nsIClassInfo.DOM_OBJECT,
   }),
 
   QueryInterface: XPCOMUtils.generateQI([
     Ci.nsIDOMTCPSocket,
     Ci.nsITCPSocketInternal,
     Ci.nsIDOMGlobalPropertyInitializer,