mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Ignore native event listeners without a type (bug 962724); r=vporof
This commit is contained in:
parent
fc76290873
commit
8d9cdbe611
@ -1699,9 +1699,9 @@ ThreadActor.prototype = {
|
||||
// Create a form object for serializing the listener via the protocol.
|
||||
let listenerForm = Object.create(null);
|
||||
let listener = handler.listenerObject;
|
||||
// Native event listeners don't provide any listenerObject and are not
|
||||
// that useful to a JS debugger.
|
||||
if (!listener) {
|
||||
// Native event listeners don't provide any listenerObject or type and
|
||||
// are not that useful to a JS debugger.
|
||||
if (!listener || !handler.type) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user