feat: partially support chrome.tabs.update (#30069)

This commit is contained in:
Jeremy Rose 2021-07-27 13:36:22 -07:00 committed by GitHub
parent cce27a0961
commit ceebae170e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 315 additions and 7 deletions

View file

@ -100,6 +100,8 @@ The following methods of `chrome.tabs` are supported:
- `chrome.tabs.sendMessage`
- `chrome.tabs.executeScript`
- `chrome.tabs.update` (partial support)
- supported properties: `url`, `muted`.
> **Note:** In Chrome, passing `-1` as a tab ID signifies the "currently active
> tab". Since Electron has no such concept, passing `-1` as a tab ID is not