test: add test and api_feature definition for chrome.scripting.globalParams (#41685)

chore: add test and api_feature for chrome.scripting.globalParams
This commit is contained in:
Shelley Vohr 2024-03-26 12:33:47 +01:00 committed by GitHub
parent b9c4b27781
commit 7032c0d03c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 49 additions and 0 deletions

View file

@ -19,6 +19,11 @@ const map = {
chrome.runtime.sendMessage({ method: 'insertCSS' }, response => {
console.log(JSON.stringify(response));
});
},
globalParams () {
chrome.runtime.sendMessage({ method: 'globalParams' }, response => {
console.log(JSON.stringify(response));
});
}
};