Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Extension API: chrome.browserAction.onClicked #8329

Closed
jonathansampson opened this issue Apr 14, 2017 · 3 comments
Closed

Extension API: chrome.browserAction.onClicked #8329

jonathansampson opened this issue Apr 14, 2017 · 3 comments

Comments

@jonathansampson
Copy link
Collaborator

jonathansampson commented Apr 14, 2017

https://developer.chrome.com/extensions/browserAction#event-onClicked

@jonathansampson
Copy link
Collaborator Author

jonathansampson commented Apr 19, 2017

Blocks #8327, #6366, #9828

@jonathansampson
Copy link
Collaborator Author

The following test fails:

  1. Enable LastPass
  2. Navigate to chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/background.html
  3. From the console, run Script A
  4. Click the Browser Action Icon (LastPass icon)

Script A

chrome.browserAction.onClicked.addListener( e => console.log('Clicked!') )

Expectation

Clicking the browser action icon will cause Clicked! to be logged to the console.

Actual

Clicking the browser action icon appears to do nothing.

@jonathansampson
Copy link
Collaborator Author

This is, at the very least, minimally supported with addListener.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants