mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-25 14:17:22 +00:00
Bug 125735 Sidebar.getInterfaces should return the list of interfaces it supports
r=sgehani sr=jag
This commit is contained in:
parent
6764920b96
commit
defd3d57d1
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user