Describe the bug
The debugger example gives: Unchecked runtime.lastError: Cannot access a chrome-extension:// URL of different extension.
Im pretty sure await chrome.debugger.sendCommand({ tabId }, 'Fetch.enable', { patterns: [/*...*/]}) Is exactly what causes this.
tabId comes from chrome.devtools.inspectedWindow.tabId
To Reproduce
Clone the repo.
Install the debugger example
Go to a website.
Click the extension
Make a network request.
Notice this prints "Unchecked runtime.lastError: Cannot access a chrome-extension:// URL of different extension"
Expected behavior
This should work
Screenshots
Anything additional here. 🌈
This does not happen with Microsoft Edge.
Do you have any other extensions installed that you could try disabling? It's possible they are adding additional content to a page that you are blocked from inspecting.
Describe the bug The debugger example gives: Unchecked runtime.lastError: Cannot access a chrome-extension:// URL of different extension.
Im pretty sure
await chrome.debugger.sendCommand({ tabId }, 'Fetch.enable', { patterns: [/*...*/]})
Is exactly what causes this.tabId
comes fromchrome.devtools.inspectedWindow.tabId
To Reproduce Clone the repo. Install the debugger example Go to a website. Click the extension Make a network request. Notice this prints "Unchecked runtime.lastError: Cannot access a chrome-extension:// URL of different extension"
Expected behavior This should work
Screenshots
Anything additional here. 🌈 This does not happen with Microsoft Edge.