feat: implement chrome.tabs.reload (#33560)
This commit is contained in:
parent
a7a5e7fcfd
commit
caddc83cfe
4 changed files with 59 additions and 3 deletions
|
@ -120,6 +120,27 @@
|
|||
}
|
||||
],
|
||||
"functions": [
|
||||
{
|
||||
"name": "reload",
|
||||
"type": "function",
|
||||
"description": "Reload a tab.",
|
||||
"parameters": [
|
||||
{"type": "integer", "name": "tabId", "minimum": 0, "optional": true, "description": "The ID of the tab to reload; defaults to the selected tab of the current window."},
|
||||
{
|
||||
"type": "object",
|
||||
"name": "reloadProperties",
|
||||
"optional": true,
|
||||
"properties": {
|
||||
"bypassCache": {
|
||||
"type": "boolean",
|
||||
"optional": true,
|
||||
"description": "Whether using any local cache. Default is false."
|
||||
}
|
||||
}
|
||||
},
|
||||
{"type": "function", "name": "callback", "optional": true, "parameters": []}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "get",
|
||||
"type": "function",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue