Advertisement
Guest User

Untitled

a guest
Dec 4th, 2017
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.05 KB | None | 0 0
  1.       {
  2.         "name": "discard",
  3.         "type": "function",
  4.         "description": "discards one or more tabs.",
  5.         "async": true,
  6.         "parameters": [
  7.           {
  8.             "name": "tabIds",
  9.             "description": "The tab or list of tabs to discard.",
  10.             "choices": [
  11.               {"type": "integer", "minimum": 0},
  12.               {"type": "array", "items": {"type": "integer", "minimum": 0}}
  13.             ]
  14.           },
  15.           {
  16.             "choices": [
  17.               {"type": "object",
  18.                "name": "discardProperties",
  19.                "optional": true,
  20.                "properties": {
  21.                  "forceDiscard": {
  22.                    "type": "boolean",
  23.                    "optional": true,
  24.                    "description": "Forces discard regardless of whether an onbeforeunload handler wants to prompt.  Will suppress display of prompt, but will run all onbeforeunload handlers.  Default is `false`."
  25.                  }
  26.                }
  27.               }
  28.             ]
  29.           }
  30.         ]
  31.       },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement