Re: [dev-servo] Per-document event queues

2015-07-21 Thread James Graham
On 21/07/15 15:31, Josh Matthews wrote: This appears to satisfy the requirements of the spec (c.f. https://html.spec.whatwg.org/multipage/webappapis.html#processing-model-9 & https://html.spec.whatwg.org/multipage/webappapis.html#task-source). My main concern is the loss of deterministic orderin

[dev-servo] Per-document event queues

2015-07-21 Thread Josh Matthews
We currently have a model where each eTLD has a separate event queue. This is an improvement over Gecko (one event queue to rule them all), but I suspect we can do better. Specifically, I'm interested in moving to isolated event queues per document, then doing round-robin event processing on ea