dillon1000/react
Commit
Browse files fix[react-devtools/extensions]: fixed tabs API calls and displaying restricted access popup (#30825)
Stacked on https://github.com/facebook/react/pull/30824. See [this commit](https://github.com/facebook/react/pull/30825/commits/c9830d64749cf8fd592ea30a1cd65842cf83f6df). 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.
Changed paths5 files
First-parent comparisonpackages/react-devtools-extensions/chrome/manifest.json ModifiedM packages/react-devtools-extensions/edge/manifest.json ModifiedM packages/react-devtools-extensions/firefox/manifest.json ModifiedM packages/react-devtools-extensions/src/background/tabsManager.js ModifiedM packages/react-devtools-extensions/src/main/registerEventsLogger.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…