W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2010

localStorage Event

From: Jared Morse <jarcoal@gmail.com>
Date: Thu, 28 Jan 2010 11:34:01 -0800
Message-ID: <19e6d9a31001281134r6b6e6394tf2f144635f53b86c@mail.gmail.com>
To: public-webapps@w3.org
Hi, I have a concern about the web storage event spec (

The spec states:
"When the setItem(), removeItem(), and clear()  methods are called on a
Storage object x that is associated with a local storage area, if the
methods did something, then in every HTMLDocument object whose Window
object's localStorage attribute's Storage object is associated with the same
storage area, other than x, a storage event must be fired..."

My concern lies with the "other than x" part.  Unless I'm missing something,
these events would be even more useful if they also fired in the
HTMLDocument that initially made the storage call.

Thanks for your time.

Received on Thursday, 28 January 2010 21:35:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:04 UTC