mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 854888, don't warn when GetContextForEventHandlers fails, r=smaug
This commit is contained in:
parent
56e7eee9c7
commit
d130be9b6c
@ -3073,7 +3073,13 @@ nsCxPusher::Push(EventTarget *aCurrentTarget)
|
||||
nsresult rv;
|
||||
nsIScriptContext* scx =
|
||||
aCurrentTarget->GetContextForEventHandlers(&rv);
|
||||
#ifdef DEBUG_smaug
|
||||
NS_ENSURE_SUCCESS(rv, false);
|
||||
#else
|
||||
if(NS_FAILED(rv)) {
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!scx) {
|
||||
// The target may have a special JS context for event handlers.
|
||||
|
Loading…
Reference in New Issue
Block a user