- From: Boris Zbarsky <notifications@github.com>
- Date: Mon, 04 Dec 2017 14:00:43 +0000 (UTC)
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 4 December 2017 14:01:17 UTC
https://w3c.github.io/ServiceWorker/#navigator-service-worker-getRegistrations is manipulating "arrays" in parallel steps. The only "arrays" around in the web platform are ES Arrays, which is presumably what it's working with, since it then proceeds to resolve promises with some of these "arrays". It's not OK to touch ES arrays in parallel. Further, operations like adding to the array need to be carefully specified in terms of how it's actually done (defineProperty call? A property set? Something else?). If these are meant to be infra Lists per https://infra.spec.whatwg.org/#lists that should be made explicit. Then the promise resolution bits need to be made a bit more explicit, possibly (e.g. how an Array is produced from the List). -- 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/issues/1241
Received on Monday, 4 December 2017 14:01:17 UTC