| 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 2499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2510 }, | 2510 }, |
| 2511 { | 2511 { |
| 2512 "id": "SelectorProfile", | 2512 "id": "SelectorProfile", |
| 2513 "type": "object", | 2513 "type": "object", |
| 2514 "properties": [ | 2514 "properties": [ |
| 2515 { "name": "totalTime", "type": "number", "description": "Tot
al processing time for all selectors in the profile (in milliseconds)." }, | 2515 { "name": "totalTime", "type": "number", "description": "Tot
al processing time for all selectors in the profile (in milliseconds)." }, |
| 2516 { "name": "data", "type": "array", "items": { "$ref": "Selec
torProfileEntry" }, "description": "CSS selector profile entries." } | 2516 { "name": "data", "type": "array", "items": { "$ref": "Selec
torProfileEntry" }, "description": "CSS selector profile entries." } |
| 2517 ] | 2517 ] |
| 2518 }, | 2518 }, |
| 2519 { | 2519 { |
| 2520 "id": "Region", | |
| 2521 "type": "object", | |
| 2522 "properties": [ | |
| 2523 { "name": "regionOverset", "type": "string", "enum": ["overs
et", "fit", "empty"], "description": "The \"overset\" attribute of a Named Flow.
" }, | |
| 2524 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Th
e corresponding DOM node id." } | |
| 2525 ], | |
| 2526 "description": "This object represents a region that flows from
a Named Flow.", | |
| 2527 "hidden": true | |
| 2528 }, | |
| 2529 { | |
| 2530 "id": "NamedFlow", | |
| 2531 "type": "object", | |
| 2532 "properties": [ | |
| 2533 { "name": "documentNodeId", "$ref": "DOM.NodeId", "descripti
on": "The document node id." }, | |
| 2534 { "name": "name", "type": "string", "description": "Named Fl
ow identifier." }, | |
| 2535 { "name": "overset", "type": "boolean", "description": "The
\"overset\" attribute of a Named Flow." }, | |
| 2536 { "name": "content", "type": "array", "items": { "$ref": "DO
M.NodeId" }, "description": "An array of nodes that flow into the Named Flow." }
, | |
| 2537 { "name": "regions", "type": "array", "items": { "$ref": "Re
gion" }, "description": "An array of regions associated with the Named Flow." } | |
| 2538 ], | |
| 2539 "description": "This object represents a Named Flow.", | |
| 2540 "hidden": true | |
| 2541 }, | |
| 2542 { | |
| 2543 "id": "PlatformFontUsage", | 2520 "id": "PlatformFontUsage", |
| 2544 "type": "object", | 2521 "type": "object", |
| 2545 "properties": [ | 2522 "properties": [ |
| 2546 { "name": "familyName", "type": "string", "description": "Fo
nt's family name reported by platform."}, | 2523 { "name": "familyName", "type": "string", "description": "Fo
nt's family name reported by platform."}, |
| 2547 { "name": "glyphCount", "type": "number", "description": "Am
ount of glyphs that were rendered with this font."} | 2524 { "name": "glyphCount", "type": "number", "description": "Am
ount of glyphs that were rendered with this font."} |
| 2548 ], | 2525 ], |
| 2549 "description": "Information about amount of glyphs that were ren
dered with given font." | 2526 "description": "Information about amount of glyphs that were ren
dered with given font." |
| 2550 } | 2527 } |
| 2551 ], | 2528 ], |
| 2552 "commands": [ | 2529 "commands": [ |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2705 ], | 2682 ], |
| 2706 "description": "Returns all supported CSS property names." | 2683 "description": "Returns all supported CSS property names." |
| 2707 }, | 2684 }, |
| 2708 { | 2685 { |
| 2709 "name": "forcePseudoState", | 2686 "name": "forcePseudoState", |
| 2710 "parameters": [ | 2687 "parameters": [ |
| 2711 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Th
e element id for which to force the pseudo state." }, | 2688 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Th
e element id for which to force the pseudo state." }, |
| 2712 { "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." } | 2689 { "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." } |
| 2713 ], | 2690 ], |
| 2714 "description": "Ensures that the given node will have specified
pseudo-classes whenever its style is computed by the browser." | 2691 "description": "Ensures that the given node will have specified
pseudo-classes whenever its style is computed by the browser." |
| 2715 }, | |
| 2716 { | |
| 2717 "name": "getNamedFlowCollection", | |
| 2718 "parameters": [ | |
| 2719 { "name": "documentNodeId", "$ref": "DOM.NodeId", "descripti
on": "The document node id for which to get the Named Flow Collection." } | |
| 2720 ], | |
| 2721 "returns": [ | |
| 2722 { "name": "namedFlows", "type": "array", "items": { "$ref":
"NamedFlow" }, "description": "An array containing the Named Flows in the docume
nt." } | |
| 2723 ], | |
| 2724 "description": "Returns the Named Flows from the document.", | |
| 2725 "hidden": true | |
| 2726 } | 2692 } |
| 2727 ], | 2693 ], |
| 2728 "events": [ | 2694 "events": [ |
| 2729 { | 2695 { |
| 2730 "name": "mediaQueryResultChanged", | 2696 "name": "mediaQueryResultChanged", |
| 2731 "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." | 2697 "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." |
| 2732 }, | 2698 }, |
| 2733 { | 2699 { |
| 2734 "name": "styleSheetChanged", | 2700 "name": "styleSheetChanged", |
| 2735 "parameters": [ | 2701 "parameters": [ |
| 2736 { "name": "styleSheetId", "$ref": "StyleSheetId" } | 2702 { "name": "styleSheetId", "$ref": "StyleSheetId" } |
| 2737 ], | 2703 ], |
| 2738 "description": "Fired whenever a stylesheet is changed as a resu
lt of the client operation." | 2704 "description": "Fired whenever a stylesheet is changed as a resu
lt of the client operation." |
| 2739 }, | 2705 }, |
| 2740 { | 2706 { |
| 2741 "name": "styleSheetAdded", | 2707 "name": "styleSheetAdded", |
| 2742 "parameters": [ | 2708 "parameters": [ |
| 2743 { "name": "header", "$ref": "CSSStyleSheetHeader", "descript
ion": "Added stylesheet metainfo." } | 2709 { "name": "header", "$ref": "CSSStyleSheetHeader", "descript
ion": "Added stylesheet metainfo." } |
| 2744 ], | 2710 ], |
| 2745 "description": "Fired whenever an active document stylesheet is
added." | 2711 "description": "Fired whenever an active document stylesheet is
added." |
| 2746 }, | 2712 }, |
| 2747 { | 2713 { |
| 2748 "name": "styleSheetRemoved", | 2714 "name": "styleSheetRemoved", |
| 2749 "parameters": [ | 2715 "parameters": [ |
| 2750 { "name": "styleSheetId", "$ref": "StyleSheetId", "descripti
on": "Identifier of the removed stylesheet." } | 2716 { "name": "styleSheetId", "$ref": "StyleSheetId", "descripti
on": "Identifier of the removed stylesheet." } |
| 2751 ], | 2717 ], |
| 2752 "description": "Fired whenever an active document stylesheet is
removed." | 2718 "description": "Fired whenever an active document stylesheet is
removed." |
| 2753 }, | 2719 }, |
| 2754 { | |
| 2755 "name": "namedFlowCreated", | |
| 2756 "parameters": [ | |
| 2757 { "name": "namedFlow", "$ref": "NamedFlow", "description": "
The new Named Flow." } | |
| 2758 ], | |
| 2759 "description": "Fires when a Named Flow is created.", | |
| 2760 "hidden": true | |
| 2761 }, | |
| 2762 { | |
| 2763 "name": "namedFlowRemoved", | |
| 2764 "parameters": [ | |
| 2765 { "name": "documentNodeId", "$ref": "DOM.NodeId", "descripti
on": "The document node id." }, | |
| 2766 { "name": "flowName", "type": "string", "description": "Iden
tifier of the removed Named Flow." } | |
| 2767 ], | |
| 2768 "description": "Fires when a Named Flow is removed: has no assoc
iated content nodes and regions.", | |
| 2769 "hidden": true | |
| 2770 }, | |
| 2771 { | |
| 2772 "name": "regionLayoutUpdated", | |
| 2773 "parameters": [ | |
| 2774 { "name": "namedFlow", "$ref": "NamedFlow", "description": "
The Named Flow whose layout may have changed." } | |
| 2775 ], | |
| 2776 "description": "Fires when a Named Flow's layout may have change
d.", | |
| 2777 "hidden": true | |
| 2778 }, | |
| 2779 { | |
| 2780 "name": "regionOversetChanged", | |
| 2781 "parameters": [ | |
| 2782 { "name": "namedFlow", "$ref": "NamedFlow", "description": "
The Named Flow containing the regions whose regionOverset values changed." } | |
| 2783 ], | |
| 2784 "description": "Fires if any of the regionOverset values changed
in a Named Flow's region chain.", | |
| 2785 "hidden": true | |
| 2786 } | |
| 2787 ] | 2720 ] |
| 2788 }, | 2721 }, |
| 2789 { | 2722 { |
| 2790 "domain": "Timeline", | 2723 "domain": "Timeline", |
| 2791 "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.", | 2724 "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.", |
| 2792 "types": [ | 2725 "types": [ |
| 2793 { | 2726 { |
| 2794 "id": "DOMCounters", | 2727 "id": "DOMCounters", |
| 2795 "type": "object", | 2728 "type": "object", |
| 2796 "properties": [ | 2729 "properties": [ |
| (...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3968 "parameters": [ | 3901 "parameters": [ |
| 3969 { "name": "value", "type": "array", "items": { "type": "obje
ct" } } | 3902 { "name": "value", "type": "array", "items": { "type": "obje
ct" } } |
| 3970 ] | 3903 ] |
| 3971 }, | 3904 }, |
| 3972 { | 3905 { |
| 3973 "name": "tracingComplete" | 3906 "name": "tracingComplete" |
| 3974 } | 3907 } |
| 3975 ] | 3908 ] |
| 3976 }] | 3909 }] |
| 3977 } | 3910 } |
| OLD | NEW |