Result of reaching the end of a cursor should be 'null'

RESOLVED FIXED in mozilla16

Status

()

Core
DOM: IndexedDB
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: sicking, Assigned: khuey)

Tracking

Trunk
mozilla16
x86
Mac OS X
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

When iterating a cursor and reaching the end and we fire onsuccess, the .result should be set to 'null' (currently we set it to 'undefined')
See step 3 at

http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#cursor-iteration-operation
Created attachment 631058 [details] [diff] [review]
Patch
Assignee: nobody → khuey
Status: NEW → ASSIGNED
Attachment #631058 - Flags: review?(jonas)
Attachment #631058 - Flags: review?(jonas) → review+
https://hg.mozilla.org/mozilla-central/rev/5891cc95eac7
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Duplicate of this bug: 765412
You need to log in before you can comment on or make changes to this bug.