| 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 2560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2571 "properties": [ | 2571 "properties": [ |
| 2572 { "name": "text", "type": "string", "description": "Media qu
ery text." }, | 2572 { "name": "text", "type": "string", "description": "Media qu
ery text." }, |
| 2573 { "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." }, | 2573 { "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." }, |
| 2574 { "name": "sourceURL", "type": "string", "optional": true, "
description": "URL of the document containing the media query description." }, | 2574 { "name": "sourceURL", "type": "string", "optional": true, "
description": "URL of the document containing the media query description." }, |
| 2575 { "name": "range", "$ref": "SourceRange", "optional": true,
"description": "The associated rule (@media or @import) header range in the encl
osing stylesheet (if available)." }, | 2575 { "name": "range", "$ref": "SourceRange", "optional": true,
"description": "The associated rule (@media or @import) header range in the encl
osing stylesheet (if available)." }, |
| 2576 { "name": "parentStyleSheetId", "$ref": "StyleSheetId", "opt
ional": true, "description": "Identifier of the stylesheet containing this objec
t (if exists)." } | 2576 { "name": "parentStyleSheetId", "$ref": "StyleSheetId", "opt
ional": true, "description": "Identifier of the stylesheet containing this objec
t (if exists)." } |
| 2577 ], | 2577 ], |
| 2578 "description": "CSS media query descriptor." | 2578 "description": "CSS media query descriptor." |
| 2579 }, | 2579 }, |
| 2580 { | 2580 { |
| 2581 "id": "Region", | |
| 2582 "type": "object", | |
| 2583 "properties": [ | |
| 2584 { "name": "regionOverset", "type": "string", "enum": ["overs
et", "fit", "empty"], "description": "The \"overset\" attribute of a Named Flow.
" }, | |
| 2585 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Th
e corresponding DOM node id." } | |
| 2586 ], | |
| 2587 "description": "This object represents a region that flows from
a Named Flow.", | |
| 2588 "hidden": true | |
| 2589 }, | |
| 2590 { | |
| 2591 "id": "NamedFlow", | |
| 2592 "type": "object", | |
| 2593 "properties": [ | |
| 2594 { "name": "documentNodeId", "$ref": "DOM.NodeId", "descripti
on": "The document node id." }, | |
| 2595 { "name": "name", "type": "string", "description": "Named Fl
ow identifier." }, | |
| 2596 { "name": "overset", "type": "boolean", "description": "The
\"overset\" attribute of a Named Flow." }, | |
| 2597 { "name": "content", "type": "array", "items": { "$ref": "DO
M.NodeId" }, "description": "An array of nodes that flow into the Named Flow." }
, | |
| 2598 { "name": "regions", "type": "array", "items": { "$ref": "Re
gion" }, "description": "An array of regions associated with the Named Flow." } | |
| 2599 ], | |
| 2600 "description": "This object represents a Named Flow.", | |
| 2601 "hidden": true | |
| 2602 }, | |
| 2603 { | |
| 2604 "id": "PlatformFontUsage", | 2581 "id": "PlatformFontUsage", |
| 2605 "type": "object", | 2582 "type": "object", |
| 2606 "properties": [ | 2583 "properties": [ |
| 2607 { "name": "familyName", "type": "string", "description": "Fo
nt's family name reported by platform."}, | 2584 { "name": "familyName", "type": "string", "description": "Fo
nt's family name reported by platform."}, |
| 2608 { "name": "glyphCount", "type": "number", "description": "Am
ount of glyphs that were rendered with this font."} | 2585 { "name": "glyphCount", "type": "number", "description": "Am
ount of glyphs that were rendered with this font."} |
| 2609 ], | 2586 ], |
| 2610 "description": "Information about amount of glyphs that were ren
dered with given font." | 2587 "description": "Information about amount of glyphs that were ren
dered with given font." |
| 2611 } | 2588 } |
| 2612 ], | 2589 ], |
| 2613 "commands": [ | 2590 "commands": [ |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2767 ], | 2744 ], |
| 2768 "description": "Returns all supported CSS property names." | 2745 "description": "Returns all supported CSS property names." |
| 2769 }, | 2746 }, |
| 2770 { | 2747 { |
| 2771 "name": "forcePseudoState", | 2748 "name": "forcePseudoState", |
| 2772 "parameters": [ | 2749 "parameters": [ |
| 2773 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Th
e element id for which to force the pseudo state." }, | 2750 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Th
e element id for which to force the pseudo state." }, |
| 2774 { "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." } | 2751 { "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." } |
| 2775 ], | 2752 ], |
| 2776 "description": "Ensures that the given node will have specified
pseudo-classes whenever its style is computed by the browser." | 2753 "description": "Ensures that the given node will have specified
pseudo-classes whenever its style is computed by the browser." |
| 2777 }, | |
| 2778 { | |
| 2779 "name": "getNamedFlowCollection", | |
| 2780 "parameters": [ | |
| 2781 { "name": "documentNodeId", "$ref": "DOM.NodeId", "descripti
on": "The document node id for which to get the Named Flow Collection." } | |
| 2782 ], | |
| 2783 "returns": [ | |
| 2784 { "name": "namedFlows", "type": "array", "items": { "$ref":
"NamedFlow" }, "description": "An array containing the Named Flows in the docume
nt." } | |
| 2785 ], | |
| 2786 "description": "Returns the Named Flows from the document.", | |
| 2787 "hidden": true | |
| 2788 } | 2754 } |
| 2789 ], | 2755 ], |
| 2790 "events": [ | 2756 "events": [ |
| 2791 { | 2757 { |
| 2792 "name": "mediaQueryResultChanged", | 2758 "name": "mediaQueryResultChanged", |
| 2793 "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." | 2759 "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." |
| 2794 }, | 2760 }, |
| 2795 { | 2761 { |
| 2796 "name": "styleSheetChanged", | 2762 "name": "styleSheetChanged", |
| 2797 "parameters": [ | 2763 "parameters": [ |
| 2798 { "name": "styleSheetId", "$ref": "StyleSheetId" } | 2764 { "name": "styleSheetId", "$ref": "StyleSheetId" } |
| 2799 ], | 2765 ], |
| 2800 "description": "Fired whenever a stylesheet is changed as a resu
lt of the client operation." | 2766 "description": "Fired whenever a stylesheet is changed as a resu
lt of the client operation." |
| 2801 }, | 2767 }, |
| 2802 { | 2768 { |
| 2803 "name": "styleSheetAdded", | 2769 "name": "styleSheetAdded", |
| 2804 "parameters": [ | 2770 "parameters": [ |
| 2805 { "name": "header", "$ref": "CSSStyleSheetHeader", "descript
ion": "Added stylesheet metainfo." } | 2771 { "name": "header", "$ref": "CSSStyleSheetHeader", "descript
ion": "Added stylesheet metainfo." } |
| 2806 ], | 2772 ], |
| 2807 "description": "Fired whenever an active document stylesheet is
added." | 2773 "description": "Fired whenever an active document stylesheet is
added." |
| 2808 }, | 2774 }, |
| 2809 { | 2775 { |
| 2810 "name": "styleSheetRemoved", | 2776 "name": "styleSheetRemoved", |
| 2811 "parameters": [ | 2777 "parameters": [ |
| 2812 { "name": "styleSheetId", "$ref": "StyleSheetId", "descripti
on": "Identifier of the removed stylesheet." } | 2778 { "name": "styleSheetId", "$ref": "StyleSheetId", "descripti
on": "Identifier of the removed stylesheet." } |
| 2813 ], | 2779 ], |
| 2814 "description": "Fired whenever an active document stylesheet is
removed." | 2780 "description": "Fired whenever an active document stylesheet is
removed." |
| 2815 }, | |
| 2816 { | |
| 2817 "name": "namedFlowCreated", | |
| 2818 "parameters": [ | |
| 2819 { "name": "namedFlow", "$ref": "NamedFlow", "description": "
The new Named Flow." } | |
| 2820 ], | |
| 2821 "description": "Fires when a Named Flow is created.", | |
| 2822 "hidden": true | |
| 2823 }, | |
| 2824 { | |
| 2825 "name": "namedFlowRemoved", | |
| 2826 "parameters": [ | |
| 2827 { "name": "documentNodeId", "$ref": "DOM.NodeId", "descripti
on": "The document node id." }, | |
| 2828 { "name": "flowName", "type": "string", "description": "Iden
tifier of the removed Named Flow." } | |
| 2829 ], | |
| 2830 "description": "Fires when a Named Flow is removed: has no assoc
iated content nodes and regions.", | |
| 2831 "hidden": true | |
| 2832 }, | |
| 2833 { | |
| 2834 "name": "regionLayoutUpdated", | |
| 2835 "parameters": [ | |
| 2836 { "name": "namedFlow", "$ref": "NamedFlow", "description": "
The Named Flow whose layout may have changed." } | |
| 2837 ], | |
| 2838 "description": "Fires when a Named Flow's layout may have change
d.", | |
| 2839 "hidden": true | |
| 2840 }, | |
| 2841 { | |
| 2842 "name": "regionOversetChanged", | |
| 2843 "parameters": [ | |
| 2844 { "name": "namedFlow", "$ref": "NamedFlow", "description": "
The Named Flow containing the regions whose regionOverset values changed." } | |
| 2845 ], | |
| 2846 "description": "Fires if any of the regionOverset values changed
in a Named Flow's region chain.", | |
| 2847 "hidden": true | |
| 2848 } | 2781 } |
| 2849 ] | 2782 ] |
| 2850 }, | 2783 }, |
| 2851 { | 2784 { |
| 2852 "domain": "Timeline", | 2785 "domain": "Timeline", |
| 2853 "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.", | 2786 "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.", |
| 2854 "types": [ | 2787 "types": [ |
| 2855 { | 2788 { |
| 2856 "id": "Counters", | 2789 "id": "Counters", |
| 2857 "type": "object", | 2790 "type": "object", |
| (...skipping 1267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4125 ], | 4058 ], |
| 4126 "handlers": ["browser", "frontend"] | 4059 "handlers": ["browser", "frontend"] |
| 4127 }, | 4060 }, |
| 4128 { | 4061 { |
| 4129 "name": "tracingComplete", | 4062 "name": "tracingComplete", |
| 4130 "handlers": ["browser", "frontend"] | 4063 "handlers": ["browser", "frontend"] |
| 4131 } | 4064 } |
| 4132 ] | 4065 ] |
| 4133 }] | 4066 }] |
| 4134 } | 4067 } |
| OLD | NEW |