New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 793698 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

clicking 'Update Extensions Now' reloads extension when it shouldn't.

Reported by publis...@londontrustmedia.com, Dec 11 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36

Steps to reproduce the problem:
1. 
Create an extension that requests the "background" permission, and also registers a listener for chrome.runtime.onUpdateAvailable:

chrome.runtime.onUpdateAvailable.addListener(() => undefined })

2. 

Publish the extension on the webstore.

3. 

Update the extension version and publish to webstore.

4.

Go to chrome://extensions

5.

Click "Update now". Observe that the extension behaves as though chrome.runtime.reload() is called, instead of waiting for the browser to restart to reload the extension.

What is the expected behavior?
The expected behaviour is that when an extension registers a listener for onUpdateAvailable, and explicitly _does not_ call chrome.runtime.reload(), that the extension will not be reloaded until the browser restarts.

What went wrong?
The extension is reloaded, ignoring onUpdateAvailable being registered and returning 'undefined' and explicitly not calling chrome.runtime.reload().

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 62.0.3202.94  Channel: n/a
OS Version: OS X 10.11.6
Flash Version: 

This causes a critical bug in my extension, where a user is logged out on extension update instead of waiting for the browser to be restarted.
 
I am almost sure this worked before, because I tested this scenario in the past and it was working for me.
CCing myself
Cc: vamshi.k...@techmahindra.com
Components: Platform>Extensions
Labels: Needs-Triage-M62 Needs-Feedback Triaged-ET
"@Reporter: Could you please provide a sample extension/File which helps us to triage the issue in a better way as it would be out of scope for ET team to create an extension and check the issue.

Thanks!"
I will create a reproduction case, but note that I cannot trigger this bug
without interaction on the store. I see the bug when clicking "Update
extensions now".
Status: WontFix (was: Unconfirmed)
Mac triage: marking old issue without repro case WontFix. Reporter, if you're still experiencing this and have a repro case, please reopen this bug.

Sign in to add a comment