From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- .../inspector/protocol/ApplicationCache.json | 87 +++ Source/JavaScriptCore/inspector/protocol/CSS.json | 457 ++++++++++++++++ .../JavaScriptCore/inspector/protocol/Console.json | 105 ++++ Source/JavaScriptCore/inspector/protocol/DOM.json | 581 +++++++++++++++++++++ .../inspector/protocol/DOMDebugger.json | 73 +++ .../inspector/protocol/DOMStorage.json | 88 ++++ .../inspector/protocol/Database.json | 71 +++ .../inspector/protocol/Debugger.json | 115 +++- Source/JavaScriptCore/inspector/protocol/Heap.json | 100 ++++ .../inspector/protocol/IndexedDB.json | 143 +++++ .../inspector/protocol/Inspector.json | 51 ++ .../inspector/protocol/InspectorDomain.json | 41 -- .../inspector/protocol/LayerTree.json | 114 ++++ .../JavaScriptCore/inspector/protocol/Memory.json | 70 +++ .../JavaScriptCore/inspector/protocol/Network.json | 315 +++++++++++ .../inspector/protocol/OverlayTypes.json | 130 +++++ Source/JavaScriptCore/inspector/protocol/Page.json | 305 +++++++++++ .../JavaScriptCore/inspector/protocol/Replay.json | 264 ++++++++++ .../JavaScriptCore/inspector/protocol/Runtime.json | 196 ++++++- .../inspector/protocol/ScriptProfiler.json | 99 ++++ .../inspector/protocol/Timeline.json | 118 +++++ .../JavaScriptCore/inspector/protocol/Worker.json | 52 ++ 22 files changed, 3483 insertions(+), 92 deletions(-) create mode 100644 Source/JavaScriptCore/inspector/protocol/ApplicationCache.json create mode 100644 Source/JavaScriptCore/inspector/protocol/CSS.json create mode 100644 Source/JavaScriptCore/inspector/protocol/Console.json create mode 100644 Source/JavaScriptCore/inspector/protocol/DOM.json create mode 100644 Source/JavaScriptCore/inspector/protocol/DOMDebugger.json create mode 100644 Source/JavaScriptCore/inspector/protocol/DOMStorage.json create mode 100644 Source/JavaScriptCore/inspector/protocol/Database.json create mode 100644 Source/JavaScriptCore/inspector/protocol/Heap.json create mode 100644 Source/JavaScriptCore/inspector/protocol/IndexedDB.json create mode 100644 Source/JavaScriptCore/inspector/protocol/Inspector.json delete mode 100644 Source/JavaScriptCore/inspector/protocol/InspectorDomain.json create mode 100644 Source/JavaScriptCore/inspector/protocol/LayerTree.json create mode 100644 Source/JavaScriptCore/inspector/protocol/Memory.json create mode 100644 Source/JavaScriptCore/inspector/protocol/Network.json create mode 100644 Source/JavaScriptCore/inspector/protocol/OverlayTypes.json create mode 100644 Source/JavaScriptCore/inspector/protocol/Page.json create mode 100644 Source/JavaScriptCore/inspector/protocol/Replay.json create mode 100644 Source/JavaScriptCore/inspector/protocol/ScriptProfiler.json create mode 100644 Source/JavaScriptCore/inspector/protocol/Timeline.json create mode 100644 Source/JavaScriptCore/inspector/protocol/Worker.json (limited to 'Source/JavaScriptCore/inspector/protocol') diff --git a/Source/JavaScriptCore/inspector/protocol/ApplicationCache.json b/Source/JavaScriptCore/inspector/protocol/ApplicationCache.json new file mode 100644 index 000000000..86a984a12 --- /dev/null +++ b/Source/JavaScriptCore/inspector/protocol/ApplicationCache.json @@ -0,0 +1,87 @@ +{ + "domain": "ApplicationCache", + "availability": "web", + "types": [ + { + "id": "ApplicationCacheResource", + "type": "object", + "description": "Detailed application cache resource information.", + "properties": [ + { "name": "url", "type": "string", "description": "Resource url." }, + { "name": "size", "type": "integer", "description": "Resource size." }, + { "name": "type", "type": "string", "description": "Resource type." } + ] + }, + { + "id": "ApplicationCache", + "type": "object", + "description": "Detailed application cache information.", + "properties": [ + { "name": "manifestURL", "type": "string", "description": "Manifest URL." }, + { "name": "size", "type": "number", "description": "Application cache size." }, + { "name": "creationTime", "type": "number", "description": "Application cache creation time." }, + { "name": "updateTime", "type": "number", "description": "Application cache update time." }, + { "name": "resources", "type": "array", "items": { "$ref": "ApplicationCacheResource" }, "description": "Application cache resources." } + ] + }, + { + "id": "FrameWithManifest", + "type": "object", + "description": "Frame identifier - manifest URL pair.", + "properties": [ + { "name": "frameId", "$ref": "Network.FrameId", "description": "Frame identifier." }, + { "name": "manifestURL", "type": "string", "description": "Manifest URL." }, + { "name": "status", "type": "integer", "description": "Application cache status." } + ] + } + ], + "commands": [ + { + "name": "getFramesWithManifests", + "returns": [ + { "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." } + ], + "description": "Returns array of frame identifiers with manifest urls for each frame containing a document associated with some application cache." + }, + { + "name": "enable", + "description": "Enables application cache domain notifications." + }, + { + "name": "getManifestForFrame", + "parameters": [ + { "name": "frameId", "$ref": "Network.FrameId", "description": "Identifier of the frame containing document whose manifest is retrieved." } + ], + "returns": [ + { "name": "manifestURL", "type": "string", "description": "Manifest URL for document in the given frame." } + ], + "description": "Returns manifest URL for document in the given frame." + }, + { + "name": "getApplicationCacheForFrame", + "parameters": [ + { "name": "frameId", "$ref": "Network.FrameId", "description": "Identifier of the frame containing document whose application cache is retrieved." } + ], + "returns": [ + { "name": "applicationCache", "$ref": "ApplicationCache", "description": "Relevant application cache data for the document in given frame." } + ], + "description": "Returns relevant application cache data for the document in given frame." + } + ], + "events": [ + { + "name": "applicationCacheStatusUpdated", + "parameters": [ + { "name": "frameId", "$ref": "Network.FrameId", "description": "Identifier of the frame containing document whose application cache updated status." }, + { "name": "manifestURL", "type": "string", "description": "Manifest URL." }, + { "name": "status", "type": "integer", "description": "Updated application cache status." } + ] + }, + { + "name": "networkStateUpdated", + "parameters": [ + { "name": "isNowOnline", "type": "boolean" } + ] + } + ] +} diff --git a/Source/JavaScriptCore/inspector/protocol/CSS.json b/Source/JavaScriptCore/inspector/protocol/CSS.json new file mode 100644 index 000000000..7abbe227f --- /dev/null +++ b/Source/JavaScriptCore/inspector/protocol/CSS.json @@ -0,0 +1,457 @@ +{ + "domain": "CSS", + "description": "This domain exposes CSS read/write operations. All CSS objects, like stylesheets, rules, and styles, have an associated id used in subsequent operations on the related object. Each object type has a specific id structure, and those are not interchangeable between objects of different kinds. CSS objects can be loaded using the get*ForNode() calls (which accept a DOM node id). Alternatively, a client can discover all the existing stylesheets with the getAllStyleSheets() method and subsequently load the required stylesheet contents using the getStyleSheet[Text]() methods.", + "availability": "web", + "types": [ + { + "id": "StyleSheetId", + "type": "string" + }, + { + "id": "CSSStyleId", + "type": "object", + "properties": [ + { "name": "styleSheetId", "$ref": "StyleSheetId", "description": "Enclosing stylesheet identifier." }, + { "name": "ordinal", "type": "integer", "description": "The style ordinal within the stylesheet." } + ], + "description": "This object identifies a CSS style in a unique way." + }, + { + "id": "StyleSheetOrigin", + "type": "string", + "enum": ["user", "user-agent", "inspector", "regular"], + "description": "Stylesheet type: \"user\" for user stylesheets, \"user-agent\" for user-agent stylesheets, \"inspector\" for stylesheets created by the inspector (i.e. those holding the \"via inspector\" rules), \"regular\" for regular stylesheets." + }, + { + "id": "CSSRuleId", + "type": "object", + "properties": [ + { "name": "styleSheetId", "$ref": "StyleSheetId", "description": "Enclosing stylesheet identifier." }, + { "name": "ordinal", "type": "integer", "description": "The rule ordinal within the stylesheet." } + ], + "description": "This object identifies a CSS rule in a unique way." + }, + { + "id": "PseudoIdMatches", + "type": "object", + "properties": [ + { "name": "pseudoId", "type": "integer", "description": "Pseudo style identifier (see enum PseudoId in RenderStyleConstants.h)."}, + { "name": "matches", "type": "array", "items": { "$ref": "RuleMatch" }, "description": "Matches of CSS rules applicable to the pseudo style."} + ], + "description": "CSS rule collection for a single pseudo style." + }, + { + "id": "InheritedStyleEntry", + "type": "object", + "properties": [ + { "name": "inlineStyle", "$ref": "CSSStyle", "optional": true, "description": "The ancestor node's inline style, if any, in the style inheritance chain." }, + { "name": "matchedCSSRules", "type": "array", "items": { "$ref": "RuleMatch" }, "description": "Matches of CSS rules matching the ancestor node in the style inheritance chain." } + ], + "description": "CSS rule collection for a single pseudo style." + }, + { + "id": "RuleMatch", + "type": "object", + "properties": [ + { "name": "rule", "$ref": "CSSRule", "description": "CSS rule in the match." }, + { "name": "matchingSelectors", "type": "array", "items": { "type": "integer" }, "description": "Matching selector indices in the rule's selectorList selectors (0-based)." } + ], + "description": "Match data for a CSS rule." + }, + { + "id": "CSSSelector", + "type": "object", + "properties": [ + { "name": "text", "type": "string", "description": "Canonicalized selector text." }, + { "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." }, + { "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." } + ], + "description": "CSS selector." + }, + { + "id": "SelectorList", + "type": "object", + "properties": [ + { "name": "selectors", "type": "array", "items": { "$ref": "CSSSelector" }, "description": "Selectors in the list." }, + { "name": "text", "type": "string", "description": "Rule selector text." }, + { "name": "range", "$ref": "SourceRange", "optional": true, "description": "Rule selector range in the underlying resource (if available)." } + ], + "description": "Selector list data." + }, + { + "id": "CSSStyleAttribute", + "type": "object", + "properties": [ + { "name": "name", "type": "string", "description": "DOM attribute name (e.g. \"width\")."}, + { "name": "style", "$ref": "CSSStyle", "description": "CSS style generated by the respective DOM attribute."} + ], + "description": "CSS style information for a DOM style attribute." + }, + { + "id": "CSSStyleSheetHeader", + "type": "object", + "properties": [ + { "name": "styleSheetId", "$ref": "StyleSheetId", "description": "The stylesheet identifier."}, + { "name": "frameId", "$ref": "Network.FrameId", "description": "Owner frame identifier."}, + { "name": "sourceURL", "type": "string", "description": "Stylesheet resource URL."}, + { "name": "origin", "$ref": "StyleSheetOrigin", "description": "Stylesheet origin."}, + { "name": "title", "type": "string", "description": "Stylesheet title."}, + { "name": "disabled", "type": "boolean", "description": "Denotes whether the stylesheet is disabled."}, + { "name": "isInline", "type": "boolean", "description": "Whether this stylesheet is a