Bug 1326494 - Remove some remaining nsISupportsArray references in Seamonkey. r+a=IanN
authoraceman <acelists@atlas.sk>
Wed, 01 Mar 2017 16:12:00 +0100
changeset 21252 e32e7215e0e726eeef616940d4e57b3db70755e6
parent 21251 04a1176052ddeab18e98a680dc90b55502c1eaf0
child 21253 463a141f321cbadeb7b9d143fd288d32525ebaab
push id12907
push usermozilla@jorgk.com
push dateFri, 03 Mar 2017 00:15:51 +0000
treeherdercomm-central@e32e7215e0e7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1326494
Bug 1326494 - Remove some remaining nsISupportsArray references in Seamonkey. r+a=IanN
suite/browser/pageinfo/pageInfo.js
suite/common/directory/directory.js
--- a/suite/browser/pageinfo/pageInfo.js
+++ b/suite/browser/pageinfo/pageInfo.js
@@ -212,17 +212,16 @@ var gImageHash = { };
 
 // localized strings (will be filled in when the document is loaded)
 // this isn't all of them, these are just the ones that would otherwise have been loaded inside a loop
 var gStrings = { };
 var gBundle;
 
 const DRAGSERVICE_CONTRACTID    = "@mozilla.org/widget/dragservice;1";
 const TRANSFERABLE_CONTRACTID   = "@mozilla.org/widget/transferable;1";
-const ARRAY_CONTRACTID          = "@mozilla.org/supports-array;1";
 const STRING_CONTRACTID         = "@mozilla.org/supports-string;1";
 
 // a number of services I'll need later
 // the cache services
 const OPEN_READONLY = Components.interfaces.nsICacheStorage.OPEN_READONLY;
 const ENTRY_WANTED = Components.interfaces.nsICacheEntryOpenCallback.ENTRY_WANTED;
 const LoadContextInfo = Components.classes["@mozilla.org/load-context-info-factory;1"]
                                   .getService(Components.interfaces.nsILoadContextInfoFactory);
--- a/suite/common/directory/directory.js
+++ b/suite/common/directory/directory.js
@@ -6,17 +6,17 @@
 /*
    Script for the directory window
 */
 
 const RDFSERVICE_CONTRACTID     = "@mozilla.org/rdf/rdf-service;1";
 const DRAGSERVICE_CONTRACTID    = "@mozilla.org/widget/dragservice;1";
 const TRANSFERABLE_CONTRACTID   = "@mozilla.org/widget/transferable;1";
 const XULSORTSERVICE_CONTRACTID = "@mozilla.org/xul/xul-sort-service;1";
-const ARRAY_CONTRACTID          = "@mozilla.org/mutable-array;1";
+const ARRAY_CONTRACTID          = "@mozilla.org/array;1";
 const WSTRING_CONTRACTID        = "@mozilla.org/supports-string;1";
 
 const NC_NS                 = "http://home.netscape.com/NC-rdf#";
 const NC_NAME               = NC_NS + "Name";
 const NC_URL                = NC_NS + "URL";
 const NC_LOADING            = NC_NS + "loading";
 
 const nsIHTTPIndex          = Components.interfaces.nsIHTTPIndex;