textlint-chrome-extension icon indicating copy to clipboard operation
textlint-chrome-extension copied to clipboard

Use "Event Pages" background

Open io-monad opened this issue 8 years ago • 0 comments

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 and onInstalled 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.

io-monad avatar Mar 30 '16 12:03 io-monad