mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Stacked on https://github.com/facebook/react/pull/30824. See [this
commit](c9830d6474).
Turns out we should be listing `tabs` in our permissions, if we want to
be able to receive tab url, once its updated.
This also fixes `chrome.tabs.onCreated` event subscription, because [it
should receive only tab
object](https://developer.chrome.com/docs/extensions/reference/api/tabs#event-onCreated),
and not 3 arguments, as expected in the previous implementation.
The Chrome extension
The source code for this extension has moved to shells/webextension.
Modify the source code there and then rebuild this extension by running node build from this directory or yarn run build:extension:chrome from the root directory.
Testing in Chrome
You can test a local build of the web extension like so:
- Build the extension:
node build - Follow the on-screen instructions.