- From: WangW_intel <notifications@github.com>
- Date: Mon, 06 Jan 2020 22:03:49 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 7 January 2020 06:03:51 UTC
In chromium, the registrations returned by getRegistrations() are composed of two parts ([the corresponding code](https://source.chromium.org/chromium/chromium/src/+/master:content/browser/service_worker/service_worker_storage.cc;drc=196c6eb73caf76a9ad3921b0e2d889a4809e3d78;l=1369?originalUrl=https:%2F%2Fcs.chromium.org%2F)): stored registrations and unstored registrations. These two parts are inserted into the same vector and then return the vector. I think before return the vector, we can sort it by registration.scope using simple lexicographical order. Is it OK? -- 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-571449174
Received on Tuesday, 7 January 2020 06:03:51 UTC