Closed Bug 738647 Opened 12 years ago Closed 12 years ago

DOMStorageImpl::GetKey shouldn't throw

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: Ms2ger, Assigned: Ms2ger)

References

Details

(Keywords: dev-doc-needed)

Attachments

(1 file)

Attached patch Patch v1Splinter Review
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)
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+
Blocks: 740357
Thanks!

https://hg.mozilla.org/mozilla-central/rev/80aee211b0ce
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: