Closed Bug 1542669 Opened 1 year ago Closed 1 year ago

LSNG: GetItem, SetItem, RemoveItem should pass the key when creating a new snapsot

Categories

(Core :: Storage: localStorage & sessionStorage, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: janv, Assigned: janv)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This is similar to bug 1513915. Currently, when we prefill a new snapshot with initial items, we ignore the key which actually triggered snapshot creation, so it can happen that there must be additional sync LoadItem call after snapshot creation. We can optimize this.

Assignee: nobody → jvarga
Blocks: 1540402
Status: NEW → ASSIGNED
Priority: -- → P2

I have a patch for this, will send it soon.

Blocks: 1547452
Depends on: 1513915
Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ad73e5604411
LSNG: GetItem, SetItem, RemoveItem should pass the key when creating a new snapsot; r=asuth
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla68 → ---
Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4294ffae23f6
LSNG: GetItem, SetItem, RemoveItem should pass the key when creating a new snapsot; r=asuth
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Blocks: 1513881
You need to log in before you can comment on or make changes to this bug.