[w3c/ServiceWorker] Object equality of service worker registrations (#1420)

The spec says these are [NewObject], but the tests and implementation (in Chrome at least) seem to suggest that the same registration is returned in a given realm if it represents the same underlying registration.

@mattto is this correct? Are there cases where we'd create two registration objects for the same registration?

Using a single object makes sense. If it's what browsers and the tests are doing, we should update the spec.

-- 
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/1420

Received on Thursday, 6 June 2019 10:04:45 UTC