| OLD | NEW |
| 1 { | 1 { |
| 2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
| 3 "domains": [{ | 3 "domains": [{ |
| 4 "domain": "Inspector", | 4 "domain": "Inspector", |
| 5 "hidden": true, | 5 "hidden": true, |
| 6 "types": [], | 6 "types": [], |
| 7 "commands": [ | 7 "commands": [ |
| 8 { | 8 { |
| 9 "name": "enable", | 9 "name": "enable", |
| 10 "description": "Enables inspector domain notifications.", | 10 "description": "Enables inspector domain notifications.", |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 "id": "AppManifestError", | 167 "id": "AppManifestError", |
| 168 "description": "Error while paring app manifest.", | 168 "description": "Error while paring app manifest.", |
| 169 "type": "object", | 169 "type": "object", |
| 170 "properties": [ | 170 "properties": [ |
| 171 { "name": "message", "type": "string", "description": "Error m
essage." }, | 171 { "name": "message", "type": "string", "description": "Error m
essage." }, |
| 172 { "name": "critical", "type": "integer", "description": "If cr
iticial, this is a non-recoverable parse error." }, | 172 { "name": "critical", "type": "integer", "description": "If cr
iticial, this is a non-recoverable parse error." }, |
| 173 { "name": "line", "type": "integer", "description": "Error lin
e." }, | 173 { "name": "line", "type": "integer", "description": "Error lin
e." }, |
| 174 { "name": "column", "type": "integer", "description": "Error c
olumn." } | 174 { "name": "column", "type": "integer", "description": "Error c
olumn." } |
| 175 ], | 175 ], |
| 176 "hidden": true | 176 "hidden": true |
| 177 }, |
| 178 { |
| 179 "id": "NavigationResponse", |
| 180 "description": "Proceed: allow the navigation; Cancel: cancel th
e navigation; CancelAndIgnore: cancels the navigation and makes the requester of
the navigation acts like the request was never made.", |
| 181 "type": "string", |
| 182 "enum": ["Proceed", "Cancel", "CancelAndIgnore"], |
| 183 "hidden": true |
| 177 } | 184 } |
| 178 ], | 185 ], |
| 179 "commands": [ | 186 "commands": [ |
| 180 { | 187 { |
| 181 "name": "enable", | 188 "name": "enable", |
| 182 "description": "Enables page domain notifications.", | 189 "description": "Enables page domain notifications.", |
| 183 "handlers": ["browser", "renderer"] | 190 "handlers": ["browser", "renderer"] |
| 184 }, | 191 }, |
| 185 { | 192 { |
| 186 "name": "disable", | 193 "name": "disable", |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 "name": "requestAppBanner", | 481 "name": "requestAppBanner", |
| 475 "hidden": true, | 482 "hidden": true, |
| 476 "handlers": ["browser"] | 483 "handlers": ["browser"] |
| 477 }, | 484 }, |
| 478 { | 485 { |
| 479 "name": "setBlockedEventsWarningThreshold", | 486 "name": "setBlockedEventsWarningThreshold", |
| 480 "hidden": true, | 487 "hidden": true, |
| 481 "parameters": [ | 488 "parameters": [ |
| 482 { "name": "threshold", "type": "number", "description": "If
set to a positive number, specifies threshold in seconds for input event latency
that will cause a console warning about blocked event to be issued. If zero or
less, the warning is disabled." } | 489 { "name": "threshold", "type": "number", "description": "If
set to a positive number, specifies threshold in seconds for input event latency
that will cause a console warning about blocked event to be issued. If zero or
less, the warning is disabled." } |
| 483 ] | 490 ] |
| 491 }, |
| 492 { |
| 493 "name": "setControlNavigations", |
| 494 "parameters": [ |
| 495 { "name": "enabled", "type": "boolean" } |
| 496 ], |
| 497 "description": "Toggles navigation throttling which allows progr
amatic control over navigation and redirect response.", |
| 498 "hidden": true, |
| 499 "handlers": ["browser"] |
| 500 }, |
| 501 { |
| 502 "name": "processNavigation", |
| 503 "parameters": [ |
| 504 { "name": "response", "$ref": "NavigationResponse" }, |
| 505 { "name": "navigationId", "type": "integer" } |
| 506 ], |
| 507 "description": "Should be sent in response to a navigationReques
ted or a redirectRequested event, telling the browser how to handle the navigati
on.", |
| 508 "hidden": true, |
| 509 "handlers": ["browser"] |
| 484 } | 510 } |
| 485 ], | 511 ], |
| 486 "events": [ | 512 "events": [ |
| 487 { | 513 { |
| 488 "name": "domContentEventFired", | 514 "name": "domContentEventFired", |
| 489 "parameters": [ | 515 "parameters": [ |
| 490 { "name": "timestamp", "type": "number" } | 516 { "name": "timestamp", "type": "number" } |
| 491 ] | 517 ] |
| 492 }, | 518 }, |
| 493 { | 519 { |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 "name": "interstitialShown", | 631 "name": "interstitialShown", |
| 606 "description": "Fired when interstitial page was shown", | 632 "description": "Fired when interstitial page was shown", |
| 607 "hidden": true, | 633 "hidden": true, |
| 608 "handlers": ["browser"] | 634 "handlers": ["browser"] |
| 609 }, | 635 }, |
| 610 { | 636 { |
| 611 "name": "interstitialHidden", | 637 "name": "interstitialHidden", |
| 612 "description": "Fired when interstitial page was hidden", | 638 "description": "Fired when interstitial page was hidden", |
| 613 "hidden": true, | 639 "hidden": true, |
| 614 "handlers": ["browser"] | 640 "handlers": ["browser"] |
| 641 }, |
| 642 { |
| 643 "name": "navigationRequested", |
| 644 "description": "Fired when a navigation is started if navigation
throttles are enabled. The navigation will be deferred until processNavigation
is called.", |
| 645 "parameters": [ |
| 646 { "name": "isInMainFrame", "type": "boolean", "description":
"Whether the navigation is taking place in the main frame or in a subframe." }, |
| 647 { "name": "isRedirect", "type": "boolean", "description": "W
hether the navigation has encountered a server redirect or not." }, |
| 648 { "name": "navigationId", "type": "integer" }, |
| 649 { "name": "url", "type": "string", "description": "URL of re
quested navigation." } |
| 650 ], |
| 651 "handlers": ["browser"] |
| 615 } | 652 } |
| 616 ] | 653 ] |
| 617 }, | 654 }, |
| 618 { | 655 { |
| 619 "domain": "Rendering", | 656 "domain": "Rendering", |
| 620 "description": "This domain allows to control rendering of the page.", | 657 "description": "This domain allows to control rendering of the page.", |
| 621 "hidden": true, | 658 "hidden": true, |
| 622 "commands": [ | 659 "commands": [ |
| 623 { | 660 { |
| 624 "name": "setShowPaintRects", | 661 "name": "setShowPaintRects", |
| (...skipping 3598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4223 ], | 4260 ], |
| 4224 "returns": [ | 4261 "returns": [ |
| 4225 { "name": "success", "type": "boolean" } | 4262 { "name": "success", "type": "boolean" } |
| 4226 ], | 4263 ], |
| 4227 "handlers": ["browser"] | 4264 "handlers": ["browser"] |
| 4228 }, | 4265 }, |
| 4229 { | 4266 { |
| 4230 "name": "createTarget", | 4267 "name": "createTarget", |
| 4231 "description": "Creates a new page.", | 4268 "description": "Creates a new page.", |
| 4232 "parameters": [ | 4269 "parameters": [ |
| 4233 { "name": "initialUrl", "type": "string", "description": "Th
e initial URL the page will be navigated to." }, | 4270 { "name": "url", "type": "string", "description": "The initi
al URL the page will be navigated to." }, |
| 4234 { "name": "width", "type": "integer", "description": "Window
width (headless chrome only).", "optional": true }, | 4271 { "name": "width", "type": "integer", "description": "Window
width (headless chrome only).", "optional": true }, |
| 4235 { "name": "height", "type": "integer", "description": "Windo
w height (headless chrome only).", "optional": true }, | 4272 { "name": "height", "type": "integer", "description": "Windo
w height (headless chrome only).", "optional": true }, |
| 4236 { "name": "browserContextId", "$ref": "BrowserContextID", "d
escription": "The browser context to create the page in (headless chrome only)."
, "optional": true } | 4273 { "name": "browserContextId", "$ref": "BrowserContextID", "d
escription": "The browser context to create the page in (headless chrome only)."
, "optional": true } |
| 4237 ], | 4274 ], |
| 4238 "returns": [ | 4275 "returns": [ |
| 4239 { "name": "targetId", "$ref": "TargetID", "description": "Th
e id of the page opened." } | 4276 { "name": "targetId", "$ref": "TargetID", "description": "Th
e id of the page opened." } |
| 4240 ], | 4277 ], |
| 4241 "handlers": ["browser"] | 4278 "handlers": ["browser"] |
| 4242 }, | 4279 }, |
| 4243 { | 4280 { |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4311 { "name": "vendorString", "type": "string", "description": "
String description of the GPU vendor, if the PCI ID is not available." }, | 4348 { "name": "vendorString", "type": "string", "description": "
String description of the GPU vendor, if the PCI ID is not available." }, |
| 4312 { "name": "deviceString", "type": "string", "description": "
String description of the GPU device, if the PCI ID is not available." } | 4349 { "name": "deviceString", "type": "string", "description": "
String description of the GPU device, if the PCI ID is not available." } |
| 4313 ], | 4350 ], |
| 4314 "description": "Describes a single graphics processor (GPU)." | 4351 "description": "Describes a single graphics processor (GPU)." |
| 4315 }, | 4352 }, |
| 4316 { | 4353 { |
| 4317 "id": "GPUInfo", | 4354 "id": "GPUInfo", |
| 4318 "type": "object", | 4355 "type": "object", |
| 4319 "properties": [ | 4356 "properties": [ |
| 4320 { "name": "devices", "type": "array", "items": { "$ref": "GP
UDevice" }, "description": "The graphics devices on the system. Element 0 is the
primary GPU." }, | 4357 { "name": "devices", "type": "array", "items": { "$ref": "GP
UDevice" }, "description": "The graphics devices on the system. Element 0 is the
primary GPU." }, |
| 4321 { "name": "auxAttributes", "type": "object", "optional": "tr
ue", "description": "An optional dictionary of additional GPU related attributes
." }, | 4358 { "name": "auxAttributes", "type": "object", "optional": tru
e, "description": "An optional dictionary of additional GPU related attributes."
}, |
| 4322 { "name": "featureStatus", "type": "object", "optional": "tr
ue", "description": "An optional dictionary of graphics features and their statu
s." }, | 4359 { "name": "featureStatus", "type": "object", "optional": tru
e, "description": "An optional dictionary of graphics features and their status.
" }, |
| 4323 { "name": "driverBugWorkarounds", "type": "array", "items":
{ "type": "string" }, "description": "An optional array of GPU driver bug workar
ounds." } | 4360 { "name": "driverBugWorkarounds", "type": "array", "items":
{ "type": "string" }, "description": "An optional array of GPU driver bug workar
ounds." } |
| 4324 ], | 4361 ], |
| 4325 "description": "Provides information about the GPU(s) on the sys
tem." | 4362 "description": "Provides information about the GPU(s) on the sys
tem." |
| 4326 } | 4363 } |
| 4327 ], | 4364 ], |
| 4328 "commands": [ | 4365 "commands": [ |
| 4329 { | 4366 { |
| 4330 "name": "getInfo", | 4367 "name": "getInfo", |
| 4331 "async": true, | 4368 "async": true, |
| 4332 "description": "Returns information about the system.", | 4369 "description": "Returns information about the system.", |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4369 "description": "Informs that port was successfully bound and got
a specified connection id.", | 4406 "description": "Informs that port was successfully bound and got
a specified connection id.", |
| 4370 "parameters": [ | 4407 "parameters": [ |
| 4371 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, | 4408 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, |
| 4372 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } | 4409 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } |
| 4373 ], | 4410 ], |
| 4374 "handlers": ["browser"] | 4411 "handlers": ["browser"] |
| 4375 } | 4412 } |
| 4376 ] | 4413 ] |
| 4377 }] | 4414 }] |
| 4378 } | 4415 } |
| OLD | NEW |