DOMStorageImpl::GetKey shouldn't throw

RESOLVED FIXED in mozilla14

Status

()

Core
DOM
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: Ms2ger, Assigned: Ms2ger)

Tracking

({dev-doc-needed})

Trunk
mozilla14
dev-doc-needed
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
Created attachment 608709 [details] [diff] [review]
Patch v1

http://www.whatwg.org/specs/web-apps/current-work/multipage/webstorage.html#dom-storage-key

| If /n/ is greater than or equal to the number of key/value pairs
| in the object, then this method must return null.

This fixes

http://w3c-test.org/webapps/WebStorage/tests/submissions/Infraware/storage_local_key_null.html
Attachment #608709 - Flags: review?(honzab.moz)
(Assignee)

Updated

6 years ago
Keywords: dev-doc-needed
Comment on attachment 608709 [details] [diff] [review]
Patch v1

Review of attachment 608709 [details] [diff] [review]:
-----------------------------------------------------------------

r=honzab

Thanks.
Attachment #608709 - Flags: review?(honzab.moz) → review+
(Assignee)

Updated

6 years ago
Duplicate of this bug: 509241
(Assignee)

Updated

6 years ago
Blocks: 740357
(Assignee)

Comment 3

6 years ago
Thanks!

https://hg.mozilla.org/mozilla-central/rev/80aee211b0ce
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
You need to log in before you can comment on or make changes to this bug.