Closed Bug 1764696 Opened 3 years ago Closed 3 years ago

Replace dom.storage.next_gen with a new pref

Categories

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

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: janv, Assigned: janv)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

It's currently quite easy to disable LSNG (switch to the legacy implementation) using the dom.storage.next_gen pref. We want to disable shadow writes soon, but that in a combination with disabling of LSNG could lead to a data loss. So I propose to replace the existing pref with a new pref. The name of the new pref (and a potential comment for that) should express that the legacy implementation is now unsupported.

Depends on D143688

LSNG is now enabled by default, so the auto enabling is not needed anymore.

Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/01ab94b42c7c Remove automatic enabling of LSNG; r=dom-storage-reviewers,jstutte https://hg.mozilla.org/integration/autoland/rev/7e4e247bd7f5 Replace dom.storage.next_gen with a new pref; r=dom-storage-reviewers,jstutte https://hg.mozilla.org/integration/autoland/rev/2549624443ab Adjust some tests for new pref; r=dom-storage-reviewers,jstutte
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: