Closed Bug 1486676 Opened 7 years ago Closed 7 years ago

Conflicting content in code examples on IDBTransaction event handlers

Categories

(Developer Documentation Graveyard :: API: IndexedDB, enhancement, P1)

All
Other
enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: harmonytan7, Assigned: cmills)

References

()

Details

:: Developer Documentation Request Request Type: Correction Gecko Version: unspecified Technical Contact: :: Details Code example on https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction line 40 conflicts with code example on https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/oncomplete line 39. I'm new to IndexedDB and I need this to be accurate as I'm unsure whether I should use a callback function in the IDBTransaction.onsuccess, IDBTransaction.oncomplete, or objectStoreRequest.onsuccess event handlers.
Assignee: nobody → cmills
Priority: -- → P1
Sorry for the confusion. It should be transaction/oncomplete. I've fixed the instance that was wrong.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.