w3c / compute-pressure

A web API proposal that provides information about available compute capacity
https://www.w3.org/TR/compute-pressure/
Other
70 stars 10 forks source link

Use dictionary notation when referring to PressureRecord members #133

Closed rakuco closed 2 years ago

rakuco commented 2 years ago

PressureRecord is a dictionary, which is basically an ordered map.

As such, I'd expect the spec to refer to its members using the ordered map notation (foo["bar"] instead of foo.bar).

rakuco commented 2 years ago

While at it: a dictionary has members, not attributes, so the term should be updated in the subsections of https://wicg.github.io/compute-pressure/#the-pressurerecord-dictionary

kenchris commented 2 years ago

Please have a look @rakuco