Re: [whatwg] Storage Events for a Specific Storage Area

2009-07-13 Thread Joseph Pecoraro
We could make Storage into an EventTarget and also fire events on there, sure. As Jeremy said, this is something that might best be done in the next version; we're still trying to get the current features implemented in a stable and consistent fashion as it is. Sounds great. Although would

Re: [whatwg] Storage Events for a Specific Storage Area

2009-07-13 Thread Ian Hickson
On Wed, 17 Jun 2009, Joseph Pecoraro wrote: > > The "storage" event [1] fires for both sessionStorage and localStorage. > To me, this means if you only want to interact with localStorage you > will have to manually ensure that it is the storage area being modified: > > window.addEventListener

Re: [whatwg] Storage Events for a Specific Storage Area

2009-06-24 Thread Joseph Pecoraro
This doesn't break anything in the current spec. So it wouldn't break any existing implementations. I'm also guessing that the groundwork for implementing a feature like this is already in place due to the ubiquity of addEventListener. To be frank, it seems like a lot of bloat though to avoi

Re: [whatwg] Storage Events for a Specific Storage Area

2009-06-23 Thread Anne van Kesteren
On Tue, 23 Jun 2009 19:51:18 +0200, Joseph Pecoraro wrote: >> Jeremy Orlow: Is it too late? It seems as though Joseph's >> suggestion could be in addition to what's already in the spec. > > This doesn't break anything in the current spec. So it wouldn't break > any existing implementations. I'm

Re: [whatwg] Storage Events for a Specific Storage Area

2009-06-23 Thread Joseph Pecoraro
Jeremy Orlow: Is it too late? It seems as though Joseph's suggestion could be in addition to what's already in the spec. This doesn't break anything in the current spec. So it wouldn't break any existing implementations. I'm also guessing that the groundwork for implementing a feature li

Re: [whatwg] Storage Events for a Specific Storage Area

2009-06-23 Thread Jeremy Orlow
Is it too late? It seems as though Joseph's suggestion could be in addition to what's already in the spec. On Tue, Jun 23, 2009 at 2:54 AM, Anne van Kesteren wrote: > On Mon, 22 Jun 2009 18:45:34 +0200, Jeremy Orlow > wrote: > > Seems like a reasonable idea. I don't know if it's been brought

Re: [whatwg] Storage Events for a Specific Storage Area

2009-06-23 Thread Anne van Kesteren
On Mon, 22 Jun 2009 18:45:34 +0200, Jeremy Orlow wrote: > Seems like a reasonable idea. I don't know if it's been brought up > before. My guess is that Ian will say this should be re-examined for HTML6, > though. Seems like that would be a bit too late; given existing deployment I don't exp

Re: [whatwg] Storage Events for a Specific Storage Area

2009-06-22 Thread Alexandre Morgaut
27;origine- De : whatwg-boun...@lists.whatwg.org [mailto:whatwg-boun...@lists.whatwg.org] De la part de Joseph Pecoraro Envoyé : lundi 22 juin 2009 18:56 À : Jeremy Orlow Cc : whatwg@lists.whatwg.org Objet : Re: [whatwg] Storage Events for a Specific Storage Area > Seems like a reasonable idea.

Re: [whatwg] Storage Events for a Specific Storage Area

2009-06-22 Thread Joseph Pecoraro
Seems like a reasonable idea. I don't know if it's been brought up before. My guess is that Ian will say this should be re-examined for HTML6, though. Very cool. Let me know if I can help at all to push this idea forward. - Joe

Re: [whatwg] Storage Events for a Specific Storage Area

2009-06-22 Thread Jeremy Orlow
Seems like a reasonable idea. I don't know if it's been brought up before. My guess is that Ian will say this should be re-examined for HTML6, though. J On Fri, Jun 19, 2009 at 9:07 PM, Joseph Pecoraro wrote: > It sounds like there wasn't any discussion on this. I recently heard talk > of othe

Re: [whatwg] Storage Events for a Specific Storage Area

2009-06-19 Thread Joseph Pecoraro
It sounds like there wasn't any discussion on this. I recently heard talk of other potential Storage areas [2]. That would make this idea even more appealing to me. Does this sound like something worth adding? Any comments? [2]: http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-Ju