[whatwg] Storage.getItem() question

Hello all,

Currently the web apps spec states the following about the getItem() method:

--
The getItem(key) method must return the StorageItem object representing 
the key/value pair with the given key. If the given key does not exist 
in the list associated with the object, or is not accessible, then this 
method must return null. Subsequent calls to this method with the same 
key must return different instances of the StorageItem  interface.
--

The first sentence makes sense, but the last one conflicts with the 
first one and doesn't make sense to me. Why would each call to getItem() 
for the same key need to return a separate instance of the StorageItem 
interface?

-- 
jst

Received on Thursday, 4 May 2006 15:25:29 UTC