| 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 2552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2563 "properties": [ | 2563 "properties": [ |
| 2564 { "name": "text", "type": "string", "description": "Media qu
ery text." }, | 2564 { "name": "text", "type": "string", "description": "Media qu
ery text." }, |
| 2565 { "name": "source", "type": "string", "enum": ["mediaRule",
"importRule", "linkedSheet", "inlineSheet"], "description": "Source of the media
query: \"mediaRule\" if specified by a @media rule, \"importRule\" if specified
by an @import rule, \"linkedSheet\" if specified by a \"media\" attribute in a
linked stylesheet's LINK tag, \"inlineSheet\" if specified by a \"media\" attrib
ute in an inline stylesheet's STYLE tag." }, | 2565 { "name": "source", "type": "string", "enum": ["mediaRule",
"importRule", "linkedSheet", "inlineSheet"], "description": "Source of the media
query: \"mediaRule\" if specified by a @media rule, \"importRule\" if specified
by an @import rule, \"linkedSheet\" if specified by a \"media\" attribute in a
linked stylesheet's LINK tag, \"inlineSheet\" if specified by a \"media\" attrib
ute in an inline stylesheet's STYLE tag." }, |
| 2566 { "name": "sourceURL", "type": "string", "optional": true, "
description": "URL of the document containing the media query description." }, | 2566 { "name": "sourceURL", "type": "string", "optional": true, "
description": "URL of the document containing the media query description." }, |
| 2567 { "name": "range", "$ref": "SourceRange", "optional": true,
"description": "The associated rule (@media or @import) header range in the encl
osing stylesheet (if available)." }, | 2567 { "name": "range", "$ref": "SourceRange", "optional": true,
"description": "The associated rule (@media or @import) header range in the encl
osing stylesheet (if available)." }, |
| 2568 { "name": "parentStyleSheetId", "$ref": "StyleSheetId", "opt
ional": true, "description": "Identifier of the stylesheet containing this objec
t (if exists)." } | 2568 { "name": "parentStyleSheetId", "$ref": "StyleSheetId", "opt
ional": true, "description": "Identifier of the stylesheet containing this objec
t (if exists)." } |
| 2569 ], | 2569 ], |
| 2570 "description": "CSS media query descriptor." | 2570 "description": "CSS media query descriptor." |
| 2571 }, | 2571 }, |
| 2572 { | 2572 { |
| 2573 "id": "Region", | |
| 2574 "type": "object", | |
| 2575 "properties": [ | |
| 2576 { "name": "regionOverset", "type": "string", "enum": ["overs
et", "fit", "empty"], "description": "The \"overset\" attribute of a Named Flow.
" }, | |
| 2577 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Th
e corresponding DOM node id." } | |
| 2578 ], | |
| 2579 "description": "This object represents a region that flows from
a Named Flow.", | |
| 2580 "hidden": true | |
| 2581 }, | |
| 2582 { | |
| 2583 "id": "NamedFlow", | |
| 2584 "type": "object", | |
| 2585 "properties": [ | |
| 2586 { "name": "documentNodeId", "$ref": "DOM.NodeId", "descripti
on": "The document node id." }, | |
| 2587 { "name": "name", "type": "string", "description": "Named Fl
ow identifier." }, | |
| 2588 { "name": "overset", "type": "boolean", "description": "The
\"overset\" attribute of a Named Flow." }, | |
| 2589 { "name": "content", "type": "array", "items": { "$ref": "DO
M.NodeId" }, "description": "An array of nodes that flow into the Named Flow." }
, | |
| 2590 { "name": "regions", "type": "array", "items": { "$ref": "Re
gion" }, "description": "An array of regions associated with the Named Flow." } | |
| 2591 ], | |
| 2592 "description": "This object represents a Named Flow.", | |
| 2593 "hidden": true | |
| 2594 }, | |
| 2595 { | |
| 2596 "id": "PlatformFontUsage", | 2573 "id": "PlatformFontUsage", |
| 2597 "type": "object", | 2574 "type": "object", |
| 2598 "properties": [ | 2575 "properties": [ |
| 2599 { "name": "familyName", "type": "string", "description": "Fo
nt's family name reported by platform."}, | 2576 { "name": "familyName", "type": "string", "description": "Fo
nt's family name reported by platform."}, |
| 2600 { "name": "glyphCount", "type": "number", "description": "Am
ount of glyphs that were rendered with this font."} | 2577 { "name": "glyphCount", "type": "number", "description": "Am
ount of glyphs that were rendered with this font."} |
| 2601 ], | 2578 ], |
| 2602 "description": "Information about amount of glyphs that were ren
dered with given font.", | 2579 "description": "Information about amount of glyphs that were ren
dered with given font.", |
| 2603 "hidden": true | 2580 "hidden": true |
| 2604 } | 2581 } |
| 2605 ], | 2582 ], |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2760 ], | 2737 ], |
| 2761 "description": "Returns all supported CSS property names." | 2738 "description": "Returns all supported CSS property names." |
| 2762 }, | 2739 }, |
| 2763 { | 2740 { |
| 2764 "name": "forcePseudoState", | 2741 "name": "forcePseudoState", |
| 2765 "parameters": [ | 2742 "parameters": [ |
| 2766 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Th
e element id for which to force the pseudo state." }, | 2743 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Th
e element id for which to force the pseudo state." }, |
| 2767 { "name": "forcedPseudoClasses", "type": "array", "items": {
"type": "string", "enum": ["active", "focus", "hover", "visited"] }, "descripti
on": "Element pseudo classes to force when computing the element's style." } | 2744 { "name": "forcedPseudoClasses", "type": "array", "items": {
"type": "string", "enum": ["active", "focus", "hover", "visited"] }, "descripti
on": "Element pseudo classes to force when computing the element's style." } |
| 2768 ], | 2745 ], |
| 2769 "description": "Ensures that the given node will have specified
pseudo-classes whenever its style is computed by the browser." | 2746 "description": "Ensures that the given node will have specified
pseudo-classes whenever its style is computed by the browser." |
| 2770 }, | |
| 2771 { | |
| 2772 "name": "getNamedFlowCollection", | |
| 2773 "parameters": [ | |
| 2774 { "name": "documentNodeId", "$ref": "DOM.NodeId", "descripti
on": "The document node id for which to get the Named Flow Collection." } | |
| 2775 ], | |
| 2776 "returns": [ | |
| 2777 { "name": "namedFlows", "type": "array", "items": { "$ref":
"NamedFlow" }, "description": "An array containing the Named Flows in the docume
nt." } | |
| 2778 ], | |
| 2779 "description": "Returns the Named Flows from the document.", | |
| 2780 "hidden": true | |
| 2781 } | 2747 } |
| 2782 ], | 2748 ], |
| 2783 "events": [ | 2749 "events": [ |
| 2784 { | 2750 { |
| 2785 "name": "mediaQueryResultChanged", | 2751 "name": "mediaQueryResultChanged", |
| 2786 "description": "Fires whenever a MediaQuery result changes (for
example, after a browser window has been resized.) The current implementation co
nsiders only viewport-dependent media features." | 2752 "description": "Fires whenever a MediaQuery result changes (for
example, after a browser window has been resized.) The current implementation co
nsiders only viewport-dependent media features." |
| 2787 }, | 2753 }, |
| 2788 { | 2754 { |
| 2789 "name": "styleSheetChanged", | 2755 "name": "styleSheetChanged", |
| 2790 "parameters": [ | 2756 "parameters": [ |
| 2791 { "name": "styleSheetId", "$ref": "StyleSheetId" } | 2757 { "name": "styleSheetId", "$ref": "StyleSheetId" } |
| 2792 ], | 2758 ], |
| 2793 "description": "Fired whenever a stylesheet is changed as a resu
lt of the client operation." | 2759 "description": "Fired whenever a stylesheet is changed as a resu
lt of the client operation." |
| 2794 }, | 2760 }, |
| 2795 { | 2761 { |
| 2796 "name": "styleSheetAdded", | 2762 "name": "styleSheetAdded", |
| 2797 "parameters": [ | 2763 "parameters": [ |
| 2798 { "name": "header", "$ref": "CSSStyleSheetHeader", "descript
ion": "Added stylesheet metainfo." } | 2764 { "name": "header", "$ref": "CSSStyleSheetHeader", "descript
ion": "Added stylesheet metainfo." } |
| 2799 ], | 2765 ], |
| 2800 "description": "Fired whenever an active document stylesheet is
added." | 2766 "description": "Fired whenever an active document stylesheet is
added." |
| 2801 }, | 2767 }, |
| 2802 { | 2768 { |
| 2803 "name": "styleSheetRemoved", | 2769 "name": "styleSheetRemoved", |
| 2804 "parameters": [ | 2770 "parameters": [ |
| 2805 { "name": "styleSheetId", "$ref": "StyleSheetId", "descripti
on": "Identifier of the removed stylesheet." } | 2771 { "name": "styleSheetId", "$ref": "StyleSheetId", "descripti
on": "Identifier of the removed stylesheet." } |
| 2806 ], | 2772 ], |
| 2807 "description": "Fired whenever an active document stylesheet is
removed." | 2773 "description": "Fired whenever an active document stylesheet is
removed." |
| 2808 }, | |
| 2809 { | |
| 2810 "name": "namedFlowCreated", | |
| 2811 "parameters": [ | |
| 2812 { "name": "namedFlow", "$ref": "NamedFlow", "description": "
The new Named Flow." } | |
| 2813 ], | |
| 2814 "description": "Fires when a Named Flow is created.", | |
| 2815 "hidden": true | |
| 2816 }, | |
| 2817 { | |
| 2818 "name": "namedFlowRemoved", | |
| 2819 "parameters": [ | |
| 2820 { "name": "documentNodeId", "$ref": "DOM.NodeId", "descripti
on": "The document node id." }, | |
| 2821 { "name": "flowName", "type": "string", "description": "Iden
tifier of the removed Named Flow." } | |
| 2822 ], | |
| 2823 "description": "Fires when a Named Flow is removed: has no assoc
iated content nodes and regions.", | |
| 2824 "hidden": true | |
| 2825 }, | |
| 2826 { | |
| 2827 "name": "regionLayoutUpdated", | |
| 2828 "parameters": [ | |
| 2829 { "name": "namedFlow", "$ref": "NamedFlow", "description": "
The Named Flow whose layout may have changed." } | |
| 2830 ], | |
| 2831 "description": "Fires when a Named Flow's layout may have change
d.", | |
| 2832 "hidden": true | |
| 2833 }, | |
| 2834 { | |
| 2835 "name": "regionOversetChanged", | |
| 2836 "parameters": [ | |
| 2837 { "name": "namedFlow", "$ref": "NamedFlow", "description": "
The Named Flow containing the regions whose regionOverset values changed." } | |
| 2838 ], | |
| 2839 "description": "Fires if any of the regionOverset values changed
in a Named Flow's region chain.", | |
| 2840 "hidden": true | |
| 2841 } | 2774 } |
| 2842 ] | 2775 ] |
| 2843 }, | 2776 }, |
| 2844 { | 2777 { |
| 2845 "domain": "Timeline", | 2778 "domain": "Timeline", |
| 2846 "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.", | 2779 "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.", |
| 2847 "types": [ | 2780 "types": [ |
| 2848 { | 2781 { |
| 2849 "id": "Counters", | 2782 "id": "Counters", |
| 2850 "type": "object", | 2783 "type": "object", |
| (...skipping 1258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4109 ], | 4042 ], |
| 4110 "handlers": ["browser", "frontend"] | 4043 "handlers": ["browser", "frontend"] |
| 4111 }, | 4044 }, |
| 4112 { | 4045 { |
| 4113 "name": "tracingComplete", | 4046 "name": "tracingComplete", |
| 4114 "handlers": ["browser", "frontend"] | 4047 "handlers": ["browser", "frontend"] |
| 4115 } | 4048 } |
| 4116 ] | 4049 ] |
| 4117 }] | 4050 }] |
| 4118 } | 4051 } |
| OLD | NEW |