mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1096011. Warning when failing to create a JS implemntation for a Web IDL binding should include the implementation contract. r=peterv
This commit is contained in:
parent
18dda4a9ef
commit
4e05fcb08b
@ -2089,7 +2089,9 @@ ConstructJSImplementation(JSContext* aCx, const char* aContractId,
|
||||
nsresult rv;
|
||||
nsCOMPtr<nsISupports> implISupports = do_CreateInstance(aContractId, &rv);
|
||||
if (!implISupports) {
|
||||
NS_WARNING("Failed to get JS implementation for contract");
|
||||
nsPrintfCString msg("Failed to get JS implementation for contract \"%s\"",
|
||||
aContractId);
|
||||
NS_WARNING(msg.get());
|
||||
aRv.Throw(rv);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user