| OLD | NEW |
| 1 { | 1 { |
| 2 "version": { "major": "1", "minor": "0" }, | 2 "version": { "major": "1", "minor": "0" }, |
| 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 17 matching lines...) Expand all Loading... |
| 28 { "name": "object", "$ref": "Runtime.RemoteObject" }, | 28 { "name": "object", "$ref": "Runtime.RemoteObject" }, |
| 29 { "name": "hints", "type": "object" } | 29 { "name": "hints", "type": "object" } |
| 30 ] | 30 ] |
| 31 }, | 31 }, |
| 32 { | 32 { |
| 33 "name": "detached", | 33 "name": "detached", |
| 34 "description": "Fired when remote debugging connection is about
to be terminated. Contains detach reason.", | 34 "description": "Fired when remote debugging connection is about
to be terminated. Contains detach reason.", |
| 35 "parameters": [ | 35 "parameters": [ |
| 36 { "name": "reason", "type": "string", "description": "The re
ason why connection has been terminated." } | 36 { "name": "reason", "type": "string", "description": "The re
ason why connection has been terminated." } |
| 37 ] | 37 ] |
| 38 }, |
| 39 { |
| 40 "name": "targetCrashed", |
| 41 "description": "Fired when debugging target has crashed" |
| 38 } | 42 } |
| 39 ] | 43 ] |
| 40 }, | 44 }, |
| 41 { | 45 { |
| 42 "domain": "Memory", | 46 "domain": "Memory", |
| 43 "hidden": true, | 47 "hidden": true, |
| 44 "types": [ | 48 "types": [ |
| 45 { | 49 { |
| 46 "id": "MemoryBlock", | 50 "id": "MemoryBlock", |
| 47 "type": "object", | 51 "type": "object", |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 "parameters": [ | 379 "parameters": [ |
| 376 { "name": "enabled", "type": "boolean", "description": "True
for enabling cointinuous painting" } | 380 { "name": "enabled", "type": "boolean", "description": "True
for enabling cointinuous painting" } |
| 377 ], | 381 ], |
| 378 "hidden": true | 382 "hidden": true |
| 379 }, | 383 }, |
| 380 { | 384 { |
| 381 "name": "getScriptExecutionStatus", | 385 "name": "getScriptExecutionStatus", |
| 382 "description": "Determines if scripts can be executed in the pag
e.", | 386 "description": "Determines if scripts can be executed in the pag
e.", |
| 383 "returns": [ | 387 "returns": [ |
| 384 { "name": "result", "type": "string", "enum": ["allowed", "d
isabled", "forbidden"], "description": "Script execution status: \"allowed\" if
scripts can be executed, \"disabled\" if script execution has been disabled thro
ugh page settings, \"forbidden\" if script execution for the given page is not p
ossible for other reasons." } | 388 { "name": "result", "type": "string", "enum": ["allowed", "d
isabled", "forbidden"], "description": "Script execution status: \"allowed\" if
scripts can be executed, \"disabled\" if script execution has been disabled thro
ugh page settings, \"forbidden\" if script execution for the given page is not p
ossible for other reasons." } |
| 385 ] | 389 ], |
| 390 "hidden": true |
| 386 }, | 391 }, |
| 387 { | 392 { |
| 388 "name": "setScriptExecutionDisabled", | 393 "name": "setScriptExecutionDisabled", |
| 389 "description": "Switches script execution in the page.", | 394 "description": "Switches script execution in the page.", |
| 390 "parameters": [ | 395 "parameters": [ |
| 391 { "name": "value", "type": "boolean", "description": "Whethe
r script execution should be disabled in the page." } | 396 { "name": "value", "type": "boolean", "description": "Whethe
r script execution should be disabled in the page." } |
| 392 ] | 397 ], |
| 398 "hidden": true |
| 393 }, | 399 }, |
| 394 { | 400 { |
| 395 "name": "setGeolocationOverride", | 401 "name": "setGeolocationOverride", |
| 396 "description": "Overrides the Geolocation Position or Error.", | 402 "description": "Overrides the Geolocation Position or Error.", |
| 397 "parameters": [ | 403 "parameters": [ |
| 398 { "name": "latitude", "type": "number", "optional": true, "d
escription": "Mock longitude"}, | 404 { "name": "latitude", "type": "number", "optional": true, "d
escription": "Mock longitude"}, |
| 399 { "name": "longitude", "type": "number", "optional": true, "
description": "Mock latitude"}, | 405 { "name": "longitude", "type": "number", "optional": true, "
description": "Mock latitude"}, |
| 400 { "name": "accuracy", "type": "number", "optional": true, "d
escription": "Mock accuracy"} | 406 { "name": "accuracy", "type": "number", "optional": true, "d
escription": "Mock accuracy"} |
| 401 ], | 407 ] |
| 402 "hidden": true | |
| 403 }, | 408 }, |
| 404 { | 409 { |
| 405 "name": "clearGeolocationOverride", | 410 "name": "clearGeolocationOverride", |
| 406 "description": "Clears the overriden Geolocation Position and Er
ror.", | 411 "description": "Clears the overriden Geolocation Position and Er
ror." |
| 407 "hidden": true | |
| 408 }, | 412 }, |
| 409 { | 413 { |
| 410 "name": "canOverrideGeolocation", | 414 "name": "canOverrideGeolocation", |
| 411 "description": "Checks if Geolocation can be overridden.", | 415 "description": "Checks if Geolocation can be overridden.", |
| 412 "returns": [ | 416 "returns": [ |
| 413 { "name": "result", "type": "boolean", "description": "True
if browser can ovrride Geolocation." } | 417 { "name": "result", "type": "boolean", "description": "True
if browser can ovrride Geolocation." } |
| 414 ], | 418 ], |
| 415 "hidden": true | 419 "hidden": true |
| 416 }, | 420 }, |
| 417 { | 421 { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 "parameters": [ | 471 "parameters": [ |
| 468 { "name": "visible", "type": "boolean", "description": "True
for showing compositing borders." } | 472 { "name": "visible", "type": "boolean", "description": "True
for showing compositing borders." } |
| 469 ], | 473 ], |
| 470 "hidden": true | 474 "hidden": true |
| 471 }, | 475 }, |
| 472 { | 476 { |
| 473 "name": "captureScreenshot", | 477 "name": "captureScreenshot", |
| 474 "description": "Capture page screenshot.", | 478 "description": "Capture page screenshot.", |
| 475 "returns": [ | 479 "returns": [ |
| 476 { "name": "data", "type": "string", "description": "Base64-e
ncoded image data (PNG)." } | 480 { "name": "data", "type": "string", "description": "Base64-e
ncoded image data (PNG)." } |
| 477 ], | 481 ] |
| 478 "hidden": true | |
| 479 }, | 482 }, |
| 480 { | 483 { |
| 481 "name": "handleJavaScriptDialog", | 484 "name": "handleJavaScriptDialog", |
| 482 "description": "Accepts or dismisses a JavaScript initiated dial
og (alert, confirm, prompt, or onbeforeunload).", | 485 "description": "Accepts or dismisses a JavaScript initiated dial
og (alert, confirm, prompt, or onbeforeunload).", |
| 483 "parameters": [ | 486 "parameters": [ |
| 484 { "name": "accept", "type": "boolean", "description": "Wheth
er to accept or dismiss the dialog." } | 487 { "name": "accept", "type": "boolean", "description": "Wheth
er to accept or dismiss the dialog." }, |
| 488 { "name": "promptText", "type": "string", "optional": "true"
, "description": "The text to enter into the dialog prompt before accepting. Use
d only if this is a prompt dialog." } |
| 485 ], | 489 ], |
| 486 "hidden": true | 490 "hidden": true |
| 487 } | 491 } |
| 488 ], | 492 ], |
| 489 "events": [ | 493 "events": [ |
| 490 { | 494 { |
| 491 "name": "domContentEventFired", | 495 "name": "domContentEventFired", |
| 492 "parameters": [ | 496 "parameters": [ |
| 493 { "name": "timestamp", "type": "number" } | 497 { "name": "timestamp", "type": "number" } |
| 494 ] | 498 ] |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 623 "description": "Object property descriptor.", | 627 "description": "Object property descriptor.", |
| 624 "properties": [ | 628 "properties": [ |
| 625 { "name": "name", "type": "string", "description": "Property
name." }, | 629 { "name": "name", "type": "string", "description": "Property
name." }, |
| 626 { "name": "value", "$ref": "RemoteObject", "optional": true,
"description": "The value associated with the property." }, | 630 { "name": "value", "$ref": "RemoteObject", "optional": true,
"description": "The value associated with the property." }, |
| 627 { "name": "writable", "type": "boolean", "optional": true, "
description": "True if the value associated with the property may be changed (da
ta descriptors only)." }, | 631 { "name": "writable", "type": "boolean", "optional": true, "
description": "True if the value associated with the property may be changed (da
ta descriptors only)." }, |
| 628 { "name": "get", "$ref": "RemoteObject", "optional": true, "
description": "A function which serves as a getter for the property, or <code>un
defined</code> if there is no getter (accessor descriptors only)." }, | 632 { "name": "get", "$ref": "RemoteObject", "optional": true, "
description": "A function which serves as a getter for the property, or <code>un
defined</code> if there is no getter (accessor descriptors only)." }, |
| 629 { "name": "set", "$ref": "RemoteObject", "optional": true, "
description": "A function which serves as a setter for the property, or <code>un
defined</code> if there is no setter (accessor descriptors only)." }, | 633 { "name": "set", "$ref": "RemoteObject", "optional": true, "
description": "A function which serves as a setter for the property, or <code>un
defined</code> if there is no setter (accessor descriptors only)." }, |
| 630 { "name": "configurable", "type": "boolean", "description":
"True if the type of this property descriptor may be changed and if the property
may be deleted from the corresponding object." }, | 634 { "name": "configurable", "type": "boolean", "description":
"True if the type of this property descriptor may be changed and if the property
may be deleted from the corresponding object." }, |
| 631 { "name": "enumerable", "type": "boolean", "description": "T
rue if this property shows up during enumeration of the properties on the corres
ponding object." }, | 635 { "name": "enumerable", "type": "boolean", "description": "T
rue if this property shows up during enumeration of the properties on the corres
ponding object." }, |
| 632 { "name": "wasThrown", "type": "boolean", "optional": true,
"description": "True if the result was thrown during the evaluation." }, | 636 { "name": "wasThrown", "type": "boolean", "optional": true,
"description": "True if the result was thrown during the evaluation." }, |
| 633 { "name": "isOwn", "optional": true, "type": "boolean", "des
cription": "True if the property is owned for the object." } | 637 { "name": "isOwn", "optional": true, "type": "boolean", "des
cription": "True if the property is owned for the object.", "hidden": true } |
| 634 | 638 |
| 635 ] | 639 ] |
| 636 }, | 640 }, |
| 637 { | 641 { |
| 638 "id": "InternalPropertyDescriptor", | 642 "id": "InternalPropertyDescriptor", |
| 639 "type": "object", | 643 "type": "object", |
| 640 "description": "Object internal property descriptor. This proper
ty isn't normally visible in JavaScript code.", | 644 "description": "Object internal property descriptor. This proper
ty isn't normally visible in JavaScript code.", |
| 641 "properties": [ | 645 "properties": [ |
| 642 { "name": "name", "type": "string", "description": "Conventi
onal property name." }, | 646 { "name": "name", "type": "string", "description": "Conventi
onal property name." }, |
| 643 { "name": "value", "$ref": "RemoteObject", "optional": true,
"description": "The value associated with the property." } | 647 { "name": "value", "$ref": "RemoteObject", "optional": true,
"description": "The value associated with the property." } |
| 644 ] | 648 ], |
| 649 "hidden": true |
| 645 }, | 650 }, |
| 646 { | 651 { |
| 647 "id": "CallArgument", | 652 "id": "CallArgument", |
| 648 "type": "object", | 653 "type": "object", |
| 649 "description": "Represents function call argument. Either remote
object id <code>objectId</code> or primitive <code>value</code> or neither of (
for undefined) them should be specified.", | 654 "description": "Represents function call argument. Either remote
object id <code>objectId</code> or primitive <code>value</code> or neither of (
for undefined) them should be specified.", |
| 650 "properties": [ | 655 "properties": [ |
| 651 { "name": "value", "type": "any", "optional": true, "descrip
tion": "Primitive value." }, | 656 { "name": "value", "type": "any", "optional": true, "descrip
tion": "Primitive value." }, |
| 652 { "name": "objectId", "$ref": "RemoteObjectId", "optional":
true, "description": "Remote object handle." } | 657 { "name": "objectId", "$ref": "RemoteObjectId", "optional":
true, "description": "Remote object handle." } |
| 653 ] | 658 ] |
| 654 }, | 659 }, |
| 655 { | 660 { |
| 656 "id": "ExecutionContextId", | 661 "id": "ExecutionContextId", |
| 657 "type": "integer", | 662 "type": "integer", |
| 658 "description": "Id of an execution context.", | 663 "description": "Id of an execution context." |
| 659 "hidden": true | |
| 660 }, | 664 }, |
| 661 { | 665 { |
| 662 "id": "ExecutionContextDescription", | 666 "id": "ExecutionContextDescription", |
| 663 "type": "object", | 667 "type": "object", |
| 664 "description": "Description of an isolated world.", | 668 "description": "Description of an isolated world.", |
| 665 "properties": [ | 669 "properties": [ |
| 666 { "name": "id", "$ref": "ExecutionContextId", "description":
"Unique id of the execution context. It can be used to specify in which executi
on context script evaluation should be performed." }, | 670 { "name": "id", "$ref": "ExecutionContextId", "description":
"Unique id of the execution context. It can be used to specify in which executi
on context script evaluation should be performed." }, |
| 667 { "name": "isPageContext", "type": "boolean", "description":
"True if this is a context where inpspected web page scripts run. False if it i
s a content script isolated context." }, | 671 { "name": "isPageContext", "type": "boolean", "description":
"True if this is a context where inpspected web page scripts run. False if it i
s a content script isolated context.", "hidden": true }, |
| 668 { "name": "name", "type": "string", "description": "Human re
adable name describing given context." }, | 672 { "name": "name", "type": "string", "description": "Human re
adable name describing given context.", "hidden": true}, |
| 669 { "name": "frameId", "$ref": "Network.FrameId", "description
": "Id of the owning frame." } | 673 { "name": "frameId", "$ref": "Network.FrameId", "description
": "Id of the owning frame." } |
| 670 ], | 674 ] |
| 671 "hidden": true | |
| 672 } | 675 } |
| 673 | 676 |
| 674 ], | 677 ], |
| 675 "commands": [ | 678 "commands": [ |
| 676 { | 679 { |
| 677 "name": "evaluate", | 680 "name": "evaluate", |
| 678 "parameters": [ | 681 "parameters": [ |
| 679 { "name": "expression", "type": "string", "description": "Ex
pression to evaluate." }, | 682 { "name": "expression", "type": "string", "description": "Ex
pression to evaluate." }, |
| 680 { "name": "objectGroup", "type": "string", "optional": true,
"description": "Symbolic group name that can be used to release multiple object
s." }, | 683 { "name": "objectGroup", "type": "string", "optional": true,
"description": "Symbolic group name that can be used to release multiple object
s." }, |
| 681 { "name": "includeCommandLineAPI", "type": "boolean", "optio
nal": true, "description": "Determines whether Command Line API should be availa
ble during the evaluation.", "hidden": true }, | 684 { "name": "includeCommandLineAPI", "type": "boolean", "optio
nal": true, "description": "Determines whether Command Line API should be availa
ble during the evaluation.", "hidden": true }, |
| 682 { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "b
oolean", "optional": true, "description": "Specifies whether evaluation should s
top on exceptions and mute console. Overrides setPauseOnException state.", "hidd
en": true }, | 685 { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "b
oolean", "optional": true, "description": "Specifies whether evaluation should s
top on exceptions and mute console. Overrides setPauseOnException state.", "hidd
en": true }, |
| 683 { "name": "contextId", "$ref": "Runtime.ExecutionContextId",
"optional": true, "description": "Specifies in which isolated context to perfor
m evaluation. Each content script lives in an isolated context and this paramete
r may be used to specify one of those contexts. If the parameter is omitted or 0
the evaluation will be performed in the context of the inspected page.", "hidde
n": true }, | 686 { "name": "contextId", "$ref": "Runtime.ExecutionContextId",
"optional": true, "description": "Specifies in which isolated context to perfor
m evaluation. Each content script lives in an isolated context and this paramete
r may be used to specify one of those contexts. If the parameter is omitted or 0
the evaluation will be performed in the context of the inspected page." }, |
| 684 { "name": "returnByValue", "type": "boolean", "optional": tr
ue, "description": "Whether the result is expected to be a JSON object that shou
ld be sent by value." }, | 687 { "name": "returnByValue", "type": "boolean", "optional": tr
ue, "description": "Whether the result is expected to be a JSON object that shou
ld be sent by value." }, |
| 685 { "name": "generatePreview", "type": "boolean", "optional":
true, "hidden": true, "description": "Whether preview should be generated for th
e result." } | 688 { "name": "generatePreview", "type": "boolean", "optional":
true, "hidden": true, "description": "Whether preview should be generated for th
e result." } |
| 686 ], | 689 ], |
| 687 "returns": [ | 690 "returns": [ |
| 688 { "name": "result", "$ref": "RemoteObject", "description": "
Evaluation result." }, | 691 { "name": "result", "$ref": "RemoteObject", "description": "
Evaluation result." }, |
| 689 { "name": "wasThrown", "type": "boolean", "optional": true,
"description": "True if the result was thrown during the evaluation." } | 692 { "name": "wasThrown", "type": "boolean", "optional": true,
"description": "True if the result was thrown during the evaluation." } |
| 690 ], | 693 ], |
| 691 "description": "Evaluates expression on global object." | 694 "description": "Evaluates expression on global object." |
| 692 }, | 695 }, |
| 693 { | 696 { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 707 "description": "Calls function with given declaration on the giv
en object. Object group of the result is inherited from the target object." | 710 "description": "Calls function with given declaration on the giv
en object. Object group of the result is inherited from the target object." |
| 708 }, | 711 }, |
| 709 { | 712 { |
| 710 "name": "getProperties", | 713 "name": "getProperties", |
| 711 "parameters": [ | 714 "parameters": [ |
| 712 { "name": "objectId", "$ref": "RemoteObjectId", "description
": "Identifier of the object to return properties for." }, | 715 { "name": "objectId", "$ref": "RemoteObjectId", "description
": "Identifier of the object to return properties for." }, |
| 713 { "name": "ownProperties", "optional": true, "type": "boolea
n", "description": "If true, returns properties belonging only to the element it
self, not to its prototype chain." } | 716 { "name": "ownProperties", "optional": true, "type": "boolea
n", "description": "If true, returns properties belonging only to the element it
self, not to its prototype chain." } |
| 714 ], | 717 ], |
| 715 "returns": [ | 718 "returns": [ |
| 716 { "name": "result", "type": "array", "items": { "$ref": "Pro
pertyDescriptor"}, "description": "Object properties." }, | 719 { "name": "result", "type": "array", "items": { "$ref": "Pro
pertyDescriptor"}, "description": "Object properties." }, |
| 717 { "name": "internalProperties", "optional": true, "type": "a
rray", "items": { "$ref": "InternalPropertyDescriptor"}, "description": "Interna
l object properties." } | 720 { "name": "internalProperties", "optional": true, "type": "a
rray", "items": { "$ref": "InternalPropertyDescriptor"}, "description": "Interna
l object properties.", "hidden": true } |
| 718 ], | 721 ], |
| 719 "description": "Returns properties of a given object. Object gro
up of the result is inherited from the target object." | 722 "description": "Returns properties of a given object. Object gro
up of the result is inherited from the target object." |
| 720 }, | 723 }, |
| 721 { | 724 { |
| 722 "name": "releaseObject", | 725 "name": "releaseObject", |
| 723 "parameters": [ | 726 "parameters": [ |
| 724 { "name": "objectId", "$ref": "RemoteObjectId", "description
": "Identifier of the object to release." } | 727 { "name": "objectId", "$ref": "RemoteObjectId", "description
": "Identifier of the object to release." } |
| 725 ], | 728 ], |
| 726 "description": "Releases remote object with given id." | 729 "description": "Releases remote object with given id." |
| 727 }, | 730 }, |
| 728 { | 731 { |
| 729 "name": "releaseObjectGroup", | 732 "name": "releaseObjectGroup", |
| 730 "parameters": [ | 733 "parameters": [ |
| 731 { "name": "objectGroup", "type": "string", "description": "S
ymbolic object group name." } | 734 { "name": "objectGroup", "type": "string", "description": "S
ymbolic object group name." } |
| 732 ], | 735 ], |
| 733 "description": "Releases all remote objects that belong to a giv
en group." | 736 "description": "Releases all remote objects that belong to a giv
en group." |
| 734 }, | 737 }, |
| 735 { | 738 { |
| 736 "name": "run", | 739 "name": "run", |
| 737 "hidden": true, | 740 "hidden": true, |
| 738 "description": "Tells inspected instance(worker or page) that it
can run in case it was started paused." | 741 "description": "Tells inspected instance(worker or page) that it
can run in case it was started paused." |
| 739 }, | 742 }, |
| 740 { | 743 { |
| 741 "name": "enable", | 744 "name": "enable", |
| 742 "hidden": true, | |
| 743 "description": "Enables reporting of execution contexts creation
by means of <code>executionContextCreated</code> event. When the reporting gets
enabled the event will be sent immediately for each existing execution context.
" | 745 "description": "Enables reporting of execution contexts creation
by means of <code>executionContextCreated</code> event. When the reporting gets
enabled the event will be sent immediately for each existing execution context.
" |
| 744 }, | 746 }, |
| 745 { | 747 { |
| 746 "name": "disable", | 748 "name": "disable", |
| 747 "hidden": true, | 749 "hidden": true, |
| 748 "description": "Disables reporting of execution contexts creatio
n." | 750 "description": "Disables reporting of execution contexts creatio
n." |
| 749 } | 751 } |
| 750 ], | 752 ], |
| 751 "events": [ | 753 "events": [ |
| 752 { | 754 { |
| 753 "name": "executionContextCreated", | 755 "name": "executionContextCreated", |
| 754 "parameters": [ | 756 "parameters": [ |
| 755 { "name": "context", "$ref": "ExecutionContextDescription",
"description": "A newly created execution contex." } | 757 { "name": "context", "$ref": "ExecutionContextDescription",
"description": "A newly created execution contex." } |
| 756 ], | 758 ], |
| 757 "hidden": true, | |
| 758 "description": "Issued when new execution context is created." | 759 "description": "Issued when new execution context is created." |
| 759 } | 760 } |
| 760 ] | 761 ] |
| 761 }, | 762 }, |
| 762 { | 763 { |
| 763 "domain": "Console", | 764 "domain": "Console", |
| 764 "description": "Console domain defines methods and events for interactio
n with the JavaScript console. Console collects messages created by means of the
<a href='http://getfirebug.com/wiki/index.php/Console_API'>JavaScript Console A
PI</a>. One needs to enable this domain using <code>enable</code> command in ord
er to start receiving the console messages. Browser collects messages issued whi
le console domain is not enabled as well and reports them using <code>messageAdd
ed</code> notification upon enabling.", | 765 "description": "Console domain defines methods and events for interactio
n with the JavaScript console. Console collects messages created by means of the
<a href='http://getfirebug.com/wiki/index.php/Console_API'>JavaScript Console A
PI</a>. One needs to enable this domain using <code>enable</code> command in ord
er to start receiving the console messages. Browser collects messages issued whi
le console domain is not enabled as well and reports them using <code>messageAdd
ed</code> notification upon enabling.", |
| 765 "types": [ | 766 "types": [ |
| 766 { | 767 { |
| 767 "id": "ConsoleMessage", | 768 "id": "ConsoleMessage", |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 824 "parameters": [ | 825 "parameters": [ |
| 825 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "DO
M node id to be accessible by means of $x command line API." } | 826 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "DO
M node id to be accessible by means of $x command line API." } |
| 826 ], | 827 ], |
| 827 "description": "Enables console to refer to the node with given
id via $x (see Command Line API for more details $x functions).", | 828 "description": "Enables console to refer to the node with given
id via $x (see Command Line API for more details $x functions).", |
| 828 "hidden": true | 829 "hidden": true |
| 829 }, | 830 }, |
| 830 { | 831 { |
| 831 "name": "addInspectedHeapObject", | 832 "name": "addInspectedHeapObject", |
| 832 "parameters": [ | 833 "parameters": [ |
| 833 { "name": "heapObjectId", "type": "integer" } | 834 { "name": "heapObjectId", "type": "integer" } |
| 834 ] | 835 ], |
| 836 "hidden": true |
| 835 } | 837 } |
| 836 ], | 838 ], |
| 837 "events": [ | 839 "events": [ |
| 838 { | 840 { |
| 839 "name": "messageAdded", | 841 "name": "messageAdded", |
| 840 "parameters": [ | 842 "parameters": [ |
| 841 { "name": "message", "$ref": "ConsoleMessage", "description"
: "Console message that has been added." } | 843 { "name": "message", "$ref": "ConsoleMessage", "description"
: "Console message that has been added." } |
| 842 ], | 844 ], |
| 843 "description": "Issued when new console message is added." | 845 "description": "Issued when new console message is added." |
| 844 }, | 846 }, |
| (...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1401 { "name": "indexName", "type": "string", "description": "Ind
ex name, empty string for object store data requests." }, | 1403 { "name": "indexName", "type": "string", "description": "Ind
ex name, empty string for object store data requests." }, |
| 1402 { "name": "skipCount", "type": "integer", "description": "Nu
mber of records to skip." }, | 1404 { "name": "skipCount", "type": "integer", "description": "Nu
mber of records to skip." }, |
| 1403 { "name": "pageSize", "type": "integer", "description": "Num
ber of records to fetch." }, | 1405 { "name": "pageSize", "type": "integer", "description": "Num
ber of records to fetch." }, |
| 1404 { "name": "keyRange", "$ref": "KeyRange", "optional": true,
"description": "Key range." } | 1406 { "name": "keyRange", "$ref": "KeyRange", "optional": true,
"description": "Key range." } |
| 1405 ], | 1407 ], |
| 1406 "returns": [ | 1408 "returns": [ |
| 1407 { "name": "objectStoreDataEntries", "type": "array", "items"
: { "$ref": "DataEntry" }, "description": "Array of object store data entries."
}, | 1409 { "name": "objectStoreDataEntries", "type": "array", "items"
: { "$ref": "DataEntry" }, "description": "Array of object store data entries."
}, |
| 1408 { "name": "hasMore", "type": "boolean", "description": "If t
rue, there are more entries to fetch in the given range." } | 1410 { "name": "hasMore", "type": "boolean", "description": "If t
rue, there are more entries to fetch in the given range." } |
| 1409 ], | 1411 ], |
| 1410 "description": "Requests data from object store or index." | 1412 "description": "Requests data from object store or index." |
| 1413 }, |
| 1414 { |
| 1415 "name": "clearObjectStore", |
| 1416 "async": true, |
| 1417 "parameters": [ |
| 1418 { "name": "securityOrigin", "type": "string", "description":
"Security origin." }, |
| 1419 { "name": "databaseName", "type": "string", "description": "
Database name." }, |
| 1420 { "name": "objectStoreName", "type": "string", "description"
: "Object store name." } |
| 1421 ], |
| 1422 "returns": [ |
| 1423 ], |
| 1424 "description": "Clears all entries from an object store." |
| 1411 } | 1425 } |
| 1412 ] | 1426 ] |
| 1413 }, | 1427 }, |
| 1414 { | 1428 { |
| 1415 "domain": "DOMStorage", | 1429 "domain": "DOMStorage", |
| 1416 "hidden": true, | 1430 "hidden": true, |
| 1417 "description": "Query and modify DOM storage.", | 1431 "description": "Query and modify DOM storage.", |
| 1418 "types": [ | 1432 "types": [ |
| 1419 { | 1433 { |
| 1420 "id": "StorageId", | 1434 "id": "StorageId", |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1706 "properties": [ | 1720 "properties": [ |
| 1707 { "name": "nodeId", "$ref": "NodeId", "description": "Node i
dentifier that is passed into the rest of the DOM messages as the <code>nodeId</
code>. Backend will only push node with given <code>id</code> once. It is aware
of all requested nodes and will only fire DOM events for nodes known to the clie
nt." }, | 1721 { "name": "nodeId", "$ref": "NodeId", "description": "Node i
dentifier that is passed into the rest of the DOM messages as the <code>nodeId</
code>. Backend will only push node with given <code>id</code> once. It is aware
of all requested nodes and will only fire DOM events for nodes known to the clie
nt." }, |
| 1708 { "name": "nodeType", "type": "integer", "description": "<co
de>Node</code>'s nodeType." }, | 1722 { "name": "nodeType", "type": "integer", "description": "<co
de>Node</code>'s nodeType." }, |
| 1709 { "name": "nodeName", "type": "string", "description": "<cod
e>Node</code>'s nodeName." }, | 1723 { "name": "nodeName", "type": "string", "description": "<cod
e>Node</code>'s nodeName." }, |
| 1710 { "name": "localName", "type": "string", "description": "<co
de>Node</code>'s localName." }, | 1724 { "name": "localName", "type": "string", "description": "<co
de>Node</code>'s localName." }, |
| 1711 { "name": "nodeValue", "type": "string", "description": "<co
de>Node</code>'s nodeValue." }, | 1725 { "name": "nodeValue", "type": "string", "description": "<co
de>Node</code>'s nodeValue." }, |
| 1712 { "name": "childNodeCount", "type": "integer", "optional": t
rue, "description": "Child count for <code>Container</code> nodes." }, | 1726 { "name": "childNodeCount", "type": "integer", "optional": t
rue, "description": "Child count for <code>Container</code> nodes." }, |
| 1713 { "name": "children", "type": "array", "optional": true, "it
ems": { "$ref": "Node" }, "description": "Child nodes of this node when requeste
d with children." }, | 1727 { "name": "children", "type": "array", "optional": true, "it
ems": { "$ref": "Node" }, "description": "Child nodes of this node when requeste
d with children." }, |
| 1714 { "name": "attributes", "type": "array", "optional": true, "
items": { "type": "string" }, "description": "Attributes of the <code>Element</c
ode> node in the form of flat array <code>[name1, value1, name2, value2]</code>.
" }, | 1728 { "name": "attributes", "type": "array", "optional": true, "
items": { "type": "string" }, "description": "Attributes of the <code>Element</c
ode> node in the form of flat array <code>[name1, value1, name2, value2]</code>.
" }, |
| 1715 { "name": "documentURL", "type": "string", "optional": true,
"description": "Document URL that <code>Document</code> or <code>FrameOwner</co
de> node points to." }, | 1729 { "name": "documentURL", "type": "string", "optional": true,
"description": "Document URL that <code>Document</code> or <code>FrameOwner</co
de> node points to." }, |
| 1716 { "name": "baseURL", "type": "string", "optional": true, "de
scription": "Base URL that <code>Document</code> or <code>FrameOwner</code> node
uses for URL completion." }, | 1730 { "name": "baseURL", "type": "string", "optional": true, "de
scription": "Base URL that <code>Document</code> or <code>FrameOwner</code> node
uses for URL completion.", "hidden": true }, |
| 1717 { "name": "publicId", "type": "string", "optional": true, "d
escription": "<code>DocumentType</code>'s publicId." }, | 1731 { "name": "publicId", "type": "string", "optional": true, "d
escription": "<code>DocumentType</code>'s publicId." }, |
| 1718 { "name": "systemId", "type": "string", "optional": true, "d
escription": "<code>DocumentType</code>'s systemId." }, | 1732 { "name": "systemId", "type": "string", "optional": true, "d
escription": "<code>DocumentType</code>'s systemId." }, |
| 1719 { "name": "internalSubset", "type": "string", "optional": tr
ue, "description": "<code>DocumentType</code>'s internalSubset." }, | 1733 { "name": "internalSubset", "type": "string", "optional": tr
ue, "description": "<code>DocumentType</code>'s internalSubset." }, |
| 1720 { "name": "xmlVersion", "type": "string", "optional": true,
"description": "<code>Document</code>'s XML version in case of XML documents." }
, | 1734 { "name": "xmlVersion", "type": "string", "optional": true,
"description": "<code>Document</code>'s XML version in case of XML documents." }
, |
| 1721 { "name": "name", "type": "string", "optional": true, "descr
iption": "<code>Attr</code>'s name." }, | 1735 { "name": "name", "type": "string", "optional": true, "descr
iption": "<code>Attr</code>'s name." }, |
| 1722 { "name": "value", "type": "string", "optional": true, "desc
ription": "<code>Attr</code>'s value." }, | 1736 { "name": "value", "type": "string", "optional": true, "desc
ription": "<code>Attr</code>'s value." }, |
| 1723 { "name": "frameId", "$ref": "Network.FrameId", "optional":
true, "description": "Frame ID for frame owner elements." }, | 1737 { "name": "frameId", "$ref": "Network.FrameId", "optional":
true, "description": "Frame ID for frame owner elements.", "hidden": true }, |
| 1724 { "name": "contentDocument", "$ref": "Node", "optional": tru
e, "description": "Content document for frame owner elements." }, | 1738 { "name": "contentDocument", "$ref": "Node", "optional": tru
e, "description": "Content document for frame owner elements." }, |
| 1725 { "name": "shadowRoots", "type": "array", "optional": true,
"items": { "$ref": "Node" }, "description": "Shadow root list for given element
host." }, | 1739 { "name": "shadowRoots", "type": "array", "optional": true,
"items": { "$ref": "Node" }, "description": "Shadow root list for given element
host.", "hidden": true }, |
| 1726 { "name": "templateContent", "$ref": "Node", "optional": tru
e, "description": "Content document fragment for template elements" } | 1740 { "name": "templateContent", "$ref": "Node", "optional": tru
e, "description": "Content document fragment for template elements", "hidden": t
rue } |
| 1727 ], | 1741 ], |
| 1728 "description": "DOM interaction is implemented in terms of mirro
r objects that represent the actual DOM nodes. DOMNode is a base node mirror typ
e." | 1742 "description": "DOM interaction is implemented in terms of mirro
r objects that represent the actual DOM nodes. DOMNode is a base node mirror typ
e." |
| 1729 }, | 1743 }, |
| 1730 { | 1744 { |
| 1731 "id": "EventListener", | 1745 "id": "EventListener", |
| 1732 "type": "object", | 1746 "type": "object", |
| 1733 "hidden": true, | 1747 "hidden": true, |
| 1734 "properties": [ | 1748 "properties": [ |
| 1735 { "name": "type", "type": "string", "description": "<code>Ev
entListener</code>'s type." }, | 1749 { "name": "type", "type": "string", "description": "<code>Ev
entListener</code>'s type." }, |
| 1736 { "name": "useCapture", "type": "boolean", "description": "<
code>EventListener</code>'s useCapture." }, | 1750 { "name": "useCapture", "type": "boolean", "description": "<
code>EventListener</code>'s useCapture." }, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1772 "name": "getDocument", | 1786 "name": "getDocument", |
| 1773 "returns": [ | 1787 "returns": [ |
| 1774 { "name": "root", "$ref": "Node", "description": "Resulting
node." } | 1788 { "name": "root", "$ref": "Node", "description": "Resulting
node." } |
| 1775 ], | 1789 ], |
| 1776 "description": "Returns the root DOM node to the caller." | 1790 "description": "Returns the root DOM node to the caller." |
| 1777 }, | 1791 }, |
| 1778 { | 1792 { |
| 1779 "name": "requestChildNodes", | 1793 "name": "requestChildNodes", |
| 1780 "parameters": [ | 1794 "parameters": [ |
| 1781 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to get children for." }, | 1795 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to get children for." }, |
| 1782 { "name": "depth", "type": "integer", "optional": true, "des
cription": "The maximum depth at which children should be retrieved, defaults to
1. Use -1 for the entire subtree or provide an integer larger than 0." } | 1796 { "name": "depth", "type": "integer", "optional": true, "des
cription": "The maximum depth at which children should be retrieved, defaults to
1. Use -1 for the entire subtree or provide an integer larger than 0.", "hidden
": true } |
| 1783 ], | 1797 ], |
| 1784 "description": "Requests that children of the node with given id
are returned to the caller in form of <code>setChildNodes</code> events where n
ot only immediate children are retrieved, but all children down to the specified
depth." | 1798 "description": "Requests that children of the node with given id
are returned to the caller in form of <code>setChildNodes</code> events where n
ot only immediate children are retrieved, but all children down to the specified
depth." |
| 1785 }, | 1799 }, |
| 1786 { | 1800 { |
| 1787 "name": "querySelector", | 1801 "name": "querySelector", |
| 1788 "parameters": [ | 1802 "parameters": [ |
| 1789 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to query upon." }, | 1803 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to query upon." }, |
| 1790 { "name": "selector", "type": "string", "description": "Sele
ctor string." } | 1804 { "name": "selector", "type": "string", "description": "Sele
ctor string." } |
| 1791 ], | 1805 ], |
| 1792 "returns": [ | 1806 "returns": [ |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1949 { "name": "color", "$ref": "RGBA", "optional": true, "descri
ption": "The highlight fill color (default: transparent)." }, | 1963 { "name": "color", "$ref": "RGBA", "optional": true, "descri
ption": "The highlight fill color (default: transparent)." }, |
| 1950 { "name": "outlineColor", "$ref": "RGBA", "optional": true,
"description": "The highlight outline color (default: transparent)." } | 1964 { "name": "outlineColor", "$ref": "RGBA", "optional": true,
"description": "The highlight outline color (default: transparent)." } |
| 1951 ], | 1965 ], |
| 1952 "description": "Highlights given rectangle. Coordinates are abso
lute with respect to the main frame viewport." | 1966 "description": "Highlights given rectangle. Coordinates are abso
lute with respect to the main frame viewport." |
| 1953 }, | 1967 }, |
| 1954 { | 1968 { |
| 1955 "name": "highlightNode", | 1969 "name": "highlightNode", |
| 1956 "parameters": [ | 1970 "parameters": [ |
| 1957 { "name": "highlightConfig", "$ref": "HighlightConfig", "de
scription": "A descriptor for the highlight appearance." }, | 1971 { "name": "highlightConfig", "$ref": "HighlightConfig", "de
scription": "A descriptor for the highlight appearance." }, |
| 1958 { "name": "nodeId", "$ref": "NodeId", "optional": true, "des
cription": "Identifier of the node to highlight." }, | 1972 { "name": "nodeId", "$ref": "NodeId", "optional": true, "des
cription": "Identifier of the node to highlight." }, |
| 1959 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "opt
ional": true, "description": "JavaScript object id of the node to be highlighted
." } | 1973 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "opt
ional": true, "description": "JavaScript object id of the node to be highlighted
.", "hidden": true } |
| 1960 ], | 1974 ], |
| 1961 "description": "Highlights DOM node with given id or with the gi
ven JavaScript object wrapper. Either nodeId or objectId must be specified." | 1975 "description": "Highlights DOM node with given id or with the gi
ven JavaScript object wrapper. Either nodeId or objectId must be specified." |
| 1962 }, | 1976 }, |
| 1963 { | 1977 { |
| 1964 "name": "hideHighlight", | 1978 "name": "hideHighlight", |
| 1965 "description": "Hides DOM node highlight." | 1979 "description": "Hides DOM node highlight." |
| 1966 }, | 1980 }, |
| 1967 { | 1981 { |
| 1968 "name": "highlightFrame", | 1982 "name": "highlightFrame", |
| 1969 "parameters": [ | 1983 "parameters": [ |
| (...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2581 }, | 2595 }, |
| 2582 { | 2596 { |
| 2583 "domain": "Timeline", | 2597 "domain": "Timeline", |
| 2584 "description": "Timeline provides its clients with instrumentation recor
ds that are generated during the page runtime. Timeline instrumentation can be s
tarted and stopped using corresponding commands. While timeline is started, it i
s generating timeline event records.", | 2598 "description": "Timeline provides its clients with instrumentation recor
ds that are generated during the page runtime. Timeline instrumentation can be s
tarted and stopped using corresponding commands. While timeline is started, it i
s generating timeline event records.", |
| 2585 "types": [ | 2599 "types": [ |
| 2586 { | 2600 { |
| 2587 "id": "TimelineEvent", | 2601 "id": "TimelineEvent", |
| 2588 "type": "object", | 2602 "type": "object", |
| 2589 "properties": [ | 2603 "properties": [ |
| 2590 { "name": "type", "type": "string", "description": "Event ty
pe." }, | 2604 { "name": "type", "type": "string", "description": "Event ty
pe." }, |
| 2591 { "name": "thread", "type": "string", "optional": true, "des
cription": "If present, identifies the thread that produced the event." }, | 2605 { "name": "thread", "type": "string", "optional": true, "des
cription": "If present, identifies the thread that produced the event.", "hidden
": true }, |
| 2592 { "name": "data", "type": "object", "description": "Event da
ta." }, | 2606 { "name": "data", "type": "object", "description": "Event da
ta." }, |
| 2593 { "name": "children", "type": "array", "optional": true, "it
ems": { "$ref": "TimelineEvent" }, "description": "Nested records." } | 2607 { "name": "children", "type": "array", "optional": true, "it
ems": { "$ref": "TimelineEvent" }, "description": "Nested records." } |
| 2594 ], | 2608 ], |
| 2595 "description": "Timeline record contains information about the r
ecorded activity." | 2609 "description": "Timeline record contains information about the r
ecorded activity." |
| 2596 } | 2610 } |
| 2597 ], | 2611 ], |
| 2598 "commands": [ | 2612 "commands": [ |
| 2599 { | 2613 { |
| 2600 "name": "start", | 2614 "name": "start", |
| 2601 "parameters": [ | 2615 "parameters": [ |
| 2602 { "name": "maxCallStackDepth", "optional": true, "type": "in
teger", "description": "Samples JavaScript stack traces up to <code>maxCallStack
Depth</code>, defaults to 5." } | 2616 { "name": "maxCallStackDepth", "optional": true, "type": "in
teger", "description": "Samples JavaScript stack traces up to <code>maxCallStack
Depth</code>, defaults to 5." }, |
| 2617 { "name": "includeDomCounters", "optional": true, "type": "b
oolean", "hidden": true, "description": "Whether DOM counters data should be inc
luded into timeline events." }, |
| 2618 { "name": "includeNativeMemoryStatistics", "optional": true,
"type": "boolean", "hidden": true, "description": "Whether native memory usage
statistics should be reported as part of timeline events." } |
| 2619 |
| 2603 ], | 2620 ], |
| 2604 "description": "Starts capturing instrumentation events." | 2621 "description": "Starts capturing instrumentation events." |
| 2605 }, | 2622 }, |
| 2606 { | 2623 { |
| 2607 "name": "stop", | 2624 "name": "stop", |
| 2608 "description": "Stops capturing instrumentation events." | 2625 "description": "Stops capturing instrumentation events." |
| 2609 }, | 2626 }, |
| 2610 { | 2627 { |
| 2611 "name": "setIncludeDomCounters", | |
| 2612 "parameters": [ | |
| 2613 { "name": "enabled", "type": "boolean", "description": "Whet
her DOM counters data should be included into timeline events." } | |
| 2614 ], | |
| 2615 "hidden": true, | |
| 2616 "description": "Controls if DOM counters should be send as part
of timeline events." | |
| 2617 }, | |
| 2618 { | |
| 2619 "name": "setIncludeNativeMemoryStatistics", | |
| 2620 "parameters": [ | |
| 2621 { "name": "enabled", "type": "boolean", "description": "Whet
her native memory usage statistics should be reported as part of timeline events
." } | |
| 2622 ], | |
| 2623 "hidden": true, | |
| 2624 "description": "Controls whether statistics on native memory usa
ge is sent with timeline events." | |
| 2625 }, | |
| 2626 { | |
| 2627 "name": "supportsFrameInstrumentation", | 2628 "name": "supportsFrameInstrumentation", |
| 2628 "returns": [ | 2629 "returns": [ |
| 2629 { "name": "result", "type": "boolean", "description": "True
if timeline supports frame instrumentation." } | 2630 { "name": "result", "type": "boolean", "description": "True
if timeline supports frame instrumentation." } |
| 2630 ], | 2631 ], |
| 2631 "hidden": true, | 2632 "hidden": true, |
| 2632 "description": "Tells whether timeline agent supports frame inst
rumentation." | 2633 "description": "Tells whether timeline agent supports frame inst
rumentation." |
| 2633 }, | 2634 }, |
| 2634 { | 2635 { |
| 2635 "name": "canMonitorMainThread", | 2636 "name": "canMonitorMainThread", |
| 2636 "returns": [ | 2637 "returns": [ |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2955 "name": "scriptParsed", | 2956 "name": "scriptParsed", |
| 2956 "parameters": [ | 2957 "parameters": [ |
| 2957 { "name": "scriptId", "$ref": "ScriptId", "description": "Id
entifier of the script parsed." }, | 2958 { "name": "scriptId", "$ref": "ScriptId", "description": "Id
entifier of the script parsed." }, |
| 2958 { "name": "url", "type": "string", "description": "URL or na
me of the script parsed (if any)." }, | 2959 { "name": "url", "type": "string", "description": "URL or na
me of the script parsed (if any)." }, |
| 2959 { "name": "startLine", "type": "integer", "description": "Li
ne offset of the script within the resource with given URL (for script tags)." }
, | 2960 { "name": "startLine", "type": "integer", "description": "Li
ne offset of the script within the resource with given URL (for script tags)." }
, |
| 2960 { "name": "startColumn", "type": "integer", "description": "
Column offset of the script within the resource with given URL." }, | 2961 { "name": "startColumn", "type": "integer", "description": "
Column offset of the script within the resource with given URL." }, |
| 2961 { "name": "endLine", "type": "integer", "description": "Last
line of the script." }, | 2962 { "name": "endLine", "type": "integer", "description": "Last
line of the script." }, |
| 2962 { "name": "endColumn", "type": "integer", "description": "Le
ngth of the last line of the script." }, | 2963 { "name": "endColumn", "type": "integer", "description": "Le
ngth of the last line of the script." }, |
| 2963 { "name": "isContentScript", "type": "boolean", "optional":
true, "description": "Determines whether this script is a user extension script.
" }, | 2964 { "name": "isContentScript", "type": "boolean", "optional":
true, "description": "Determines whether this script is a user extension script.
" }, |
| 2964 { "name": "sourceMapURL", "type": "string", "optional": true
, "description": "URL of source map associated with script (if any)." }, | 2965 { "name": "sourceMapURL", "type": "string", "optional": true
, "description": "URL of source map associated with script (if any)." }, |
| 2965 { "name": "hasSourceURL", "type": "boolean", "optional": tru
e, "description": "True, if this script has sourceURL." } | 2966 { "name": "hasSourceURL", "type": "boolean", "optional": tru
e, "description": "True, if this script has sourceURL.", "hidden": true } |
| 2966 ], | 2967 ], |
| 2967 "description": "Fired when virtual machine parses script. This e
vent is also fired for all known and uncollected scripts upon enabling debugger.
" | 2968 "description": "Fired when virtual machine parses script. This e
vent is also fired for all known and uncollected scripts upon enabling debugger.
" |
| 2968 }, | 2969 }, |
| 2969 { | 2970 { |
| 2970 "name": "scriptFailedToParse", | 2971 "name": "scriptFailedToParse", |
| 2971 "parameters": [ | 2972 "parameters": [ |
| 2972 { "name": "url", "type": "string", "description": "URL of th
e script that failed to parse." }, | 2973 { "name": "url", "type": "string", "description": "URL of th
e script that failed to parse." }, |
| 2973 { "name": "scriptSource", "type": "string", "description": "
Source text of the script that failed to parse." }, | 2974 { "name": "scriptSource", "type": "string", "description": "
Source text of the script that failed to parse." }, |
| 2974 { "name": "startLine", "type": "integer", "description": "Li
ne offset of the script within the resource." }, | 2975 { "name": "startLine", "type": "integer", "description": "Li
ne offset of the script within the resource." }, |
| 2975 { "name": "errorLine", "type": "integer", "description": "Li
ne with error." }, | 2976 { "name": "errorLine", "type": "integer", "description": "Li
ne with error." }, |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3095 "description": "CPU Profile node. Holds callsite information, ex
ecution statistics and child nodes.", | 3096 "description": "CPU Profile node. Holds callsite information, ex
ecution statistics and child nodes.", |
| 3096 "properties": [ | 3097 "properties": [ |
| 3097 { "name": "functionName", "type": "string", "description": "
Function name." }, | 3098 { "name": "functionName", "type": "string", "description": "
Function name." }, |
| 3098 { "name": "url", "type": "string", "description": "URL." }, | 3099 { "name": "url", "type": "string", "description": "URL." }, |
| 3099 { "name": "lineNumber", "type": "integer", "description": "L
ine number." }, | 3100 { "name": "lineNumber", "type": "integer", "description": "L
ine number." }, |
| 3100 { "name": "totalTime", "type": "number", "description": "Tot
al execution time." }, | 3101 { "name": "totalTime", "type": "number", "description": "Tot
al execution time." }, |
| 3101 { "name": "selfTime", "type": "number", "description": "Self
time." }, | 3102 { "name": "selfTime", "type": "number", "description": "Self
time." }, |
| 3102 { "name": "numberOfCalls", "type": "integer", "description":
"Number of calls." }, | 3103 { "name": "numberOfCalls", "type": "integer", "description":
"Number of calls." }, |
| 3103 { "name": "visible", "type": "boolean", "description": "Visi
bility." }, | 3104 { "name": "visible", "type": "boolean", "description": "Visi
bility." }, |
| 3104 { "name": "callUID", "type": "number", "description": "Call
UID." }, | 3105 { "name": "callUID", "type": "number", "description": "Call
UID." }, |
| 3105 { "name": "children", "type": "array", "items": { "$ref": "C
PUProfileNode" }, "description": "Child nodes." } | 3106 { "name": "children", "type": "array", "items": { "$ref": "C
PUProfileNode" }, "description": "Child nodes." }, |
| 3107 { "name": "id", "optional": true, "type": "integer", "descri
ption": "Unique id of the node." } |
| 3106 ] | 3108 ] |
| 3107 }, | 3109 }, |
| 3108 { | 3110 { |
| 3109 "id": "CPUProfile", | 3111 "id": "CPUProfile", |
| 3110 "type": "object", | 3112 "type": "object", |
| 3111 "description": "Profile.", | 3113 "description": "Profile.", |
| 3112 "properties": [ | 3114 "properties": [ |
| 3113 { "name": "head", "$ref": "CPUProfileNode", "optional": true
}, | 3115 { "name": "head", "$ref": "CPUProfileNode", "optional": true
}, |
| 3114 { "name": "idleTime", "type": "number", "optional": true } | 3116 { "name": "idleTime", "type": "number", "optional": true }, |
| 3117 { "name": "samples", "optional": true, "type": "array", "ite
ms": { "type": "integer" }, "description": "Ids of samples top nodes." } |
| 3115 ] | 3118 ] |
| 3116 }, | 3119 }, |
| 3117 { | 3120 { |
| 3118 "id": "HeapSnapshotObjectId", | 3121 "id": "HeapSnapshotObjectId", |
| 3119 "type": "string", | 3122 "type": "string", |
| 3120 "description": "Heap snashot object id." | 3123 "description": "Heap snashot object id." |
| 3121 } | 3124 } |
| 3122 ], | 3125 ], |
| 3123 "commands": [ | 3126 "commands": [ |
| 3124 { | 3127 { |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3598 "parameters": [ | 3601 "parameters": [ |
| 3599 { "name": "frameId", "$ref": "Network.FrameId", "optional":
true, "description": "If given, trace logs from the given frame were removed." }
, | 3602 { "name": "frameId", "$ref": "Network.FrameId", "optional":
true, "description": "If given, trace logs from the given frame were removed." }
, |
| 3600 { "name": "traceLogId", "$ref": "TraceLogId", "optional": tr
ue, "description": "If given, trace log with the given ID was removed." } | 3603 { "name": "traceLogId", "$ref": "TraceLogId", "optional": tr
ue, "description": "If given, trace log with the given ID was removed." } |
| 3601 ], | 3604 ], |
| 3602 "description": "Fired when a set of trace logs were removed from
the backend. If no parameters are given, all trace logs were removed." | 3605 "description": "Fired when a set of trace logs were removed from
the backend. If no parameters are given, all trace logs were removed." |
| 3603 } | 3606 } |
| 3604 ] | 3607 ] |
| 3605 }, | 3608 }, |
| 3606 { | 3609 { |
| 3607 "domain": "Input", | 3610 "domain": "Input", |
| 3608 "hidden": true, | |
| 3609 "types": [], | 3611 "types": [], |
| 3610 "commands": [ | 3612 "commands": [ |
| 3611 { | 3613 { |
| 3612 "name": "dispatchKeyEvent", | 3614 "name": "dispatchKeyEvent", |
| 3613 "parameters": [ | 3615 "parameters": [ |
| 3614 { "name": "type", "type": "string", "enum": ["keyDown", "key
Up", "rawKeyDown", "char"], "description": "Type of the key event." }, | 3616 { "name": "type", "type": "string", "enum": ["keyDown", "key
Up", "rawKeyDown", "char"], "description": "Type of the key event." }, |
| 3615 { "name": "modifiers", "type": "integer", "optional": true,
"description": "Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Met
a/Command=4, Shift=8 (default: 0)." }, | 3617 { "name": "modifiers", "type": "integer", "optional": true,
"description": "Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Met
a/Command=4, Shift=8 (default: 0)." }, |
| 3616 { "name": "timestamp", "type": "number", "optional": true, "
description": "Time at which the event occurred. Measured in UTC time in seconds
since January 1, 1970 (default: current time)." }, | 3618 { "name": "timestamp", "type": "number", "optional": true, "
description": "Time at which the event occurred. Measured in UTC time in seconds
since January 1, 1970 (default: current time)." }, |
| 3617 { "name": "text", "type": "string", "optional": true, "descr
iption": "Text as generated by processing a virtual key code with a keyboard lay
out. Not needed for for <code>keyUp</code> and <code>rawKeyDown</code> events (d
efault: \"\")" }, | 3619 { "name": "text", "type": "string", "optional": true, "descr
iption": "Text as generated by processing a virtual key code with a keyboard lay
out. Not needed for for <code>keyUp</code> and <code>rawKeyDown</code> events (d
efault: \"\")" }, |
| 3618 { "name": "unmodifiedText", "type": "string", "optional": tr
ue, "description": "Text that would have been generated by the keyboard if no mo
difiers were pressed (except for shift). Useful for shortcut (accelerator) key h
andling (default: \"\")." }, | 3620 { "name": "unmodifiedText", "type": "string", "optional": tr
ue, "description": "Text that would have been generated by the keyboard if no mo
difiers were pressed (except for shift). Useful for shortcut (accelerator) key h
andling (default: \"\")." }, |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3746 ] | 3748 ] |
| 3747 } | 3749 } |
| 3748 ], | 3750 ], |
| 3749 "events": [ | 3751 "events": [ |
| 3750 { | 3752 { |
| 3751 "name": "layerTreeDidChange" | 3753 "name": "layerTreeDidChange" |
| 3752 } | 3754 } |
| 3753 ] | 3755 ] |
| 3754 }] | 3756 }] |
| 3755 } | 3757 } |
| OLD | NEW |