Bug 125735 Sidebar.getInterfaces should return the list of interfaces it supports

r=sgehani sr=jag
This commit is contained in:
timeless%mac.com 2002-02-18 22:47:25 +00:00
parent 6764920b96
commit defd3d57d1

View File

@ -332,10 +332,14 @@ nsSidebar.prototype.flags = nsIClassInfo.DOM_OBJECT;
nsSidebar.prototype.classDescription = "Sidebar";
// method of nsIClassInfo
nsSidebar.prototype.getInterfaces = function(c) {c.value = 0; return null;}
nsSidebar.prototype.getInterfaces = function(count) {
var interfaceList = [nsISidebar, nsIClassInfo];
count.value = interfaceList.length;
return interfaceList;
}
// method of nsIClassInfo
nsSidebar.prototype.getHelperForLanguage = function() {return null;}
nsSidebar.prototype.getHelperForLanguage = function(count) {return null;}
nsSidebar.prototype.QueryInterface =
function (iid) {