Re: jsinterop and Scheduler.scheduleFinally

2016-09-16 Thread Pavel Kakolin
> > Are you sure it's *never* executed? (vs. executed in the "finally" of > another, later "event"?) > In our synthetic test with one element and one event listener, yes, it's never executed. If we add another event listener in the old way eg using Window#addResizeHandler, then command

Re: jsinterop and Scheduler.scheduleFinally

2016-09-16 Thread Thomas Broyer
On Friday, September 16, 2016 at 2:54:20 PM UTC+2, Pavel Kakolin wrote: > > Imagine an @JsType(isNative = true) EventTarget (basically Element) with > @JsMethod addEventListener(final String type, final EventListener > listener). > > We have a "mousedown" event listener and inside that listener

jsinterop and Scheduler.scheduleFinally

2016-09-16 Thread Pavel Kakolin
Imagine an @JsType(isNative = true) EventTarget (basically Element) with @JsMethod addEventListener(final String type, final EventListener listener). We have a "mousedown" event listener and inside that listener we call