mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
feat: implement chrome.tabs.reload to fix PDF Viewer (#33712)
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user