storage.onChanged listener in content script is preventing event page from unload
Reported by
wolfw...@gmail.com,
Jun 20 2017
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3135.0 Safari/537.36 Steps to reproduce the problem: -install extension from attachment, it is using event page and it should unload after couple of seconds ~10 (task manager shift+esc) -extension is doing simple job, in background and in content script there is a storage listener that will console log some text -open any non-chrome page (www.google.com) -on button click extension will write something to local storage (timestamp) and console log message in background and content script -after that, extension is left hanging in Task Manager.... it should unload after couple of seconds, but it doesn't -culprit is content script listener, because if you have only chrome internal page opened (eg. settings or history) and press the button, event page will work as it supposed to (you need to have fresh session or reload extension, otherwise extension is bugged from previous attempts) -there is no errors of any kind for this situation, it's just that event page gets bugged What is the expected behavior? What went wrong? . WebStore page: Did this work before? N/A Chrome version: 61.0.3135.0 Channel: n/a OS Version: 10.0 Flash Version:
,
Jun 29 2017
Able to reproduce the issue on the latest canary(61.0.3143.0) on Windows-10, Mac OS 10.12.5 and Linux Ubuntu 14.04 as per the following test steps: 1. Installed the attached extension and opened Chrome task manager. 2. Opened google.com and clicked the extension icon. 3. Checked the console and task manager.(screenshot attached) Similar behavior is seen on older chrome version(50.0.2646.0) as well and on chrome version: 40.0.2172.0 seeing diff. console error(screenshot attached). Marking this as Untriaged for more inputs on this. |
||
►
Sign in to add a comment |
||
Comment 1 by ranjitkan@chromium.org
, Jun 29 2017