Chrome
- Content script is injected on page and sends messages to background worker to do work.
- Background worker does image processing and kicks off a potentially long running fetch request.
- Extension popup is closed.
- Communication between content script and background worker is severed until popup is reopened.
The issue does not repro if the extension popup stays open.
Additional technical details:
- The background script uses an offscreen canvas, createImageBitmap, and transferImageFromBitmap to do image work.
- The background script uses FileReader to convert blobs into base64.
- Repro'd on iPhone/iPad and users have run into it as well.
My extension repros this problem consistently. Happy to provide any resources/info to assist. The code is compiled, but hardly obfuscated or minified- pretty easy to read and set breakpoints. Happy to provide source code upon request.
$1000 bounty for the fix. Feel free to email me at cs@eriklanning.com to collect and/or if you need a demo account.
The extension popup should not need to be open to facilitate cross content/background communication.
1.3.8 (13) (WebKit 8618.3.9)
17