| 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 ], | |
| 71 "types": [ | 65 "types": [ |
| 72 { | 66 { |
| 73 "id": "ResourceType", | 67 "id": "ResourceType", |
| 74 "type": "string", | 68 "type": "string", |
| 75 "enum": ["Document", "Stylesheet", "Image", "Media", "Font", "Sc
ript", "TextTrack", "XHR", "WebSocket", "Other"], | 69 "enum": ["Document", "Stylesheet", "Image", "Media", "Font", "Sc
ript", "TextTrack", "XHR", "WebSocket", "Other"], |
| 76 "description": "Resource type as it was perceived by the renderi
ng engine." | 70 "description": "Resource type as it was perceived by the renderi
ng engine." |
| 77 }, | 71 }, |
| 78 { | 72 { |
| 79 "id": "FrameId", | 73 "id": "FrameId", |
| 80 "type": "string", | 74 "type": "string", |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 "description": "Requests that backend shows scroll bottleneck re
cts", | 615 "description": "Requests that backend shows scroll bottleneck re
cts", |
| 622 "parameters": [ | 616 "parameters": [ |
| 623 { "name": "show", "type": "boolean", "description": "True fo
r showing scroll bottleneck rects" } | 617 { "name": "show", "type": "boolean", "description": "True fo
r showing scroll bottleneck rects" } |
| 624 ] | 618 ] |
| 625 } | 619 } |
| 626 ] | 620 ] |
| 627 }, | 621 }, |
| 628 { | 622 { |
| 629 "domain": "Emulation", | 623 "domain": "Emulation", |
| 630 "description": "This domain emulates different environments for the page
.", | 624 "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 ], | |
| 637 "hidden": true, | 625 "hidden": true, |
| 638 "types": [ | 626 "types": [ |
| 639 { | 627 { |
| 640 "id": "Viewport", | 628 "id": "Viewport", |
| 641 "type": "object", | 629 "type": "object", |
| 642 "description": "Visible page viewport", | 630 "description": "Visible page viewport", |
| 643 "properties": [ | 631 "properties": [ |
| 644 { "name": "scrollX", "type": "number", "description": "X scr
oll offset in CSS pixels." }, | 632 { "name": "scrollX", "type": "number", "description": "X scr
oll offset in CSS pixels." }, |
| 645 { "name": "scrollY", "type": "number", "description": "Y scr
oll offset in CSS pixels." }, | 633 { "name": "scrollY", "type": "number", "description": "Y scr
oll offset in CSS pixels." }, |
| 646 { "name": "contentsWidth", "type": "number", "description":
"Contents width in CSS pixels." }, | 634 { "name": "contentsWidth", "type": "number", "description":
"Contents width in CSS pixels." }, |
| (...skipping 4412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5059 "description": "The security state of the page changed.", | 5047 "description": "The security state of the page changed.", |
| 5060 "parameters": [ | 5048 "parameters": [ |
| 5061 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state." }, | 5049 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state." }, |
| 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 } | 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 } |
| 5063 ], | 5051 ], |
| 5064 "handlers": ["browser"] | 5052 "handlers": ["browser"] |
| 5065 } | 5053 } |
| 5066 ] | 5054 ] |
| 5067 }] | 5055 }] |
| 5068 } | 5056 } |
| OLD | NEW |