Bug 125735 Sidebar.getInterfaces should return the list of interfaces it supports
r=sgehani sr=jag git-svn-id: svn://10.0.0.236/trunk@114815 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user