Bug 452317 - FeedConverter.js: QueryInterface should throw NS_ERROR_NO_INTERFACE, not NS_ERROR_NOT_IMPLEMENTED, r=gavin

This commit is contained in:
Phil Ringnalda 2008-09-27 20:20:48 -07:00
parent 184d418a86
commit e6b3f8b7de

View File

@ -392,7 +392,7 @@ var FeedConverterFactory = {
if (iid.equals(Ci.nsIFactory) || if (iid.equals(Ci.nsIFactory) ||
iid.equals(Ci.nsISupports)) iid.equals(Ci.nsISupports))
return this; return this;
throw Cr.NS_ERROR_NOT_IMPLEMENTED; throw Cr.NS_ERROR_NO_INTERFACE;
}, },
}; };