Re: Intent to implement and ship: constructible EventTarget

2017-11-20 Thread Boris Zbarsky
On 11/20/17 12:26 PM, Gijs Kruitbosch wrote: I don't see the "events" view in the current debugger in 57/58/59 anymore, but perhaps I'm not looking in the right place. Oh, right, it's not implemented in the new debugger yet... I keep forgetting that I have the new debugger disabled for precis

Re: Intent to implement and ship: constructible EventTarget

2017-11-20 Thread Gijs Kruitbosch
On 20/11/2017 17:13, Boris Zbarsky wrote: On 11/20/17 6:28 AM, Gijs Kruitbosch wrote: Devtools' inspector lets you see which DOM nodes have event listeners attached to them. It would be neat if they could provide the same support in the debugger for instances of EventTarget (or any "subclasses

Re: Intent to implement and ship: constructible EventTarget

2017-11-20 Thread Boris Zbarsky
On 11/20/17 6:28 AM, Gijs Kruitbosch wrote: Devtools' inspector lets you see which DOM nodes have event listeners attached to them. It would be neat if they could provide the same support in the debugger for instances of EventTarget (or any "subclasses"). Hmm. So there are at least three poss

Re: Intent to implement and ship: constructible EventTarget

2017-11-20 Thread Gijs Kruitbosch
On 19/11/2017 03:55, Boris Zbarsky wrote: Devtools bug: I don't think devtools need to do anything special here. Devtools' inspector lets you see which DOM nodes have event listeners attached to them. It would be neat if they could provide the same support in the debugger for instances of Eve

Intent to implement and ship: constructible EventTarget

2017-11-18 Thread Boris Zbarsky
Summary: Make it possible for web pages to do |new EventTarget|, and more importantly to create EventTarget subclasses like |class MyThing extends EventTarget| that can then have DOM events dispatched on them in the normal way, have event listeners registered with all the features browsers supp