Re: [whatwg] question about Web Storage setItem()'s behavior

2009-08-12 Thread
(undefined) On Wed, Aug 12, 2009 at 4:10 PM, Ian Hicksoni...@hixie.ch wrote: On Sun, 2 Aug 2009, Jeremy Orlow wrote: On Sun, Aug 2, 2009 at 7:17 PM, 白石俊平 shumpei.shirai...@gmail.com wrote: I'm implementing the HTML5 Web Storage using Gears (http://code.google.com/p/gear5/), so I have several

Re: [whatwg] question about Web Storage setItem()'s behavior

2009-08-12 Thread
I believe WebIDL says that a TypeError exception should be thrown, but it was not immediately obvious to me how to derive this from the spec. Ok, I understood what behavior is correct (and that current webkit's behavior is a bit wrong). very thanks. On Wed, Aug 12, 2009 at 5:34 PM, Ian

[whatwg] question about Web Storage setItem()'s behavior

2009-08-02 Thread
Hi, I'm implementing the HTML5 Web Storage using Gears (http://code.google.com/p/gear5/), so I have several questions with the spec. -Storage.setItem(key, val) --is key allowed non-string type object? --and when pass non-string object to key/value, is it automatically converted to string?(I'm

Re: [whatwg] question about Web Storage setItem()'s behavior

2009-08-02 Thread
Hi, OK, I'll check the Safari4's implementation. Very thanks, Jeremy. On Mon, Aug 3, 2009 at 11:41 AM, Jeremy Orlowjor...@chromium.org wrote: On Sun, Aug 2, 2009 at 7:17 PM, 白石俊平 shumpei.shirai...@gmail.com wrote: Hi, I'm implementing the HTML5 Web Storage using Gears (http