Commit 983bf9e
committed
Add a task queue and use it for scheduling.
This adds a parallel task queue and uses it to schedule all events,
rather than using "in parallel" a lot. This makes it easier to reason
about the ordering of events.
In addition it makes all events happens as part of a task. This seems
likely to match implementations where events will presumably be
triggered from event listeners rather than synchronously as in the
spec at present. It also means that we don't need the event
suppression hack to ensure that navigation commands return before
related events are emitted.1 parent fbafbf3 commit 983bf9e
1 file changed
+149
-128
lines changed
0 commit comments