Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate localStorage to chrome storage API #155

Merged
merged 11 commits into from
May 29, 2022
Merged

Migrate localStorage to chrome storage API #155

merged 11 commits into from
May 29, 2022

Conversation

Folyd
Copy link
Member

@Folyd Folyd commented May 22, 2022

This migration is required because Chrome Manifest V3 changes the background script to the service worker,
however, the service worker doesn't support localStorage API. Therefore, we should migrate those data to
chrome.storage before we upgrade to Manifest V3. Otherwise, we can't do such a migration, because we
cannot access localStorage API in the service worker anymore.

@Folyd Folyd merged commit c2f92b7 into master May 29, 2022
@Folyd Folyd deleted the migrate-storage branch May 29, 2022 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant