mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 877760 - XPConnect always logs an error when a component doesn't implement a method. r=mrbkap
This commit is contained in:
parent
4c06e0d593
commit
3a3067bb7b
@ -1012,6 +1012,11 @@ nsXPCWrappedJSClass::CheckForException(XPCCallContext & ccx,
|
||||
!strcmp(aPropertyName, "getInterface")) {
|
||||
reportable = false;
|
||||
}
|
||||
|
||||
// More special case, see bug 877760.
|
||||
if (e_result == NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED) {
|
||||
reportable = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Try to use the error reporter set on the context to handle this
|
||||
|
Loading…
Reference in New Issue
Block a user