Closed Bug 919720 Opened 11 years ago Closed 10 years ago

async-local-storage doesn't work in a Private Window session

Categories

(Socorro :: Webapp, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: peterbe, Assigned: peterbe)

References

Details

If you try to load a report list and click the Reports tab, you get::

 [13:19:28.914] InvalidStateError @ http://socorro/static/crashstats/js/async-local-storage-with-Promise.min.js:1

I *think* it's related to being in Private Window. Either way, we should work around it.
Assignee: nobody → peterbe
Status: NEW → ASSIGNED
Depends on: 781982
There is nothing more we can do here. We have to wait for 781982 and even when that lands there's nothing we need to do here. 

The sad reality is that we can't even capture this problem. Something like this does NOT work::

  try {
    storage.get(KEY).then(....
  } catch() {
    alert('Sorry, Unable to use any local storage')
  }
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.