Open Bug 1572232 Opened 6 years ago Updated 9 months ago

Flush localStorage / sessionStorage when SessionStateAggregator is flushed.

Categories

(GeckoView :: General, enhancement, P3)

70 Branch
Unspecified
All
enhancement

Tracking

(firefox70 affected)

Tracking Status
firefox70 --- affected

People

(Reporter: colormatch, Unassigned)

References

Details

(Whiteboard: [geckoview:2023?])

User Agent: Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

Currently changes to localStorage do not always get committed when app exits, when GV is closed.
( https://bugzilla.mozilla.org/show_bug.cgi?id=1536797 )

As reducing kFlushTimeoutMs may not be desirable, a request:

Flush localStorage / sessionStorage when SessionStateAggregator is flushed ( https://bugzilla.mozilla.org/show_bug.cgi?id=1538294 )

This way when we have geckoRuntime.shutdown() or geckoSession.setActive(false) the changes to localStorage won't be lost, and we can have a proper shutdown.

Dylan says he will take a look.

Assignee: nobody → droeh
Depends on: 1538294
Priority: -- → P2
See Also: → 1536797
Rank: 20

The bug assignee didn't login in Bugzilla in the last 7 months.
:amoya, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: droeh → nobody
Flags: needinfo?(amoya)

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: P2 → P3
Whiteboard: [geckoview:2023?]
Flags: needinfo?(amoya)
Severity: normal → S3
Rank: 20 → 333

Tasks and enhancements should have severity N/A.

Severity: S3 → N/A
You need to log in before you can comment on or make changes to this bug.