Open Bug 1540402 Opened 5 years ago Updated 2 years ago

[meta] Refine LSNG (Local Storage Next Generation)

Categories

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

enhancement

Tracking

()

Tracking Status
firefox68 --- affected

People

(Reporter: janv, Unassigned)

References

(Depends on 8 open bugs)

Details

(Keywords: meta)

No description provided.
Depends on: 1540401

The goal is to fix all kinds of remaining issues like:

  • intermittent failures
  • crashes
  • hangs
  • deadlocks
  • use after free
  • missing logging for better debugging
  • performance regressions
  • other bugs
Summary: [meta] Crash free LSNG → [meta] Refine LSNG
Depends on: 1516333
Depends on: 1539538
Depends on: 1533651
Priority: -- → P3
Depends on: 1540660
Depends on: 1538255
Depends on: 1540945
Depends on: 1540948
Depends on: 1540950
Depends on: 1540952
Depends on: 1540964
Depends on: 1540966
Depends on: 1540967
Depends on: 1540970
Depends on: 1540972
Depends on: 1540974
Depends on: 1540975
Depends on: 1540977
Depends on: 1540978
Depends on: 1540980
Depends on: 1540981
Depends on: 1540295
Depends on: 1541325
Depends on: 1535371
Depends on: 1340901
Depends on: 1313401
Depends on: 1541681
Depends on: 1541676
Depends on: 1541771
Depends on: 1541772
Depends on: 1541774
Depends on: 1541775
Depends on: 1541972
Depends on: ls-shutdown-hangs
Depends on: 1541719
Depends on: 1542104
Depends on: 1498102
Depends on: 1541877
Depends on: 1542155
Depends on: 1540777
Depends on: 1541640
Depends on: 1542475
Depends on: 1542534
Depends on: 1542572
Depends on: 1541552
Depends on: 1542669
Depends on: 1542675
Depends on: 1542223
Depends on: 1542706
Summary: [meta] Refine LSNG → [meta] Refine LSNG (Local Storage Next Generation)
Depends on: 1543209
Depends on: 1544333
Depends on: 1543174
Depends on: 1546305
Depends on: 1546310
Depends on: 1546561
No longer depends on: 1534634
Depends on: 1546723
Depends on: 1542726
Depends on: 1547452
Depends on: 1547454
Depends on: 1541895
Depends on: 1547688
Depends on: 1544884
Depends on: 1548788
Depends on: 1549045
Regressions: 1549362
Depends on: 1549654
Depends on: 1548847
Depends on: 1552428
No longer depends on: 1544884
Depends on: 1554321
Depends on: 1556217
Depends on: 1558112
Depends on: 1559029
Depends on: 1559890
Depends on: 1574569
Depends on: 1583019
Depends on: 1583021
Depends on: 1585978
Depends on: 1586315
Depends on: 1586563
Depends on: 1587931
Depends on: 1589626
Depends on: 1590635
Depends on: 1590640
Depends on: 1591265
Depends on: 1591293
Depends on: 1592593
No longer depends on: 1591293
No longer depends on: 1340901
Depends on: 1598977
No longer depends on: 1313401
Depends on: 1606635

We've run headlong into this issue when implementing SSO for the latest ProtonMail beta (beta.protonmail.com). We use local storage for private keys in addition to session information. As we're working on ProtonCalendar and ProtonDrive, it's important that users can open these in new tabs without having to log in every time. Unlike for other application suites on the web, our use of end to end encryption makes this a critical issue for us and similar services. Is there anything we can do to help in getting this resolved in a timely manner?

(In reply to Robert Patchett from comment #2)

We've run headlong into this issue when implementing SSO for the latest ProtonMail beta (beta.protonmail.com). We use local storage for private keys in addition to session information. As we're working on ProtonCalendar and ProtonDrive, it's important that users can open these in new tabs without having to log in every time. Unlike for other application suites on the web, our use of end to end encryption makes this a critical issue for us and similar services. Is there anything we can do to help in getting this resolved in a timely manner?

Can you file a new bug under this bug component (the menu for the component should have an appropriate menu item) describing the situation in a little more detail? If your site is using third party iframes at all, we might expect that tracking protection would give each third party iframe a partitioned LocalStorage instance which is orthogonal to LSNG. Or if you are using private browsing mode (possibly via permanent private browsing mode), that's definitely a thing.

(In reply to Andrew Sutherland [:asuth] (he/him) from comment #3)

Can you file a new bug under this bug component (the menu for the component should have an appropriate menu item) describing the situation in a little more detail? If your site is using third party iframes at all, we might expect that tracking protection would give each third party iframe a partitioned LocalStorage instance which is orthogonal to LSNG. Or if you are using private browsing mode (possibly via permanent private browsing mode), that's definitely a thing.

Hi Andrew, thanks for the response. Here is the requested bug report with more detail: https://bugzilla.mozilla.org/show_bug.cgi?id=1669437. Awaiting your response there.

Thank you

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