Re: [w3c/ServiceWorker] Why is the scope to registration map and ordered map? (#1225)

Yeah, the notes in the infra spec around ordered maps/sets probably apply here (i.e. the right question to try to answer isn't "why is it an ordered map", but instead "why shouldn't it be an ordered map"):

"Almost all cases on the web platform require an ordered set, instead of an unordered one, since interoperability requires that any developer-exposed enumeration of the set’s contents be consistent between browsers. In those cases where order is not important, we still use ordered sets; implementations can optimize based on the fact that the order is not observable."

-- 
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/1225#issuecomment-344404714

Received on Tuesday, 14 November 2017 21:29:18 UTC