feat: partially support chrome.tabs.update (#30069)
This commit is contained in:
parent
cce27a0961
commit
ceebae170e
7 changed files with 315 additions and 7 deletions
|
@ -23,6 +23,11 @@ chrome.runtime.onMessage.addListener((message, sender, sendResponse) => {
|
|||
port.postMessage('howdy');
|
||||
break;
|
||||
}
|
||||
|
||||
case 'update': {
|
||||
const [tabId, props] = args;
|
||||
chrome.tabs.update(tabId, props, sendResponse);
|
||||
}
|
||||
}
|
||||
// Respond asynchronously
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue