New issue
Advanced search Search tips

Issue 734966 link

Starred by 4 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

storage.onChanged listener in content script is preventing event page from unload

Reported by wolfw...@gmail.com, Jun 20 2017

Issue description

UserAgent: 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:
 
test storage listener.rar
1.1 KB Download
Labels: Needs-Triage-M61

Comment 2 by ajha@chromium.org, Jun 29 2017

Cc: ajha@chromium.org
Components: -Platform>Extensions Platform>Extensions>API
Labels: -Needs-Triage-M61 M-61 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
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.
734966_M50_50.0.2646.0.png
99 KB View Download
734966_M40_40.0.2172.0.png
100 KB View Download

Sign in to add a comment