Re: [w3c/ServiceWorker] Avoid array manipulation in parallel (#1243)

> is it fine to create objects without specifying a realm before going in parallel?

"yes".  At that point there is a well-defined current realm.  It's not the context object's; it's that of the function that was called.  Since JS object creation uses the current realm, if there is one, you're good for creating JS things.

For platform objects, you generally need to specify the realm, though there has been some talk of defaulting to the context object's realm somehow.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1243#issuecomment-350023412

Received on Thursday, 7 December 2017 16:39:08 UTC