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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 { "name": "documents", "type": "integer" }, | 55 { "name": "documents", "type": "integer" }, |
56 { "name": "nodes", "type": "integer" }, | 56 { "name": "nodes", "type": "integer" }, |
57 { "name": "jsEventListeners", "type": "integer" } | 57 { "name": "jsEventListeners", "type": "integer" } |
58 ] | 58 ] |
59 } | 59 } |
60 ] | 60 ] |
61 }, | 61 }, |
62 { | 62 { |
63 "domain": "Page", | 63 "domain": "Page", |
64 "description": "Actions and events related to the inspected page belong
to the page domain.", | 64 "description": "Actions and events related to the inspected page belong
to the page domain.", |
| 65 "capabilities": [ |
| 66 { |
| 67 "name": "screencast", |
| 68 "description": "Whether screencast is supported." |
| 69 } |
| 70 ], |
65 "types": [ | 71 "types": [ |
66 { | 72 { |
67 "id": "ResourceType", | 73 "id": "ResourceType", |
68 "type": "string", | 74 "type": "string", |
69 "enum": ["Document", "Stylesheet", "Image", "Media", "Font", "Sc
ript", "TextTrack", "XHR", "WebSocket", "Other"], | 75 "enum": ["Document", "Stylesheet", "Image", "Media", "Font", "Sc
ript", "TextTrack", "XHR", "WebSocket", "Other"], |
70 "description": "Resource type as it was perceived by the renderi
ng engine." | 76 "description": "Resource type as it was perceived by the renderi
ng engine." |
71 }, | 77 }, |
72 { | 78 { |
73 "id": "FrameId", | 79 "id": "FrameId", |
74 "type": "string", | 80 "type": "string", |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 "description": "Requests that backend shows scroll bottleneck re
cts", | 621 "description": "Requests that backend shows scroll bottleneck re
cts", |
616 "parameters": [ | 622 "parameters": [ |
617 { "name": "show", "type": "boolean", "description": "True fo
r showing scroll bottleneck rects" } | 623 { "name": "show", "type": "boolean", "description": "True fo
r showing scroll bottleneck rects" } |
618 ] | 624 ] |
619 } | 625 } |
620 ] | 626 ] |
621 }, | 627 }, |
622 { | 628 { |
623 "domain": "Emulation", | 629 "domain": "Emulation", |
624 "description": "This domain emulates different environments for the page
.", | 630 "description": "This domain emulates different environments for the page
.", |
| 631 "capabilities": [ |
| 632 { |
| 633 "name": "deviceMetrics", |
| 634 "description": "Whether device metrics emulation is supported." |
| 635 } |
| 636 ], |
625 "hidden": true, | 637 "hidden": true, |
626 "types": [ | 638 "types": [ |
627 { | 639 { |
628 "id": "Viewport", | 640 "id": "Viewport", |
629 "type": "object", | 641 "type": "object", |
630 "description": "Visible page viewport", | 642 "description": "Visible page viewport", |
631 "properties": [ | 643 "properties": [ |
632 { "name": "scrollX", "type": "number", "description": "X scr
oll offset in CSS pixels." }, | 644 { "name": "scrollX", "type": "number", "description": "X scr
oll offset in CSS pixels." }, |
633 { "name": "scrollY", "type": "number", "description": "Y scr
oll offset in CSS pixels." }, | 645 { "name": "scrollY", "type": "number", "description": "Y scr
oll offset in CSS pixels." }, |
634 { "name": "contentsWidth", "type": "number", "description":
"Contents width in CSS pixels." }, | 646 { "name": "contentsWidth", "type": "number", "description":
"Contents width in CSS pixels." }, |
(...skipping 4412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5047 "description": "The security state of the page changed.", | 5059 "description": "The security state of the page changed.", |
5048 "parameters": [ | 5060 "parameters": [ |
5049 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state." }, | 5061 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state." }, |
5050 { "name": "explanations", "type": "array", "items": { "$ref"
: "SecurityStateExplanation" }, "description": "List of explanations for the sec
urity state. If the overall security state is `insecure` or `warning`, at least
one corresponding explanation should be included.", "optional": true } | 5062 { "name": "explanations", "type": "array", "items": { "$ref"
: "SecurityStateExplanation" }, "description": "List of explanations for the sec
urity state. If the overall security state is `insecure` or `warning`, at least
one corresponding explanation should be included.", "optional": true } |
5051 ], | 5063 ], |
5052 "handlers": ["browser"] | 5064 "handlers": ["browser"] |
5053 } | 5065 } |
5054 ] | 5066 ] |
5055 }] | 5067 }] |
5056 } | 5068 } |
OLD | NEW |