Re: [w3c/ServiceWorker] Should the order of registrations returned by getRegistrations() be sorted by scope? (#1465)

To summarize the current situation:

1. Spec: insertion order
2. Firefox: Sort by length first, with insertion-order to break ties
3. WebKit: insertion order
4. Chrome: no intended order

I'm leaning toward insertion order as the one with least changes. For the tests that actually test the order, we'd have to make sure to set up the test correctly, as @asutherland mentions there are parallel tasks on unspecified task sources.

But I don't feel strongly. cc @jakearchibald @jungkees 

-- 
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/1465#issuecomment-573964059

Received on Tuesday, 14 January 2020 02:06:07 UTC