Closed Bug 1595085 Opened 5 years ago Closed 5 years ago

Implement use of preloaded elements with IDBCursor.continuePrimaryKey

Categories

(Core :: Storage: IndexedDB, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: sg, Assigned: ssengupta)

Details

Attachments

(1 file)

Currently, at https://searchfox.org/mozilla-central/rev/524bed6dfbc5ae21c62632d83b7573448b29e0ac/dom/indexedDB/ActorsChild.cpp#3364, the cached cursor entries are invalidated when IDBCursor.continuePrimaryKey is called. This behaviour should be improved. We need to implement the logic from ActorsParent.cpp to skip over the intermediate entries based on the params.get_ContinuePrimaryKeyParams() here.

Priority: -- → P3
Assignee: nobody → ssengupta
Pushed by btara@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7aff50c10a47
BackgroundCursorChild::SendContinueInternal discards cached responses conditionally also for ContinuePrimaryKey r=sg
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: