This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16469 - storage event for clear() is defined to have |key| set to null, but |key| is not nullable
Summary: storage event for clear() is defined to have |key| set to null, but |key| is ...
Status: CLOSED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: Web Storage (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: public-webapps-bugzilla
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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

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