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
|
@ -37,6 +37,11 @@ const testMap = {
|
|||
});
|
||||
});
|
||||
chrome.runtime.sendMessage({ method: 'connectTab', args: [name] });
|
||||
},
|
||||
update (tabId, props) {
|
||||
chrome.runtime.sendMessage({ method: 'update', args: [tabId, props] }, response => {
|
||||
console.log(JSON.stringify(response));
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue