Bug 243621 - (Back out) Standardize QueryInterface without throw, r=timeless, sr=sicking
This commit is contained in:
@@ -167,6 +167,5 @@ PROT_Application.prototype.QueryInterface = function(iid) {
|
||||
iid.equals(Ci.nsIAboutModule))
|
||||
return this;
|
||||
|
||||
Components.returnCode = Components.results.NS_ERROR_NO_INTERFACE;
|
||||
return null;
|
||||
throw Components.results.NS_ERROR_NO_INTERFACE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user