- From: Boris Zbarsky <notifications@github.com>
- Date: Tue, 14 Mar 2017 17:23:01 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 15 March 2017 00:23:35 UTC
In general, staying in the same realm when you go parallel makes sense. The main footguns with object creation after going parallel are: 1. Your global can get torn down around you (e.g. `iframe.remove()`). It still exists, but maybe not in the state you expect it to be in. 2. If the object creation has observable side-effects, or is otherwise synchronously observable, it needs to happen off a task, not directly in the parallel section. Apart from that, using the same global unless explicitly stated otherwise makes sense to me. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/135#issuecomment-286603543
Received on Wednesday, 15 March 2017 00:23:35 UTC