WICG / page-lifecycle

Lifecycle API to support system initiated discarding and freezing
https://wicg.github.io/page-lifecycle/
Other
154 stars 12 forks source link

Editorial: frozenness states #8

Closed domenic closed 6 years ago

domenic commented 6 years ago

Right now you say that a document can be in one of two FROZENNESS states: FROZEN or UNFROZEN.

I think a more conventional way to do this would be to say that every Document object has a frozenness boolean, which gets set to true or false. In particular, you'd want there to be a specific <dfn for="Document">frozenness</dfn> concept.

Then you can talk about things like |document|'s [=Document/frozenness=] is true.

(Note: specifically trying to move away from all caps.)

spanicker commented 6 years ago

Fixed with this patch: https://github.com/WICG/page-lifecycle/commit/af1c82a746abd7b3e000693c826f094348ed87fc