Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Use the web worker when clearing js-sdk stores #1133

Merged
merged 1 commit into from
Jun 21, 2017

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jun 21, 2017

It turns out that Firefox doesn't let you use indexeddb from private tabs,
unless you are also in a webworker. We need to either consistently use it
or not use it - so let's use it.

It turns out that Firefox doesn't let you use indexeddb from private tabs,
*unless* you are *also* in a webworker. We need to either consistently use it
or not use it - so let's use it.
@richvdh
Copy link
Member Author

richvdh commented Jun 21, 2017

(part of the fix to element-hq/element-web#4340)

Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, although this will mean we will start up a web worker that will stick around, as we don't currently shut them down. I guess I'll fix that separately.

@dbkr dbkr merged commit ebcf78c into release-v0.9.7 Jun 21, 2017
@richvdh richvdh deleted the rav/use_worker_to_clear_storage branch July 4, 2017 13:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants