W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2015

Re: CR: Web Storage (Second Edition)

From: timeless <timeless@gmail.com>
Date: Thu, 2 Jul 2015 21:38:26 -0400
Message-ID: <CACsW8eFK-cUs4m2EY2G6NsERAo_p66tS62r3mhjvXZJY+5Nkwg@mail.gmail.com>
To: "public-webapps@w3.org" <public-webapps@w3.org>

> Particpate: [sic]

> the event must have its key attribute initialised to the name of the key in question,

`initialized` [About 11,800,000 results] should be spelled as such for
w3c specs (w3c is en-us) instead of
`initialised` [About 553,000 results]

> but require the user to authorise access to local storage areas.

`authorize` [About 80,100,000 results] should be spelled as such for
w3c specs (w3c is en-us) instead of `authorise` [About 6,960,000

> Alternatives that do not require a user-agent-wide per-origin script lock are eagerly sought after.

sought-after [1]

> Each site has its own separate storage area.

area => areas | storage => local storage

> ("must", "should", "may", etc)


> If the given key does exist in the list, and its value is not equal to value, then it must have its value updated to value. If its previous value is equal to value, then the method must do nothing.
> if the methods did not throw an exception or "do nothing" as defined above

it'd be nice if the above sections underlined/otherwise styled `do nothing`.

> User agents should always avoid deleting data while a script that could access that data is running.

consider a script which does:

var global_state = window.localStorage.getItem("value");
function uses_global_state() { if (global_state == 5) { .... }}
window.setTimeout(uses_global_state, 2000000);

between the script's initial execution, and the firing of the timeout,
is the script considered to be `running`?

[1] http://dictionary.reference.com/browse/sought-after
Received on Friday, 3 July 2015 01:38:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:57 UTC