W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

[Bug 12111] spec for Storage object getItem(key) method does not match implementation behavior

From: <bugzilla@jessica.w3.org>
Date: Wed, 01 Jun 2011 20:19:02 +0000
To: public-webapps@w3.org
Message-Id: <E1QRrsc-0007L7-0X@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12111

Aryeh Gregor <Simetrical+w3cbug@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |Simetrical+w3cbug@gmail.com
         Resolution|REMIND                      |

--- Comment #3 from Aryeh Gregor <Simetrical+w3cbug@gmail.com> 2011-06-01 20:19:01 UTC ---
I seriously doubt the specced behavior is web-compatible.  For instance, I
myself just discovered this when trying to store booleans in localStorage, and
worked around it by testing localStorage["foo"] != "false".  If
localStorage["foo"] = false suddenly actually sets it to false instead of
"false", this will break.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Wednesday, 1 June 2011 20:19:03 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:45 GMT