textlint-chrome-extension
textlint-chrome-extension copied to clipboard
Use "Event Pages" background
We should run the background page in Event Page mode for decreasing memory usage in inactive state.
We need to fix some issues for migrating:
- We should use
onStartup
andonInstalled
events to initialize everything on the background page including message handlers. - Sandbox may have been cleared after the background page is restarted. Perhaps
linters
in the background page and the sandbox being confused.