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

Make bespoke plugin robust against storage errors #208

Merged
merged 5 commits into from
Feb 25, 2020
Merged

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Feb 24, 2020

We received the report about not working the whole of bespoke template in the browser that has restricted using localStorage. This PR will make some bespoke plugins robust against errors thrown by localStorage.

  • Sync plugin manipulates localStorage through the robust storage utility object. The presentation does not stop working by thrown error but sync logic may not be able to use in some rarely cases.
  • The plugin depended on sync plugin will disable when using localStorage is restricted. It's relevant to presenter plugin and OSC plugin (presenter button).

Resolves #207.

ToDo

  • Add test cases
  • Add troubleshoot about disabled presenter view to README.md

@yhatt yhatt merged commit 0ebcd44 into master Feb 25, 2020
@yhatt yhatt deleted the robust-storage branch February 25, 2020 13:05
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.

Exception in Google Chrome 80.0.3987.116
1 participant