Closed Bug 759970 Opened 8 years ago Closed 8 years ago

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

Categories

(Core :: Storage: IndexedDB, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: sicking, Assigned: khuey)

References

Details

Attachments

(1 file)

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')
Attached patch PatchSplinter Review
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
Closed: 8 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
You need to log in before you can comment on or make changes to this bug.