Bug 16469 - storage event for clear() is defined to have |key| set to null, but |key| is not nullable
storage event for clear() is defined to have |key| set to null, but |key| is ...
Status: CLOSED FIXED
Product: WebAppsWG
Classification: Unclassified
Component: Web Storage (editor: Ian Hickson)
unspecified
Other other
: P3 normal
: ---
Assigned To: Ian 'Hixie' Hickson
public-webapps-bugzilla
http://www.whatwg.org/specs/web-apps/...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-21 19:14 UTC by contributor
Modified: 2012-04-03 20:02 UTC (History)
5 users (show)

See Also:


Attachments
Patch (941 bytes, patch)
2012-03-26 19:13 UTC, Ms2ger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description contributor 2012-03-21 19:14:30 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/webstorage.html
Multipage: http://www.whatwg.org/C#the-storage-event
Complete: http://www.whatwg.org/c#the-storage-event

Comment:
storage event for clear() is defined to have |key| set to null, but |key| is
not nullable

Posted from: 81.242.178.33 by ms2ger@gmail.com
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0a1) Gecko/20120108 Firefox/12.0a1
Comment 1 Ms2ger 2012-03-21 19:15:25 UTC
Opera and Gecko return the empty string, Chrome does null.
Comment 2 Ms2ger 2012-03-23 20:32:28 UTC
(In reply to comment #1)
> Opera and Gecko return the empty string, Chrome does null.

Or the other way around
Comment 3 Ms2ger 2012-03-26 19:13:16 UTC
Created attachment 1106 [details]
Patch
Comment 4 contributor 2012-04-02 21:40:03 UTC
Checked in as WHATWG revision r7044.
Check-in comment: This member should be nullable, since we null it sometimes.
http://html5.org/tools/web-apps-tracker?from=7043&to=7044