Changeset 218898 in webkit


Ignore:
Timestamp:
Jun 28, 2017 3:53:22 PM (7 years ago)
Author:
Joseph Pecoraro
Message:

Web Inspector: Cleanup Protocol JSON files
https://bugs.webkit.org/show_bug.cgi?id=173934

Reviewed by Matt Baker.

  • inspector/protocol/ApplicationCache.json:
  • inspector/protocol/CSS.json:
  • inspector/protocol/Console.json:
  • inspector/protocol/DOM.json:
  • inspector/protocol/DOMDebugger.json:
  • inspector/protocol/Debugger.json:
  • inspector/protocol/LayerTree.json:
  • inspector/protocol/Network.json:
  • inspector/protocol/Page.json:
  • inspector/protocol/Runtime.json:

Be more consistent about placement of description property.

Location:
trunk/Source/JavaScriptCore
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r218897 r218898  
     12017-06-28  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: Cleanup Protocol JSON files
     4        https://bugs.webkit.org/show_bug.cgi?id=173934
     5
     6        Reviewed by Matt Baker.
     7
     8        * inspector/protocol/ApplicationCache.json:
     9        * inspector/protocol/CSS.json:
     10        * inspector/protocol/Console.json:
     11        * inspector/protocol/DOM.json:
     12        * inspector/protocol/DOMDebugger.json:
     13        * inspector/protocol/Debugger.json:
     14        * inspector/protocol/LayerTree.json:
     15        * inspector/protocol/Network.json:
     16        * inspector/protocol/Page.json:
     17        * inspector/protocol/Runtime.json:
     18        Be more consistent about placement of `description` property.
     19
    1202017-06-27  Joseph Pecoraro  <pecoraro@apple.com>
    221
  • trunk/Source/JavaScriptCore/inspector/protocol/ApplicationCache.json

    r174906 r218898  
    3939        {
    4040            "name": "getFramesWithManifests",
     41            "description": "Returns array of frame identifiers with manifest urls for each frame containing a document associated with some application cache.",
    4142            "returns": [
    4243                { "name": "frameIds", "type": "array", "items": { "$ref": "FrameWithManifest" }, "description": "Array of frame identifiers with manifest urls for each frame containing a document associated with some application cache." }
    43             ],
    44             "description": "Returns array of frame identifiers with manifest urls for each frame containing a document associated with some application cache."
     44            ]
    4545        },
    4646        {
     
    5050        {
    5151            "name": "getManifestForFrame",
     52            "description": "Returns manifest URL for document in the given frame.",
    5253            "parameters": [
    5354                { "name": "frameId", "$ref": "Network.FrameId", "description": "Identifier of the frame containing document whose manifest is retrieved." }
     
    5556            "returns": [
    5657                { "name": "manifestURL", "type": "string", "description": "Manifest URL for document in the given frame." }
    57             ],
    58             "description": "Returns manifest URL for document in the given frame."
     58            ]
    5959        },
    6060        {
    6161            "name": "getApplicationCacheForFrame",
     62            "description": "Returns relevant application cache data for the document in given frame.",
    6263            "parameters": [
    6364                { "name": "frameId", "$ref": "Network.FrameId", "description": "Identifier of the frame containing document whose application cache is retrieved." }
     
    6566            "returns": [
    6667                { "name": "applicationCache", "$ref": "ApplicationCache", "description": "Relevant application cache data for the document in given frame." }
    67             ],
    68             "description": "Returns relevant application cache data for the document in given frame."
     68            ]
    6969        }
    7070    ],
  • trunk/Source/JavaScriptCore/inspector/protocol/CSS.json

    r189104 r218898  
    1111            "id": "CSSStyleId",
    1212            "type": "object",
     13            "description": "This object identifies a CSS style in a unique way.",
    1314            "properties": [
    1415                { "name": "styleSheetId", "$ref": "StyleSheetId", "description": "Enclosing stylesheet identifier." },
    1516                { "name": "ordinal", "type": "integer", "description": "The style ordinal within the stylesheet." }
    16             ],
    17             "description": "This object identifies a CSS style in a unique way."
     17            ]
    1818        },
    1919        {
     
    2626            "id": "CSSRuleId",
    2727            "type": "object",
     28            "description": "This object identifies a CSS rule in a unique way.",
    2829            "properties": [
    2930                { "name": "styleSheetId", "$ref": "StyleSheetId", "description": "Enclosing stylesheet identifier." },
    3031                { "name": "ordinal", "type": "integer", "description": "The rule ordinal within the stylesheet." }
    31             ],
    32             "description": "This object identifies a CSS rule in a unique way."
     32            ]
    3333        },
    3434        {
    3535            "id": "PseudoIdMatches",
    3636            "type": "object",
     37            "description": "CSS rule collection for a single pseudo style.",
    3738            "properties": [
    3839                { "name": "pseudoId", "type": "integer", "description": "Pseudo style identifier (see <code>enum PseudoId</code> in <code>RenderStyleConstants.h</code>)."},
    3940                { "name": "matches", "type": "array", "items": { "$ref": "RuleMatch" }, "description": "Matches of CSS rules applicable to the pseudo style."}
    40             ],
    41             "description": "CSS rule collection for a single pseudo style."
     41            ]
    4242        },
    4343        {
    4444            "id": "InheritedStyleEntry",
    4545            "type": "object",
     46            "description": "CSS rule collection for a single pseudo style.",
    4647            "properties": [
    4748                { "name": "inlineStyle", "$ref": "CSSStyle", "optional": true, "description": "The ancestor node's inline style, if any, in the style inheritance chain." },
    4849                { "name": "matchedCSSRules", "type": "array", "items": { "$ref": "RuleMatch" }, "description": "Matches of CSS rules matching the ancestor node in the style inheritance chain." }
    49             ],
    50             "description": "CSS rule collection for a single pseudo style."
     50            ]
    5151        },
    5252        {
    5353            "id": "RuleMatch",
    5454            "type": "object",
     55            "description": "Match data for a CSS rule.",
    5556            "properties": [
    5657                { "name": "rule", "$ref": "CSSRule", "description": "CSS rule in the match." },
    5758                { "name": "matchingSelectors", "type": "array", "items": { "type": "integer" }, "description": "Matching selector indices in the rule's selectorList selectors (0-based)." }
    58             ],
    59             "description": "Match data for a CSS rule."
     59            ]
    6060        },
    6161        {
    6262            "id": "CSSSelector",
    6363            "type": "object",
     64            "description": "CSS selector.",
    6465            "properties": [
    6566                { "name": "text", "type": "string", "description": "Canonicalized selector text." },
    6667                { "name": "specificity", "optional": true, "type": "array", "items": { "type": "integer" }, "description": "Specificity (a, b, c) tuple. Included if the selector is sent in response to CSS.getMatchedStylesForNode which provides a context element." },
    6768                { "name": "dynamic", "optional": true, "type": "boolean", "description": "Whether or not the specificity can be dynamic. Included if the selector is sent in response to CSS.getMatchedStylesForNode which provides a context element." }
    68             ],
    69             "description": "CSS selector."
     69            ]
    7070        },
    7171        {
    7272            "id": "SelectorList",
    7373            "type": "object",
     74            "description": "Selector list data.",
    7475            "properties": [
    7576                { "name": "selectors", "type": "array", "items": { "$ref": "CSSSelector" }, "description": "Selectors in the list." },
    7677                { "name": "text", "type": "string", "description": "Rule selector text." },
    7778                { "name": "range", "$ref": "SourceRange", "optional": true, "description": "Rule selector range in the underlying resource (if available)." }
    78             ],
    79             "description": "Selector list data."
     79            ]
    8080        },
    8181        {
    8282            "id": "CSSStyleAttribute",
    8383            "type": "object",
     84            "description": "CSS style information for a DOM style attribute.",
    8485            "properties": [
    8586                { "name": "name", "type": "string", "description": "DOM attribute name (e.g. \"width\")."},
    8687                { "name": "style", "$ref": "CSSStyle", "description": "CSS style generated by the respective DOM attribute."}
    87             ],
    88             "description": "CSS style information for a DOM style attribute."
     88            ]
    8989        },
    9090        {
    9191            "id": "CSSStyleSheetHeader",
    9292            "type": "object",
     93            "description": "CSS stylesheet meta-information.",
    9394            "properties": [
    9495                { "name": "styleSheetId", "$ref": "StyleSheetId", "description": "The stylesheet identifier."},
     
    101102                { "name": "startLine", "type": "number", "description": "Line offset of the stylesheet within the resource (zero based)." },
    102103                { "name": "startColumn", "type": "number", "description": "Column offset of the stylesheet within the resource (zero based)." }
    103             ],
    104             "description": "CSS stylesheet metainformation."
     104            ]
    105105        },
    106106        {
    107107            "id": "CSSStyleSheetBody",
    108108            "type": "object",
     109            "description": "CSS stylesheet contents.",
    109110            "properties": [
    110111                { "name": "styleSheetId", "$ref": "StyleSheetId", "description": "The stylesheet identifier."},
    111112                { "name": "rules", "type": "array", "items": { "$ref": "CSSRule" }, "description": "Stylesheet resource URL."},
    112113                { "name": "text", "type": "string", "optional": true, "description": "Stylesheet resource contents (if available)."}
    113             ],
    114             "description": "CSS stylesheet contents."
     114            ]
    115115        },
    116116        {
    117117            "id": "CSSRule",
    118118            "type": "object",
     119            "description": "CSS rule representation.",
    119120            "properties": [
    120121                { "name": "ruleId", "$ref": "CSSRuleId", "optional": true, "description": "The CSS rule identifier (absent for user agent stylesheet and user-specified stylesheet rules)."},
     
    125126                { "name": "style", "$ref": "CSSStyle", "description": "Associated style declaration." },
    126127                { "name": "media", "type": "array", "items": { "$ref": "CSSMedia" }, "optional": true, "description": "Media list array (for rules involving media queries). The array enumerates media queries starting with the innermost one, going outwards." }
    127             ],
    128             "description": "CSS rule representation."
     128            ]
    129129        },
    130130        {
    131131            "id": "SourceRange",
    132132            "type": "object",
     133            "description": "Text range within a resource.",
    133134            "properties": [
    134135                { "name": "startLine", "type": "integer", "description": "Start line of range." },
     
    136137                { "name": "endLine", "type": "integer", "description": "End line of range" },
    137138                { "name": "endColumn", "type": "integer", "description": "End column of range (exclusive)." }
    138             ],
    139             "description": "Text range within a resource."
     139            ]
    140140        },
    141141        {
     
    167167            "id": "CSSStyle",
    168168            "type": "object",
     169            "description": "CSS style representation.",
    169170            "properties": [
    170171                { "name": "styleId", "$ref": "CSSStyleId", "optional": true, "description": "The CSS style identifier (absent for attribute styles)." },
     
    175176                { "name": "width", "type": "string", "optional": true, "description": "The effective \"width\" property value from this style." },
    176177                { "name": "height", "type": "string", "optional": true, "description": "The effective \"height\" property value from this style." }
    177             ],
    178             "description": "CSS style representation."
     178            ]
    179179        },
    180180        {
     
    187187            "id": "CSSProperty",
    188188            "type": "object",
     189            "description": "CSS style effective visual dimensions and source offsets.",
    189190            "properties": [
    190191                { "name": "name", "type": "string", "description": "The property name." },
     
    196197                { "name": "status", "$ref": "CSSPropertyStatus", "optional": true, "description": "Whether the property is active or disabled." },
    197198                { "name": "range", "$ref": "SourceRange", "optional": true, "description": "The entire property range in the enclosing style declaration (if available)." }
    198             ],
    199             "description": "CSS style effective visual dimensions and source offsets."
     199            ]
    200200        },
    201201        {
    202202            "id": "CSSMedia",
    203203            "type": "object",
     204            "description": "CSS media query descriptor.",
    204205            "properties": [
    205206                { "name": "text", "type": "string", "description": "Media query text." },
     
    207208                { "name": "sourceURL", "type": "string", "optional": true, "description": "URL of the document containing the media query description." },
    208209                { "name": "sourceLine", "type": "integer", "optional": true, "description": "Line in the document containing the media query (not defined for the \"stylesheet\" source)." }
    209             ],
    210             "description": "CSS media query descriptor."
     210            ]
    211211        },
    212212        {
    213213            "id": "Region",
    214214            "type": "object",
     215            "description": "This object represents a region that flows from a Named Flow.",
    215216            "properties": [
    216217                { "name": "regionOverset", "type": "string", "enum": ["overset", "fit", "empty"], "description": "The \"overset\" attribute of a Named Flow." },
    217218                { "name": "nodeId", "$ref": "DOM.NodeId", "description": "The corresponding DOM node id." }
    218             ],
    219             "description": "This object represents a region that flows from a Named Flow."
     219            ]
    220220        },
    221221        {
    222222            "id": "NamedFlow",
    223223            "type": "object",
     224            "description": "This object represents a Named Flow.",
    224225            "properties": [
    225226                { "name": "documentNodeId", "$ref": "DOM.NodeId", "description": "The document node id." },
     
    228229                { "name": "content", "type": "array", "items": { "$ref": "DOM.NodeId" }, "description": "An array of nodes that flow into the Named Flow." },
    229230                { "name": "regions", "type": "array", "items": { "$ref": "Region" }, "description": "An array of regions associated with the Named Flow." }
    230             ],
    231             "description": "This object represents a Named Flow."
     231            ]
    232232        }
    233233    ],
     
    243243        {
    244244            "name": "getMatchedStylesForNode",
     245            "description": "Returns requested styles for a DOM node identified by <code>nodeId</code>.",
    245246            "parameters": [
    246247                { "name": "nodeId", "$ref": "DOM.NodeId" },
     
    252253                { "name": "pseudoElements", "type": "array", "items": { "$ref": "PseudoIdMatches" }, "optional": true, "description": "Pseudo style matches for this node." },
    253254                { "name": "inherited", "type": "array", "items": { "$ref": "InheritedStyleEntry" }, "optional": true, "description": "A chain of inherited styles (from the immediate node parent up to the DOM tree root)." }
    254             ],
    255             "description": "Returns requested styles for a DOM node identified by <code>nodeId</code>."
     255            ]
    256256        },
    257257        {
    258258            "name": "getInlineStylesForNode",
     259            "description": "Returns the styles defined inline (explicitly in the \"style\" attribute and implicitly, using DOM attributes) for a DOM node identified by <code>nodeId</code>.",
    259260            "parameters": [
    260261                { "name": "nodeId", "$ref": "DOM.NodeId" }
     
    263264                { "name": "inlineStyle", "$ref": "CSSStyle", "optional": true, "description": "Inline style for the specified DOM node." },
    264265                { "name": "attributesStyle", "$ref": "CSSStyle", "optional": true, "description": "Attribute-defined element style (e.g. resulting from \"width=20 height=100%\")."}
    265             ],
    266             "description": "Returns the styles defined inline (explicitly in the \"style\" attribute and implicitly, using DOM attributes) for a DOM node identified by <code>nodeId</code>."
     266            ]
    267267        },
    268268        {
    269269            "name": "getComputedStyleForNode",
     270            "description": "Returns the computed style for a DOM node identified by <code>nodeId</code>.",
    270271            "parameters": [
    271272                { "name": "nodeId", "$ref": "DOM.NodeId" }
     
    273274            "returns": [
    274275                { "name": "computedStyle", "type": "array", "items": { "$ref": "CSSComputedStyleProperty" }, "description": "Computed style for the specified DOM node." }
    275             ],
    276             "description": "Returns the computed style for a DOM node identified by <code>nodeId</code>."
     276            ]
    277277        },
    278278        {
    279279            "name": "getAllStyleSheets",
     280            "description": "Returns metainfo entries for all known stylesheets.",
    280281            "returns": [
    281282                { "name": "headers", "type": "array", "items": { "$ref": "CSSStyleSheetHeader" }, "description": "Descriptor entries for all available stylesheets." }
    282             ],
    283             "description": "Returns metainfo entries for all known stylesheets."
     283            ]
    284284        },
    285285        {
    286286            "name": "getStyleSheet",
     287            "description": "Returns stylesheet data for the specified <code>styleSheetId</code>.",
    287288            "parameters": [
    288289                { "name": "styleSheetId", "$ref": "StyleSheetId" }
     
    290291            "returns": [
    291292                { "name": "styleSheet", "$ref": "CSSStyleSheetBody", "description": "Stylesheet contents for the specified <code>styleSheetId</code>." }
    292             ],
    293             "description": "Returns stylesheet data for the specified <code>styleSheetId</code>."
     293            ]
    294294        },
    295295        {
    296296            "name": "getStyleSheetText",
     297            "description": "Returns the current textual content and the URL for a stylesheet.",
    297298            "parameters": [
    298299                { "name": "styleSheetId", "$ref": "StyleSheetId" }
     
    300301            "returns": [
    301302                { "name": "text", "type": "string", "description": "The stylesheet text." }
    302             ],
    303             "description": "Returns the current textual content and the URL for a stylesheet."
     303            ]
    304304        },
    305305        {
    306306            "name": "setStyleSheetText",
     307            "description": "Sets the new stylesheet text, thereby invalidating all existing <code>CSSStyleId</code>'s and <code>CSSRuleId</code>'s contained by this stylesheet.",
    307308            "parameters": [
    308309                { "name": "styleSheetId", "$ref": "StyleSheetId" },
    309310                { "name": "text", "type": "string" }
    310             ],
    311             "description": "Sets the new stylesheet text, thereby invalidating all existing <code>CSSStyleId</code>'s and <code>CSSRuleId</code>'s contained by this stylesheet."
     311            ]
    312312        },
    313313        {
    314314            "name": "setStyleText",
     315            "description": "Sets the new <code>text</code> for the respective style.",
    315316            "parameters": [
    316317                { "name": "styleId", "$ref": "CSSStyleId" },
     
    319320            "returns": [
    320321                { "name": "style", "$ref": "CSSStyle", "description": "The resulting style after the text modification." }
    321             ],
    322             "description": "Sets the new <code>text</code> for the respective style."
     322            ]
    323323        },
    324324        {
    325325            "name": "setRuleSelector",
     326            "description": "Modifies the rule selector.",
    326327            "parameters": [
    327328                { "name": "ruleId", "$ref": "CSSRuleId" },
     
    330331            "returns": [
    331332                { "name": "rule", "$ref": "CSSRule", "description": "The resulting rule after the selector modification." }
    332             ],
    333             "description": "Modifies the rule selector."
     333            ]
    334334        },
    335335        {
    336336            "name": "createStyleSheet",
     337            "description": "Creates a new special \"inspector\" stylesheet in the frame with given <code>frameId</code>.",
    337338            "parameters": [
    338339                { "name": "frameId", "$ref": "Network.FrameId", "description": "Identifier of the frame where the new \"inspector\" stylesheet should be created." }
     
    340341            "returns": [
    341342                { "name": "styleSheetId", "$ref": "StyleSheetId", "description": "Identifier of the created \"inspector\" stylesheet." }
    342             ],
    343             "description": "Creates a new special \"inspector\" stylesheet in the frame with given <code>frameId</code>."
     343            ]
    344344        },
    345345        {
    346346            "name": "addRule",
     347            "description": "Creates a new empty rule with the given <code>selector</code> in a stylesheet with given <code>styleSheetId</code>.",
    347348            "parameters": [
    348349                { "name": "styleSheetId", "$ref": "StyleSheetId" },
     
    351352            "returns": [
    352353                { "name": "rule", "$ref": "CSSRule", "description": "The newly created rule." }
    353             ],
    354             "description": "Creates a new empty rule with the given <code>selector</code> in a stylesheet with given <code>styleSheetId</code>."
     354            ]
    355355        },
    356356        {
    357357            "name": "getSupportedCSSProperties",
     358            "description": "Returns all supported CSS property names.",
    358359            "returns": [
    359360                { "name": "cssProperties", "type": "array", "items": { "$ref": "CSSPropertyInfo" }, "description": "Supported property metainfo." }
    360             ],
    361             "description": "Returns all supported CSS property names."
     361            ]
    362362        },
    363363        {
    364364            "name": "getSupportedSystemFontFamilyNames",
     365            "description": "Returns all supported system font family names.",
    365366            "returns": [
    366367                { "name": "fontFamilyNames", "type": "array", "items": { "type": "string" }, "description": "Supported system font families." }
    367             ],
    368             "description": "Returns all supported system font family names."
     368            ]
    369369        },
    370370        {
    371371            "name": "forcePseudoState",
     372            "description": "Ensures that the given node will have specified pseudo-classes whenever its style is computed by the browser.",
    372373            "parameters": [
    373374                { "name": "nodeId", "$ref": "DOM.NodeId", "description": "The element id for which to force the pseudo state." },
    374375                { "name": "forcedPseudoClasses", "type": "array", "items": { "type": "string", "enum": ["active", "focus", "hover", "visited"] }, "description": "Element pseudo classes to force when computing the element's style." }
    375             ],
    376             "description": "Ensures that the given node will have specified pseudo-classes whenever its style is computed by the browser."
     376            ]
    377377        },
    378378        {
    379379            "name": "getNamedFlowCollection",
     380            "description": "Returns the Named Flows from the document.",
    380381            "parameters": [
    381382                { "name": "documentNodeId", "$ref": "DOM.NodeId", "description": "The document node id for which to get the Named Flow Collection." }
     
    383384            "returns": [
    384385                { "name": "namedFlows", "type": "array", "items": { "$ref": "NamedFlow" }, "description": "An array containing the Named Flows in the document." }
    385             ],
    386             "description": "Returns the Named Flows from the document."
     386            ]
    387387        }
    388388    ],
     
    394394        {
    395395            "name": "styleSheetChanged",
     396            "description": "Fired whenever a stylesheet is changed as a result of the client operation.",
    396397            "parameters": [
    397398                { "name": "styleSheetId", "$ref": "StyleSheetId" }
    398             ],
    399             "description": "Fired whenever a stylesheet is changed as a result of the client operation."
     399            ]
    400400        },
    401401        {
    402402            "name": "styleSheetAdded",
     403            "description": "Fired whenever an active document stylesheet is added.",
    403404            "parameters": [
    404405                { "name": "header", "$ref": "CSSStyleSheetHeader", "description": "Added stylesheet metainfo." }
    405             ],
    406             "description": "Fired whenever an active document stylesheet is added."
     406            ]
    407407        },
    408408        {
    409409            "name": "styleSheetRemoved",
     410            "description": "Fired whenever an active document stylesheet is removed.",
    410411            "parameters": [
    411412                { "name": "styleSheetId", "$ref": "StyleSheetId", "description": "Identifier of the removed stylesheet." }
    412             ],
    413             "description": "Fired whenever an active document stylesheet is removed."
     413            ]
    414414        },
    415415        {
    416416            "name": "namedFlowCreated",
     417            "description": "Fires when a Named Flow is created.",
    417418            "parameters": [
    418419                { "name": "namedFlow", "$ref": "NamedFlow", "description": "The new Named Flow." }
    419             ],
    420             "description": "Fires when a Named Flow is created."
     420            ]
    421421        },
    422422        {
    423423            "name": "namedFlowRemoved",
     424            "description": "Fires when a Named Flow is removed: has no associated content nodes and regions.",
    424425            "parameters": [
    425426                { "name": "documentNodeId", "$ref": "DOM.NodeId", "description": "The document node id." },
    426427                { "name": "flowName", "type": "string", "description": "Identifier of the removed Named Flow." }
    427             ],
    428             "description": "Fires when a Named Flow is removed: has no associated content nodes and regions."
     428            ]
    429429        },
    430430        {
    431431            "name": "regionOversetChanged",
     432            "description": "Fires if any of the regionOverset values changed in a Named Flow's region chain.",
    432433            "parameters": [
    433434                { "name": "namedFlow", "$ref": "NamedFlow", "description": "The Named Flow containing the regions whose regionOverset values changed." }
    434             ],
    435             "description": "Fires if any of the regionOverset values changed in a Named Flow's region chain."
     435            ]
    436436        },
    437437        {
    438438            "name": "registeredNamedFlowContentElement",
     439            "description": "Fires when a Named Flow's has been registered with a new content node.",
    439440            "parameters": [
    440441                { "name": "documentNodeId", "$ref": "DOM.NodeId", "description": "The document node id." },
     
    442443                { "name": "contentNodeId", "$ref": "DOM.NodeId", "description": "The node id of the registered content node." },
    443444                { "name": "nextContentNodeId", "$ref": "DOM.NodeId", "description": "The node id of the element following the registered content node." }
    444             ],
    445             "description": "Fires when a Named Flow's has been registered with a new content node."
     445            ]
    446446        },
    447447        {
    448448            "name": "unregisteredNamedFlowContentElement",
     449            "description": "Fires when a Named Flow's has been registered with a new content node.",
    449450            "parameters": [
    450451                { "name": "documentNodeId", "$ref": "DOM.NodeId", "description": "The document node id." },
    451452                { "name": "flowName", "type": "string", "description": "Named Flow identifier for which the new content element was unregistered." },
    452453                { "name": "contentNodeId", "$ref": "DOM.NodeId", "description": "The node id of the unregistered content node." }
    453             ],
    454             "description": "Fires when a Named Flow's has been registered with a new content node."
     454            ]
    455455        }
    456456    ]
  • trunk/Source/JavaScriptCore/inspector/protocol/Console.json

    r211385 r218898  
    6161        {
    6262            "name": "setMonitoringXHREnabled",
     63            "description": "Toggles monitoring of XMLHttpRequest. If <code>true</code>, console will receive messages upon each XHR issued.",
    6364            "parameters": [
    6465                { "name": "enabled", "type": "boolean", "description": "Monitoring enabled state." }
    65             ],
    66             "description": "Toggles monitoring of XMLHttpRequest. If <code>true</code>, console will receive messages upon each XHR issued."
     66            ]
    6767        },
    6868        {
    6969            "name": "addInspectedNode",
     70            "description": "Enables console to refer to the node with given id via $0 (see Command Line API for more details).",
    7071            "parameters": [
    7172                { "name": "nodeId", "$ref": "DOM.NodeId", "description": "DOM node id to be accessible by means of $0 command line API." }
    72             ],
    73             "description": "Enables console to refer to the node with given id via $0 (see Command Line API for more details)."
     73            ]
    7474        }
    7575    ],
     
    7777        {
    7878            "name": "messageAdded",
     79            "description": "Issued when new console message is added.",
    7980            "parameters": [
    8081                { "name": "message", "$ref": "ConsoleMessage", "description": "Console message that has been added." }
    81             ],
    82             "description": "Issued when new console message is added."
     82            ]
    8383        },
    8484        {
    8585            "name": "messageRepeatCountUpdated",
     86            "description": "Issued when subsequent message(s) are equal to the previous one(s).",
    8687            "parameters": [
    8788                { "name": "count", "type": "integer", "description": "New repeat count value." }
    88             ],
    89             "description": "Issued when subsequent message(s) are equal to the previous one(s)."
     89            ]
    9090        },
    9191        {
  • trunk/Source/JavaScriptCore/inspector/protocol/DOM.json

    r213873 r218898  
    4141            "id": "Node",
    4242            "type": "object",
     43            "description": "DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type.",
    4344            "properties": [
    4445                { "name": "nodeId", "$ref": "NodeId", "description": "Node identifier that is passed into the rest of the DOM messages as the <code>nodeId</code>. Backend will only push node with given <code>id</code> once. It is aware of all requested nodes and will only fire DOM events for nodes known to the client." },
     
    6768                { "name": "role", "type": "string", "optional": true, "description": "Computed value for first recognized role token, default role per element, or overridden role." },
    6869                { "name": "contentSecurityPolicyHash", "type": "string", "optional": true, "description": "Computed SHA-256 Content Security Policy hash source for given element." }
    69             ],
    70             "description": "DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type."
     70            ]
    7171        },
    7272        {
    7373            "id": "EventListener",
    7474            "type": "object",
     75            "description": "A structure holding event listener properties.",
    7576            "properties": [
    7677                { "name": "type", "type": "string", "description": "<code>EventListener</code>'s type." },
     
    8485                { "name": "passive", "type": "boolean", "optional": true, "description": "<code>EventListener</code>'s passive." },
    8586                { "name": "once", "type": "boolean", "optional": true, "description": "<code>EventListener</code>'s once." }
    86             ],
    87             "description": "A structure holding event listener properties."
     87            ]
    8888        },
    8989        {
     
    129129            "id": "RGBAColor",
    130130            "type": "object",
     131            "description": "A structure holding an RGBA color.",
    131132            "properties": [
    132133                { "name": "r", "type": "integer", "description": "The red component, in the [0-255] range." },
     
    134135                { "name": "b", "type": "integer", "description": "The blue component, in the [0-255] range." },
    135136                { "name": "a", "type": "number", "optional": true, "description": "The alpha component, in the [0-1] range (default: 1)." }
    136             ],
    137             "description": "A structure holding an RGBA color."
     137            ]
    138138        },
    139139        {
     
    148148            "id": "HighlightConfig",
    149149            "type": "object",
     150            "description": "Configuration data for the highlighting of page elements.",
    150151            "properties": [
    151152                { "name": "showInfo", "type": "boolean", "optional": true, "description": "Whether the node info tooltip should be shown (default: false)." },
     
    154155                { "name": "borderColor", "$ref": "RGBAColor", "optional": true, "description": "The border highlight fill color (default: transparent)." },
    155156                { "name": "marginColor", "$ref": "RGBAColor", "optional": true, "description": "The margin highlight fill color (default: transparent)." }
    156             ],
    157             "description": "Configuration data for the highlighting of page elements."
     157            ]
    158158        }
    159159    ],
     
    161161        {
    162162            "name": "getDocument",
     163            "description": "Returns the root DOM node to the caller.",
    163164            "returns": [
    164165                { "name": "root", "$ref": "Node", "description": "Resulting node." }
    165             ],
    166             "description": "Returns the root DOM node to the caller."
     166            ]
    167167        },
    168168        {
    169169            "name": "requestChildNodes",
     170            "description": "Requests that children of the node with given id are returned to the caller in form of <code>setChildNodes</code> events where not only immediate children are retrieved, but all children down to the specified depth.",
    170171            "parameters": [
    171172                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to get children for." },
    172173                { "name": "depth", "type": "integer", "optional": true, "description": "The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0." }
    173             ],
    174             "description": "Requests that children of the node with given id are returned to the caller in form of <code>setChildNodes</code> events where not only immediate children are retrieved, but all children down to the specified depth."
     174            ]
    175175        },
    176176        {
    177177            "name": "querySelector",
     178            "description": "Executes <code>querySelector</code> on a given node.",
    178179            "parameters": [
    179180                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to query upon." },
     
    182183            "returns": [
    183184                { "name": "nodeId", "$ref": "NodeId", "description": "Query selector result." }
    184             ],
    185             "description": "Executes <code>querySelector</code> on a given node."
     185            ]
    186186        },
    187187        {
    188188            "name": "querySelectorAll",
     189            "description": "Executes <code>querySelectorAll</code> on a given node.",
    189190            "parameters": [
    190191                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to query upon." },
     
    193194            "returns": [
    194195                { "name": "nodeIds", "type": "array", "items": { "$ref": "NodeId" }, "description": "Query selector result." }
    195             ],
    196             "description": "Executes <code>querySelectorAll</code> on a given node."
     196            ]
    197197        },
    198198        {
    199199            "name": "setNodeName",
     200            "description": "Sets node name for a node with given id.",
    200201            "parameters": [
    201202                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to set name for." },
     
    204205            "returns": [
    205206                { "name": "nodeId", "$ref": "NodeId", "description": "New node's id." }
    206             ],
    207             "description": "Sets node name for a node with given id."
     207            ]
    208208        },
    209209        {
    210210            "name": "setNodeValue",
     211            "description": "Sets node value for a node with given id.",
    211212            "parameters": [
    212213                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to set value for." },
    213214                { "name": "value", "type": "string", "description": "New node's value." }
    214             ],
    215             "description": "Sets node value for a node with given id."
     215            ]
    216216        },
    217217        {
    218218            "name": "removeNode",
     219            "description": "Removes node with given id.",
    219220            "parameters": [
    220221                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to remove." }
    221             ],
    222             "description": "Removes node with given id."
     222            ]
    223223        },
    224224        {
    225225            "name": "setAttributeValue",
     226            "description": "Sets attribute for an element with given id.",
    226227            "parameters": [
    227228                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the element to set attribute for." },
    228229                { "name": "name", "type": "string", "description": "Attribute name." },
    229230                { "name": "value", "type": "string", "description": "Attribute value." }
    230             ],
    231             "description": "Sets attribute for an element with given id."
     231            ]
    232232        },
    233233        {
    234234            "name": "setAttributesAsText",
     235            "description": "Sets attributes on element with given id. This method is useful when user edits some existing attribute value and types in several attribute name/value pairs.",
    235236            "parameters": [
    236237                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the element to set attributes for." },
    237238                { "name": "text", "type": "string", "description": "Text with a number of attributes. Will parse this text using HTML parser." },
    238239                { "name": "name", "type": "string", "optional": true, "description": "Attribute name to replace with new attributes derived from text in case text parsed successfully." }
    239             ],
    240             "description": "Sets attributes on element with given id. This method is useful when user edits some existing attribute value and types in several attribute name/value pairs."
     240            ]
    241241        },
    242242        {
    243243            "name": "removeAttribute",
     244            "description": "Removes attribute with given name from an element with given id.",
    244245            "parameters": [
    245246                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the element to remove attribute from." },
    246247                { "name": "name", "type": "string", "description": "Name of the attribute to remove." }
    247             ],
    248             "description": "Removes attribute with given name from an element with given id."
     248            ]
    249249        },
    250250        {
    251251            "name": "getEventListenersForNode",
     252            "description": "Returns event listeners relevant to the node.",
    252253            "parameters": [
    253254                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to get listeners for." },
     
    256257            "returns": [
    257258                { "name": "listeners", "type": "array", "items": { "$ref": "EventListener"}, "description": "Array of relevant listeners." }
    258             ],
    259             "description": "Returns event listeners relevant to the node."
     259            ]
    260260        },
    261261        {
     
    271271        {
    272272            "name": "getOuterHTML",
     273            "description": "Returns node's HTML markup.",
    273274            "parameters": [
    274275                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to get markup for." }
     
    276277            "returns": [
    277278                { "name": "outerHTML", "type": "string", "description": "Outer HTML markup." }
    278             ],
    279             "description": "Returns node's HTML markup."
     279            ]
    280280        },
    281281        {
    282282            "name": "setOuterHTML",
     283            "description": "Sets node HTML markup, returns new node id.",
    283284            "parameters": [
    284285                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to set markup for." },
    285286                { "name": "outerHTML", "type": "string", "description": "Outer HTML markup to set." }
    286             ],
    287             "description": "Sets node HTML markup, returns new node id."
     287            ]
    288288        },
    289289        {
    290290            "name": "performSearch",
     291            "description": "Searches for a given string in the DOM tree. Use <code>getSearchResults</code> to access search results or <code>cancelSearch</code> to end this search session.",
    291292            "parameters": [
    292293                { "name": "query", "type": "string", "description": "Plain text or query selector or XPath search query." },
     
    296297                { "name": "searchId", "type": "string", "description": "Unique search session identifier." },
    297298                { "name": "resultCount", "type": "integer", "description": "Number of search results." }
    298             ],
    299             "description": "Searches for a given string in the DOM tree. Use <code>getSearchResults</code> to access search results or <code>cancelSearch</code> to end this search session."
     299            ]
    300300        },
    301301        {
    302302            "name": "getSearchResults",
     303            "description": "Returns search results from given <code>fromIndex</code> to given <code>toIndex</code> from the sarch with the given identifier.",
    303304            "parameters": [
    304305                { "name": "searchId", "type": "string", "description": "Unique search session identifier." },
     
    308309            "returns": [
    309310                { "name": "nodeIds", "type": "array", "items": { "$ref": "NodeId" }, "description": "Ids of the search result nodes." }
    310             ],
    311             "description": "Returns search results from given <code>fromIndex</code> to given <code>toIndex</code> from the sarch with the given identifier."
     311            ]
    312312        },
    313313        {
    314314            "name": "discardSearchResults",
     315            "description": "Discards search results from the session with the given id. <code>getSearchResults</code> should no longer be called for that search.",
    315316            "parameters": [
    316317                { "name": "searchId", "type": "string", "description": "Unique search session identifier." }
    317             ],
    318             "description": "Discards search results from the session with the given id. <code>getSearchResults</code> should no longer be called for that search."
     318            ]
    319319        },
    320320        {
    321321            "name": "requestNode",
     322            "description": "Requests that the node is sent to the caller given the JavaScript node object reference. All nodes that form the path from the node to the root are also sent to the client as a series of <code>setChildNodes</code> notifications.",
    322323            "parameters": [
    323324                { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "description": "JavaScript object id to convert into node." }
     
    325326            "returns": [
    326327                { "name": "nodeId", "$ref": "NodeId", "description": "Node id for given object." }
    327             ],
    328             "description": "Requests that the node is sent to the caller given the JavaScript node object reference. All nodes that form the path from the node to the root are also sent to the client as a series of <code>setChildNodes</code> notifications."
     328            ]
    329329        },
    330330        {
    331331            "name": "setInspectModeEnabled",
     332            "description": "Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspect' command upon element selection.",
    332333            "parameters": [
    333334                { "name": "enabled", "type": "boolean", "description": "True to enable inspection mode, false to disable it." },
    334335                { "name": "highlightConfig", "$ref": "HighlightConfig", "optional": true, "description": "A descriptor for the highlight appearance of hovered-over nodes. May be omitted if <code>enabled == false</code>." }
    335             ],
    336             "description": "Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspect' command upon element selection."
     336            ]
    337337        },
    338338        {
    339339            "name": "highlightRect",
     340            "description": "Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.",
    340341            "parameters": [
    341342                { "name": "x", "type": "integer", "description": "X coordinate" },
     
    346347                { "name": "outlineColor", "$ref": "RGBAColor", "optional": true, "description": "The highlight outline color (default: transparent)." },
    347348                { "name": "usePageCoordinates", "type": "boolean", "optional": true, "description": "Indicates whether the provided parameters are in page coordinates or in viewport coordinates (the default)." }
    348             ],
    349             "description": "Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport."
     349            ]
    350350        },
    351351        {
    352352            "name": "highlightQuad",
     353            "description": "Highlights given quad. Coordinates are absolute with respect to the main frame viewport.",
    353354            "parameters": [
    354355                { "name": "quad", "$ref": "Quad", "description": "Quad to highlight" },
     
    356357                { "name": "outlineColor", "$ref": "RGBAColor", "optional": true, "description": "The highlight outline color (default: transparent)." },
    357358                { "name": "usePageCoordinates", "type": "boolean", "optional": true, "description": "Indicates whether the provided parameters are in page coordinates or in viewport coordinates (the default)." }
    358             ],
    359             "description": "Highlights given quad. Coordinates are absolute with respect to the main frame viewport."
     359            ]
    360360        },
    361361        {
    362362            "name": "highlightSelector",
     363            "description": "Highlights all DOM nodes that match a given selector. A string containing a CSS selector must be specified.",
    363364            "parameters": [
    364365                { "name": "highlightConfig", "$ref": "HighlightConfig", "description": "A descriptor for the highlight appearance." },
    365366                { "name": "selectorString", "type": "string", "description": "A CSS selector for finding matching nodes to highlight." },
    366367                { "name": "frameId", "type": "string", "optional": true, "description": "Identifier of the frame which will be searched using the selector.  If not provided, the main frame will be used." }
    367             ],
    368             "description": "Highlights all DOM nodes that match a given selector. A string containing a CSS selector must be specified."
     368            ]
    369369        },
    370370        {
    371371            "name": "highlightNode",
     372            "description": "Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.",
    372373            "parameters": [
    373374                { "name": "highlightConfig", "$ref": "HighlightConfig", "description": "A descriptor for the highlight appearance." },
    374375                { "name": "nodeId", "$ref": "NodeId", "optional": true, "description": "Identifier of the node to highlight." },
    375376                { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "optional": true, "description": "JavaScript object id of the node to be highlighted." }
    376             ],
    377             "description": "Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified."
     377            ]
    378378        },
    379379        {
     
    392392        {
    393393            "name": "pushNodeByPathToFrontend",
     394            "description": "Requests that the node is sent to the caller given its path.",
    394395            "parameters": [
    395396                { "name": "path", "type": "string", "description": "Path to node in the proprietary format." }
     
    397398            "returns": [
    398399                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node for given path." }
    399             ],
    400             "description": "Requests that the node is sent to the caller given its path. // FIXME, use XPath"
     400            ]
    401401        },
    402402        {
    403403            "name": "pushNodeByBackendIdToFrontend",
     404            "description": "Requests that the node is sent to the caller given its backend node id.",
    404405            "parameters": [
    405406                { "name": "backendNodeId", "$ref": "BackendNodeId", "description": "The backend node id of the node." }
     
    407408            "returns": [
    408409                { "name": "nodeId", "$ref": "NodeId", "description": "The pushed node's id." }
    409             ],
    410             "description": "Requests that the node is sent to the caller given its backend node id."
     410            ]
    411411        },
    412412        {
    413413            "name": "releaseBackendNodeIds",
     414            "description": "Requests that group of <code>BackendNodeIds</code> is released.",
    414415            "parameters": [
    415416                { "name": "nodeGroup", "type": "string", "description": "The backend node ids group name." }
    416             ],
    417             "description": "Requests that group of <code>BackendNodeIds</code> is released."
     417            ]
    418418        },
    419419        {
    420420            "name": "resolveNode",
     421            "description": "Resolves JavaScript node object for given node id.",
    421422            "parameters": [
    422423                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to resolve." },
     
    425426            "returns": [
    426427                { "name": "object", "$ref": "Runtime.RemoteObject", "description": "JavaScript object wrapper for given node." }
    427             ],
    428             "description": "Resolves JavaScript node object for given node id."
     428            ]
    429429        },
    430430        {
    431431            "name": "getAttributes",
    432             "parameters": [
    433                 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to retrieve attibutes for." }
     432            "description": "Returns attributes for the specified node.",
     433            "parameters": [
     434                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to retrieve attributes for." }
    434435            ],
    435436            "returns": [
    436437                { "name": "attributes", "type": "array", "items": { "type": "string" }, "description": "An interleaved array of node attribute names and values." }
    437             ],
    438             "description": "Returns attributes for the specified node."
     438            ]
    439439        },
    440440        {
    441441            "name": "moveTo",
     442            "description": "Moves node into the new container, places it before the given anchor.",
    442443            "parameters": [
    443444                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to drop." },
     
    447448            "returns": [
    448449                { "name": "nodeId", "$ref": "NodeId", "description": "New id of the moved node." }
    449             ],
    450             "description": "Moves node into the new container, places it before the given anchor."
     450            ]
    451451        },
    452452        {
     
    464464        {
    465465            "name": "focus",
     466            "description": "Focuses the given element.",
    466467            "parameters": [
    467468                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to focus." }
    468             ],
    469             "description": "Focuses the given element."
     469            ]
    470470        }
    471471    ],
     
    477477        {
    478478            "name": "setChildNodes",
     479            "description": "Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node ids.",
    479480            "parameters": [
    480481                { "name": "parentId", "$ref": "NodeId", "description": "Parent node id to populate with children." },
    481482                { "name": "nodes", "type": "array", "items": { "$ref": "Node"}, "description": "Child nodes array." }
    482             ],
    483             "description": "Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node ids."
     483            ]
    484484        },
    485485        {
    486486            "name": "attributeModified",
     487            "description": "Fired when <code>Element</code>'s attribute is modified.",
    487488            "parameters": [
    488489                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node that has changed." },
    489490                { "name": "name", "type": "string", "description": "Attribute name." },
    490491                { "name": "value", "type": "string", "description": "Attribute value." }
    491             ],
    492             "description": "Fired when <code>Element</code>'s attribute is modified."
     492            ]
    493493        },
    494494        {
    495495            "name": "attributeRemoved",
     496            "description": "Fired when <code>Element</code>'s attribute is removed.",
    496497            "parameters": [
    497498                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node that has changed." },
    498                 { "name": "name", "type": "string", "description": "A ttribute name." }
    499             ],
    500             "description": "Fired when <code>Element</code>'s attribute is removed."
     499                { "name": "name", "type": "string", "description": "Attribute name." }
     500            ]
    501501        },
    502502        {
    503503            "name": "inlineStyleInvalidated",
     504            "description": "Fired when <code>Element</code>'s inline style is modified via a CSS property modification.",
    504505            "parameters": [
    505506                { "name": "nodeIds", "type": "array", "items": { "$ref": "NodeId" }, "description": "Ids of the nodes for which the inline styles have been invalidated." }
    506             ],
    507             "description": "Fired when <code>Element</code>'s inline style is modified via a CSS property modification."
     507            ]
    508508        },
    509509        {
    510510            "name": "characterDataModified",
     511            "description": "Mirrors <code>DOMCharacterDataModified</code> event.",
    511512            "parameters": [
    512513                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node that has changed." },
    513514                { "name": "characterData", "type": "string", "description": "New text value." }
    514             ],
    515             "description": "Mirrors <code>DOMCharacterDataModified</code> event."
     515            ]
    516516        },
    517517        {
    518518            "name": "childNodeCountUpdated",
     519            "description": "Fired when <code>Container</code>'s child node count has changed.",
    519520            "parameters": [
    520521                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node that has changed." },
    521522                { "name": "childNodeCount", "type": "integer", "description": "New node count." }
    522             ],
    523             "description": "Fired when <code>Container</code>'s child node count has changed."
     523            ]
    524524        },
    525525        {
    526526            "name": "childNodeInserted",
     527            "description": "Mirrors <code>DOMNodeInserted</code> event.",
    527528            "parameters": [
    528529                { "name": "parentNodeId", "$ref": "NodeId", "description": "Id of the node that has changed." },
    529                 { "name": "previousNodeId", "$ref": "NodeId", "description": "If of the previous siblint." },
     530                { "name": "previousNodeId", "$ref": "NodeId", "description": "Id of the previous sibling." },
    530531                { "name": "node", "$ref": "Node", "description": "Inserted node data." }
    531             ],
    532             "description": "Mirrors <code>DOMNodeInserted</code> event."
     532            ]
    533533        },
    534534        {
    535535            "name": "childNodeRemoved",
     536            "description": "Mirrors <code>DOMNodeRemoved</code> event.",
    536537            "parameters": [
    537538                { "name": "parentNodeId", "$ref": "NodeId", "description": "Parent id." },
    538539                { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node that has been removed." }
    539             ],
    540             "description": "Mirrors <code>DOMNodeRemoved</code> event."
     540            ]
    541541        },
    542542        {
    543543            "name": "shadowRootPushed",
     544            "description": "Called when shadow root is pushed into the element.",
    544545            "parameters": [
    545546                { "name": "hostId", "$ref": "NodeId", "description": "Host element id." },
    546547                { "name": "root", "$ref": "Node", "description": "Shadow root." }
    547             ],
    548             "description": "Called when shadow root is pushed into the element."
     548            ]
    549549        },
    550550        {
    551551            "name": "shadowRootPopped",
     552            "description": "Called when shadow root is popped from the element.",
    552553            "parameters": [
    553554                { "name": "hostId", "$ref": "NodeId", "description": "Host element id." },
    554555                { "name": "rootId", "$ref": "NodeId", "description": "Shadow root id." }
    555             ],
    556             "description": "Called when shadow root is popped from the element."
     556            ]
    557557        },
    558558        {
    559559            "name": "customElementStateChanged",
     560            "description": "Called when the custom element state is changed.",
    560561            "parameters": [
    561562                { "name": "nodeId", "$ref": "NodeId", "description": "Element id." },
    562563                { "name": "customElementState", "$ref": "CustomElementState", "description": "Custom element state." }
    563             ],
    564             "description": "Called when the custom element state is changed."
     564            ]
    565565        },
    566566        {
    567567            "name": "pseudoElementAdded",
     568            "description": "Called when a pseudo element is added to an element.",
    568569            "parameters": [
    569570                { "name": "parentId", "$ref": "NodeId", "description": "Pseudo element's parent element id." },
    570571                { "name": "pseudoElement", "$ref": "Node", "description": "The added pseudo element." }
    571             ],
    572             "description": "Called when a pseudo element is added to an element."
     572            ]
    573573        },
    574574        {
    575575            "name": "pseudoElementRemoved",
     576            "description": "Called when a pseudo element is removed from an element.",
    576577            "parameters": [
    577578                { "name": "parentId", "$ref": "NodeId", "description": "Pseudo element's parent element id." },
    578579                { "name": "pseudoElementId", "$ref": "NodeId", "description": "The removed pseudo element id." }
    579             ],
    580             "description": "Called when a pseudo element is removed from an element."
     580            ]
    581581        }
    582582    ]
  • trunk/Source/JavaScriptCore/inspector/protocol/DOMDebugger.json

    r215584 r218898  
    1414        {
    1515            "name": "setDOMBreakpoint",
     16            "description": "Sets breakpoint on particular operation with DOM.",
    1617            "parameters": [
    1718                { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Identifier of the node to set breakpoint on." },
    1819                { "name": "type", "$ref": "DOMBreakpointType", "description": "Type of the operation to stop upon." }
    19             ],
    20             "description": "Sets breakpoint on particular operation with DOM."
     20            ]
    2121        },
    2222        {
    2323            "name": "removeDOMBreakpoint",
     24            "description": "Removes DOM breakpoint that was set using <code>setDOMBreakpoint</code>.",
    2425            "parameters": [
    2526                { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Identifier of the node to remove breakpoint from." },
    2627                { "name": "type", "$ref": "DOMBreakpointType", "description": "Type of the breakpoint to remove." }
    27             ],
    28             "description": "Removes DOM breakpoint that was set using <code>setDOMBreakpoint</code>."
     28            ]
    2929        },
    3030        {
    3131            "name": "setEventListenerBreakpoint",
     32            "description": "Sets breakpoint on particular DOM event.",
    3233            "parameters": [
    3334                { "name": "eventName", "type": "string", "description": "DOM Event name to stop on (any DOM event will do)." }
    34             ],
    35             "description": "Sets breakpoint on particular DOM event."
     35            ]
    3636        },
    3737        {
    3838            "name": "removeEventListenerBreakpoint",
     39            "description": "Removes breakpoint on particular DOM event.",
    3940            "parameters": [
    4041                { "name": "eventName", "type": "string", "description": "Event name." }
    41             ],
    42             "description": "Removes breakpoint on particular DOM event."
     42            ]
    4343        },
    4444        {
    4545            "name": "setInstrumentationBreakpoint",
     46            "description": "Sets breakpoint on particular native event.",
    4647            "parameters": [
    4748                { "name": "eventName", "type": "string", "description": "Instrumentation name to stop on." }
    48             ],
    49             "description": "Sets breakpoint on particular native event."
     49            ]
    5050        },
    5151        {
    5252            "name": "removeInstrumentationBreakpoint",
     53            "description": "Sets breakpoint on particular native event.",
    5354            "parameters": [
    5455                { "name": "eventName", "type": "string", "description": "Instrumentation name to stop on." }
    55             ],
    56             "description": "Sets breakpoint on particular native event."
     56            ]
    5757        },
    5858        {
    5959            "name": "setXHRBreakpoint",
     60            "description": "Sets breakpoint on XMLHttpRequest.",
    6061            "parameters": [
    6162                { "name": "url", "type": "string", "description": "Resource URL substring or regular expression. All XHRs having this substring in the URL will get stopped upon. An empty string will pause on all XHRs." },
    62                 { "name": "isRegex", "type": "boolean", "optional": true, "descriprion": "Whether the URL string is a regular expression." }
    63             ],
    64             "description": "Sets breakpoint on XMLHttpRequest."
     63                { "name": "isRegex", "type": "boolean", "optional": true, "description": "Whether the URL string is a regular expression." }
     64            ]
    6565        },
    6666        {
    6767            "name": "removeXHRBreakpoint",
     68            "description": "Removes breakpoint from XMLHttpRequest.",
    6869            "parameters": [
    6970                { "name": "url", "type": "string", "description": "Resource URL substring. An empty string will stop pausing on all XHRs." }
    70             ],
    71             "description": "Removes breakpoint from XMLHttpRequest."
     71            ]
    7272        }
    7373    ]
  • trunk/Source/JavaScriptCore/inspector/protocol/Debugger.json

    r211075 r218898  
    2727            "id": "Location",
    2828            "type": "object",
     29            "description": "Location in the source code.",
    2930            "properties": [
    3031                { "name": "scriptId", "$ref": "ScriptId", "description": "Script identifier as reported in the <code>Debugger.scriptParsed</code>." },
    3132                { "name": "lineNumber", "type": "integer", "description": "Line number in the script." },
    3233                { "name": "columnNumber", "type": "integer", "optional": true, "description": "Column number in the script." }
    33             ],
    34             "description": "Location in the source code."
     34            ]
    3535        },
    3636        {
    3737            "id": "BreakpointAction",
    3838            "type": "object",
     39            "description": "Action to perform when a breakpoint is triggered.",
    3940            "properties": [
    4041                { "name": "type", "type": "string", "enum": ["log", "evaluate", "sound", "probe"], "description": "Different kinds of breakpoint actions." },
    41                 { "name": "data", "type": "string", "optional": true, "description": "Data associated with this breakpoint type (e.g. for type \"eval\" this is the JavaScript string to evalulate)." },
     42                { "name": "data", "type": "string", "optional": true, "description": "Data associated with this breakpoint type (e.g. for type \"eval\" this is the JavaScript string to evaluate)." },
    4243                { "name": "id", "$ref": "BreakpointActionIdentifier", "optional": true, "description": "A frontend-assigned identifier for this breakpoint action." }
    43             ],
    44             "description": "Action to perform when a breakpoint is triggered."
     44            ]
    4545        },
    4646        {
    4747            "id": "BreakpointOptions",
    4848            "type": "object",
     49            "description": "Extra options that modify breakpoint behavior.",
    4950            "properties": [
    5051                { "name": "condition", "type": "string", "optional": true, "description": "Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true." },
     
    5253                { "name": "autoContinue", "type": "boolean", "optional": true, "description": "Automatically continue after hitting this breakpoint and running actions." },
    5354                { "name": "ignoreCount", "type": "integer", "optional": true, "description": "Number of times to ignore this breakpoint, before stopping on the breakpoint and running actions." }
    54             ],
    55             "description": "Extra options that modify breakpoint behavior."
     55            ]
    5656        },
    5757        {
    5858            "id": "FunctionDetails",
    5959            "type": "object",
     60            "description": "Information about the function.",
    6061            "properties": [
    6162                { "name": "location", "$ref": "Location", "description": "Location of the function." },
     
    6364                { "name": "displayName", "type": "string", "optional": true, "description": "Display name of the function(specified in 'displayName' property on the function object)." },
    6465                { "name": "scopeChain", "type": "array", "optional": true, "items": { "$ref": "Scope" }, "description": "Scope chain for this closure." }
    65             ],
    66             "description": "Information about the function."
     66            ]
    6767        },
    6868        {
    6969            "id": "CallFrame",
    7070            "type": "object",
     71            "description": "JavaScript call frame. Array of call frames form the call stack.",
    7172            "properties": [
    7273                { "name": "callFrameId", "$ref": "CallFrameId", "description": "Call frame identifier. This identifier is only valid while the virtual machine is paused." },
     
    7677                { "name": "this", "$ref": "Runtime.RemoteObject", "description": "<code>this</code> object for this call frame." },
    7778                { "name": "isTailDeleted", "type": "boolean", "description": "Is the current frame tail deleted from a tail call." }
    78             ],
    79             "description": "JavaScript call frame. Array of call frames form the call stack."
     79            ]
    8080        },
    8181        {
    8282            "id": "Scope",
    8383            "type": "object",
     84            "description": "Scope description.",
    8485            "properties": [
    8586                { "name": "object", "$ref": "Runtime.RemoteObject", "description": "Object representing the scope. For <code>global</code> and <code>with</code> scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties." },
     
    8889                { "name": "location", "$ref": "Location", "optional": true, "description": "Location if available of the scope definition." },
    8990                { "name": "empty", "type": "boolean", "optional": true, "description": "Whether the scope has any variables." }
    90             ],
    91             "description": "Scope description."
     91            ]
    9292        },
    9393        {
     
    105105        {
    106106            "id": "AssertPauseReason",
     107            "type": "object",
    107108            "description": "The pause reason auxiliary data when paused because of an assertion.",
    108             "type": "object",
    109109            "properties": [
    110110                { "name": "message", "type": "string", "optional": true, "description": "The console.assert message string if provided." }
     
    113113        {
    114114            "id": "BreakpointPauseReason",
     115            "type": "object",
    115116            "description": "The pause reason auxiliary data when paused because of hitting a breakpoint.",
    116             "type": "object",
    117117            "properties": [
    118118                { "name": "breakpointId", "type": "string", "description": "The identifier of the breakpoint causing the pause." }
     
    121121        {
    122122            "id": "CSPViolationPauseReason",
     123            "type": "object",
    123124            "description": "The pause reason auxiliary data when paused because of a Content Security Policy directive.",
    124             "type": "object",
    125125            "properties": [
    126126                { "name": "directive", "type": "string", "description": "The CSP directive that blocked script execution." }
     
    146146        {
    147147            "name": "setBreakpointsActive",
     148            "description": "Activates / deactivates all breakpoints on the page.",
    148149            "parameters": [
    149150                { "name": "active", "type": "boolean", "description": "New value for breakpoints active state." }
    150             ],
    151             "description": "Activates / deactivates all breakpoints on the page."
     151            ]
    152152        },
    153153        {
    154154            "name": "setBreakpointByUrl",
     155            "description": "Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in <code>locations</code> property. Further matching script parsing will result in subsequent <code>breakpointResolved</code> events issued. This logical breakpoint will survive page reloads.",
    155156            "parameters": [
    156157                { "name": "lineNumber", "type": "integer", "description": "Line number to set breakpoint at." },
     
    163164                { "name": "breakpointId", "$ref": "BreakpointId", "description": "Id of the created breakpoint for further reference." },
    164165                { "name": "locations", "type": "array", "items": { "$ref": "Location"}, "description": "List of the locations this breakpoint resolved into upon addition." }
    165             ],
    166             "description": "Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in <code>locations</code> property. Further matching script parsing will result in subsequent <code>breakpointResolved</code> events issued. This logical breakpoint will survive page reloads."
     166            ]
    167167        },
    168168        {
    169169            "name": "setBreakpoint",
     170            "description": "Sets JavaScript breakpoint at a given location.",
    170171            "parameters": [
    171172                { "name": "location", "$ref": "Location", "description": "Location to set breakpoint in." },
     
    175176                { "name": "breakpointId", "$ref": "BreakpointId", "description": "Id of the created breakpoint for further reference." },
    176177                { "name": "actualLocation", "$ref": "Location", "description": "Location this breakpoint resolved into." }
    177             ],
    178             "description": "Sets JavaScript breakpoint at a given location."
     178            ]
    179179        },
    180180        {
    181181            "name": "removeBreakpoint",
     182            "description": "Removes JavaScript breakpoint.",
    182183            "parameters": [
    183184                { "name": "breakpointId", "$ref": "BreakpointId" }
    184             ],
    185             "description": "Removes JavaScript breakpoint."
     185            ]
    186186        },
    187187        {
     
    231231        {
    232232            "name": "getScriptSource",
     233            "description": "Returns source for the script with given id.",
    233234            "parameters": [
    234235                { "name": "scriptId", "$ref": "ScriptId", "description": "Id of the script to get source for." }
     
    236237            "returns": [
    237238                { "name": "scriptSource", "type": "string", "description": "Script source." }
    238             ],
    239             "description": "Returns source for the script with given id."
     239            ]
    240240        },
    241241        {
    242242            "name": "getFunctionDetails",
     243            "description": "Returns detailed information on given function.",
    243244            "parameters": [
    244245                { "name": "functionId", "$ref": "Runtime.RemoteObjectId", "description": "Id of the function to get location for." }
     
    246247            "returns": [
    247248                { "name": "details", "$ref": "FunctionDetails", "description": "Information about the function." }
    248             ],
    249             "description": "Returns detailed information on given function."
     249            ]
    250250        },
    251251        {
     
    265265        {
    266266            "name": "evaluateOnCallFrame",
     267            "description": "Evaluates expression on a given call frame.",
    267268            "parameters": [
    268269                { "name": "callFrameId", "$ref": "CallFrameId", "description": "Call frame identifier to evaluate on." },
     
    279280                { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." },
    280281                { "name": "savedResultIndex", "type": "integer", "optional": true, "description": "If the result was saved, this is the $n index that can be used to access the value." }
    281             ],
    282             "description": "Evaluates expression on a given call frame."
     282            ]
    283283        },
    284284        {
    285285            "name": "setOverlayMessage",
     286            "description": "Sets overlay message.",
    286287            "parameters": [
    287288                { "name": "message", "type": "string", "optional": true, "description": "Overlay message to display when paused in debugger." }
    288             ],
    289             "description": "Sets overlay message."
     289            ]
    290290        }
    291291    ],
     
    297297        {
    298298            "name": "scriptParsed",
     299            "description": "Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.",
    299300            "parameters": [
    300301                { "name": "scriptId", "$ref": "ScriptId", "description": "Identifier of the script parsed." },
     
    308309                { "name": "sourceMapURL", "type": "string", "optional": true, "description": "URL of source map associated with script (if any)." },
    309310                { "name": "module", "type": "boolean", "optional": true, "description": "True if this script was parsed as a module." }
    310             ],
    311             "description": "Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger."
     311            ]
    312312        },
    313313        {
    314314            "name": "scriptFailedToParse",
     315            "description": "Fired when virtual machine fails to parse the script.",
    315316            "parameters": [
    316317                { "name": "url", "type": "string", "description": "URL of the script that failed to parse." },
     
    319320                { "name": "errorLine", "type": "integer", "description": "Line with error." },
    320321                { "name": "errorMessage", "type": "string", "description": "Parse error message." }
    321             ],
    322             "description": "Fired when virtual machine fails to parse the script."
     322            ]
    323323        },
    324324        {
    325325            "name": "breakpointResolved",
     326            "description": "Fired when breakpoint is resolved to an actual script and location.",
    326327            "parameters": [
    327328                { "name": "breakpointId", "$ref": "BreakpointId", "description": "Breakpoint unique identifier." },
    328329                { "name": "location", "$ref": "Location", "description": "Actual breakpoint location." }
    329             ],
    330             "description": "Fired when breakpoint is resolved to an actual script and location."
     330            ]
    331331        },
    332332        {
    333333            "name": "paused",
     334            "description": "Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.",
    334335            "parameters": [
    335336                { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "Call stack the virtual machine stopped on." },
     
    337338                { "name": "data", "type": "object", "optional": true, "description": "Object containing break-specific auxiliary properties." },
    338339                { "name": "asyncStackTrace", "$ref": "Console.StackTrace", "optional": true, "description": "Linked list of asynchronous StackTraces." }
    339             ],
    340             "description": "Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria."
     340            ]
    341341        },
    342342        {
  • trunk/Source/JavaScriptCore/inspector/protocol/LayerTree.json

    r188530 r218898  
    8989        {
    9090            "name": "layersForNode",
     91            "description": "Returns the layer tree structure of the current page.",
    9192            "parameters": [
    92                 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Root of the subtree for which we want to gather layers." }                ],
    93             "description": "Returns the layer tree structure of the current page.",
     93                { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Root of the subtree for which we want to gather layers." }
     94            ],
    9495            "returns": [
    9596                { "name": "layers", "type": "array", "items": { "$ref": "Layer" }, "description": "Child layers." }
     
    9899        {
    99100            "name": "reasonsForCompositingLayer",
     101            "description": "Provides the reasons why the given layer was composited.",
    100102            "parameters": [
    101103                { "name": "layerId", "$ref": "LayerId", "description": "The id of the layer for which we want to get the reasons it was composited." }
    102104            ],
    103             "description": "Provides the reasons why the given layer was composited.",
    104105            "returns": [
    105106                { "name": "compositingReasons", "$ref": "CompositingReasons", "description": "An object containing the reasons why the layer was composited as properties." }
  • trunk/Source/JavaScriptCore/inspector/protocol/Network.json

    r217912 r218898  
    176176        {
    177177            "name": "setResourceCachingDisabled",
     178            "description": "Toggles whether the resource cache may be used when loading resources in the inspected page. If <code>true</code>, the resource cache will not be used when loading resources.",
    178179            "parameters": [
    179180                { "name": "disabled", "type": "boolean", "description": "Whether to prevent usage of the resource cache." }
    180             ],
    181             "description": "Toggles whether the resource cache may be used when loading resources in the inspected page. If <code>true</code>, the resource cache will not be used when loading resources."
     181            ]
    182182        },
    183183        {
    184184            "name": "loadResource",
     185            "description": "Loads a resource in the context of a frame on the inspected page without cross origin checks.",
    185186            "async": true,
    186187            "parameters": [
     
    192193                { "name": "mimeType", "type": "string", "description": "Resource mimeType." },
    193194                { "name": "status", "type": "number", "description": "HTTP response status code." }
    194             ],
    195             "description": "Loads a resource in the context of a frame on the inspected page without cross origin checks."
     195            ]
    196196        },
    197197        {
  • trunk/Source/JavaScriptCore/inspector/protocol/Page.json

    r217248 r218898  
    112112        {
    113113            "name": "reload",
     114            "description": "Reloads the main frame of the inspected page.",
    114115            "parameters": [
    115116                { "name": "ignoreCache", "type": "boolean", "optional": true, "description": "If true, browser cache is ignored (as if the user pressed Shift+refresh)." },
    116117                { "name": "revalidateAllResources", "type": "boolean", "optional": true, "description": "If true, all cached subresources will be revalidated when the main resource loads. Otherwise, only expired cached subresources will be revalidated (the default behavior for most WebKit clients)." },
    117118                { "name": "scriptToEvaluateOnLoad", "type": "string", "optional": true, "description": "If set, the script will be injected into all frames of the inspected page after reload." }
    118             ],
    119             "description": "Reloads the main frame of the inspected page."
     119            ]
    120120        },
    121121        {
    122122            "name": "navigate",
     123            "description": "Navigates current page to the given URL.",
    123124            "parameters": [
    124125                { "name": "url", "type": "string", "description": "URL to navigate the page to." }
    125             ],
    126             "description": "Navigates current page to the given URL."
     126            ]
    127127        },
    128128        {
    129129            "name": "getCookies",
     130            "description": "Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the <code>cookies</code> field.",
    130131            "returns": [
    131132                { "name": "cookies", "type": "array", "items": { "$ref": "Cookie"}, "description": "Array of cookie objects." }
    132             ],
    133             "description": "Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the <code>cookies</code> field."
     133            ]
    134134        },
    135135        {
    136136            "name": "deleteCookie",
     137            "description": "Deletes browser cookie with given name, domain and path.",
    137138            "parameters": [
    138139                { "name": "cookieName", "type": "string", "description": "Name of the cookie to remove." },
    139                 { "name": "url", "type": "string", "description": "URL to match cooke domain and path." }
    140             ],
    141             "description": "Deletes browser cookie with given name, domain and path."
     140                { "name": "url", "type": "string", "description": "URL to match cookie domain and path." }
     141            ]
    142142        },
    143143        {
  • trunk/Source/JavaScriptCore/inspector/protocol/Runtime.json

    r218718 r218898  
    198198        {
    199199            "name": "parse",
     200            "description": "Parses JavaScript source code for errors.",
    200201            "parameters": [
    201202                { "name": "source", "type": "string", "description": "Source code to parse." }
     
    205206                { "name": "message", "type": "string", "optional": true, "description": "Parse error message." },
    206207                { "name": "range", "$ref": "ErrorRange", "optional": true, "description": "Range in the source where the error occurred." }
    207             ],
    208             "description": "Parses JavaScript source code for errors."
     208            ]
    209209        },
    210210        {
    211211            "name": "evaluate",
     212            "description": "Evaluates expression on global object.",
    212213            "parameters": [
    213214                { "name": "expression", "type": "string", "description": "Expression to evaluate." },
     
    224225                { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." },
    225226                { "name": "savedResultIndex", "type": "integer", "optional": true, "description": "If the result was saved, this is the $n index that can be used to access the value." }
    226             ],
    227             "description": "Evaluates expression on global object."
     227            ]
    228228        },
    229229        {
    230230            "name": "callFunctionOn",
     231            "description": "Calls function with given declaration on the given object. Object group of the result is inherited from the target object.",
    231232            "parameters": [
    232233                { "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to call function on." },
     
    240241                { "name": "result", "$ref": "RemoteObject", "description": "Call result." },
    241242                { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." }
    242             ],
    243             "description": "Calls function with given declaration on the given object. Object group of the result is inherited from the target object."
     243            ]
    244244        },
    245245        {
     
    255255        {
    256256            "name": "getProperties",
     257            "description": "Returns properties of a given object. Object group of the result is inherited from the target object.",
    257258            "parameters": [
    258259                { "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to return properties for." },
     
    263264                { "name": "result", "type": "array", "items": { "$ref": "PropertyDescriptor"}, "description": "Object properties." },
    264265                { "name": "internalProperties", "optional": true, "type": "array", "items": { "$ref": "InternalPropertyDescriptor"}, "description": "Internal object properties." }
    265             ],
    266             "description": "Returns properties of a given object. Object group of the result is inherited from the target object."
     266            ]
    267267        },
    268268        {
    269269            "name": "getDisplayableProperties",
     270            "description": "Returns displayable properties of a given object. Object group of the result is inherited from the target object. Displayable properties are own properties, internal properties, and native getters in the prototype chain (assumed to be bindings and treated like own properties for the frontend).",
    270271            "parameters": [
    271272                { "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to return properties for." },
     
    275276                { "name": "properties", "type": "array", "items": { "$ref": "PropertyDescriptor"}, "description": "Object properties." },
    276277                { "name": "internalProperties", "optional": true, "type": "array", "items": { "$ref": "InternalPropertyDescriptor"}, "description": "Internal object properties." }
    277             ],
    278             "description": "Returns displayable properties of a given object. Object group of the result is inherited from the target object. Displayable properties are own properties, internal properties, and native getters in the prototype chain (assumed to be bindings and treated like own properties for the frontend)."
     278            ]
    279279        },
    280280        {
     
    293293        {
    294294            "name": "saveResult",
     295            "description": "Assign a saved result index to this value.",
    295296            "parameters": [
    296297                { "name": "value", "$ref": "CallArgument", "description": "Id or value of the object to save." },
     
    299300            "returns": [
    300301                { "name": "savedResultIndex", "type": "integer", "optional": true, "description": "If the value was saved, this is the $n index that can be used to access the value." }
    301             ],
    302             "description": "Assign a saved result index to this value."
     302            ]
    303303        },
    304304        {
    305305            "name": "releaseObject",
     306            "description": "Releases remote object with given id.",
    306307            "parameters": [
    307308                { "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to release." }
    308             ],
    309             "description": "Releases remote object with given id."
     309            ]
    310310        },
    311311        {
    312312            "name": "releaseObjectGroup",
     313            "description": "Releases all remote objects that belong to a given group.",
    313314            "parameters": [
    314315                { "name": "objectGroup", "type": "string", "description": "Symbolic object group name." }
    315             ],
    316             "description": "Releases all remote objects that belong to a given group."
     316            ]
    317317        },
    318318        {
     
    326326        {
    327327            "name": "getRuntimeTypesForVariablesAtOffsets",
     328            "description": "Returns detailed information on the given function.",
    328329            "parameters": [
    329330                { "name": "locations", "type": "array", "items": { "$ref": "TypeLocation" }, "description": "An array of type locations we're requesting information for. Results are expected in the same order they're sent in."}
     
    331332            "returns": [
    332333                { "name": "types", "type": "array", "items": { "$ref": "TypeDescription", "description": "Types for requested variable." } }
    333             ],
    334             "description": "Returns detailed informtation on given function."
     334            ]
    335335        },
    336336        {
     
    352352        {
    353353            "name": "getBasicBlocks",
     354            "description": "Returns a list of basic blocks for the given sourceID with information about their text ranges and whether or not they have executed.",
    354355            "parameters": [
    355356                { "name": "sourceID", "type": "string", "description": "Indicates which sourceID information is requested for." }
     
    357358            "returns": [
    358359                { "name": "basicBlocks", "type": "array", "items": { "$ref": "BasicBlock", "description": "Array of basic blocks." } }
    359             ],
    360             "description": "Returns a list of basic blocks for the given sourceID with information about their text ranges and whether or not they have executed."
     360            ]
    361361        }
    362362    ],
     
    364364        {
    365365            "name": "executionContextCreated",
    366             "parameters": [
    367                 { "name": "context", "$ref": "ExecutionContextDescription", "description": "A newly created execution contex." }
    368             ],
    369             "description": "Issued when new execution context is created."
     366            "description": "Issued when new execution context is created.",
     367            "parameters": [
     368                { "name": "context", "$ref": "ExecutionContextDescription", "description": "A newly created execution context." }
     369            ]
    370370        }
    371371    ]
Note: See TracChangeset for help on using the changeset viewer.