зеркало из https://github.com/mozilla/gecko-dev.git
Bug #67481 --> our JS object needs to implement nsIWeakReference
sr=sspitzer/alecf r=blake a=asa
This commit is contained in:
Родитель
fd197c0951
Коммит
5f4d1fbfb0
|
@ -186,6 +186,13 @@ var progressListener = {
|
|||
},
|
||||
onSecurityChange: function(aWebProgress, aRequest, state)
|
||||
{
|
||||
},
|
||||
QueryInterface : function(iid)
|
||||
{
|
||||
if (iid.equals(Components.interfaces.nsIWebProgressListener) || iid.equals(Components.interfaces.nsISupportsWeakReference))
|
||||
return this;
|
||||
|
||||
throw Components.results.NS_NOINTERFACE;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче