| 07:16 | <Noam Rosenthal> | A mictotask check point only takes effect when the js stack is empty. When you call dispatchEvent from within a script you are still inside a js stack | ||||||||||||||||||||||||||||||||||||
| 07:17 | <Noam Rosenthal> | Event dispatching itself is synchronous, however most/some events are fired within their own task and the spec would say something like "queue a task to fire an event". | ||||||||||||||||||||||||||||||||||||
| 07:21 | <Noam Rosenthal> | Link to the mdn thread @yuval.rio:matrix.org? | ||||||||||||||||||||||||||||||||||||
| 07:37 | <Noam Rosenthal> | Native events are synchronous in the sense that if multiple event dispatches or callbacks or promise resolutions occur in the same task, each can observe each other's side effects in order. It is roughly "call all the event listeners and then perform a mictotask checkpoint". | ||||||||||||||||||||||||||||||||||||
| 16:46 | <mfreed> | Hi all, just a friendly reminder to post any discussion topics for this Thursday's joint CSSWG/WHATWG/OpenUI task force meeting to the meeting agenda issue: https://github.com/whatwg/html/issues/12291 | ||||||||||||||||||||||||||||||||||||
| 17:05 | <foolip> | @hsivonen:mozilla.org: we want to advance to stage 3 which requires implementer interest. Is there anything you'd still like to see across the 3 PRs in order to support stage 3?
| 17:06 | <hsivonen> foolip: I'll try to take a look tomorrow. | 17:06 | <Alan Stearns> The CSSWG has an all-day meeting on Thursday. Maybe we should cancel this one? | 18:01 | <Yuval Aloni> that's kind of what I thought - so, the phrase "event handlers are scheduled via the event loop" (in native) - would be technically wrong - you'd agree? | 18:02 | <Yuval Aloni> Link to MDN: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/dispatchEvent | 18:12 | <Noam Rosenthal> I agree that it's not the best description. I don't necessarily have an alternative off hand | 18:16 | <Yuval Aloni> would you call the event handlers invocation "asynchronous"? | 18:16 | <Yuval Aloni> I mean, would you use that term | 19:03 | <Noam Rosenthal> no | 19:04 | <Noam Rosenthal> I would say that they have their own JS stack, while calling | dispatchEvent executes the event handlers within the JS stack of the caller (or some such)19:44 | <foolip> @hsivonen:mozilla.org: thank you! | 20:24 | <smaug> And Easter is approaching. Some folks might be already away in Europe in the evening. Friday is a holiday in many places. | 21:23 | <Alan Stearns> The plan so far is to reschedule this instance to the 9th https://github.com/whatwg/html/issues/12291 | |