Web Inspector: Remove unused and untested Page.setTouchEmulationEnabled command
[WebKit-https.git] / Source / WebInspectorUI / Versions / Inspector-iOS-8.0.json
index 80d1f9f..ff7eb7c 100644 (file)
             "description": "Releases all remote objects that belong to a given group."
         },
         {
-            "name": "run",
-            "description": "Tells inspected instance(worker or page) that it can run in case it was started paused."
-        },
-        {
             "name": "enable",
             "description": "Enables reporting of execution contexts creation by means of <code>executionContextCreated</code> event. When the reporting gets enabled the event will be sent immediately for each existing execution context."
         },
 },
 {
     "domain": "ApplicationCache",
+    "availability": "web",
     "types": [
         {
             "id": "ApplicationCacheResource",
 {
     "domain": "CSS",
     "description": "This domain exposes CSS read/write operations. All CSS objects, like stylesheets, rules, and styles, have an associated <code>id</code> used in subsequent operations on the related object. Each object type has a specific <code>id</code> structure, and those are not interchangeable between objects of different kinds. CSS objects can be loaded using the <code>get*ForNode()</code> calls (which accept a DOM node id). Alternatively, a client can discover all the existing stylesheets with the <code>getAllStyleSheets()</code> method and subsequently load the required stylesheet contents using the <code>getStyleSheet[Text]()</code> methods.",
+    "availability": "web",
     "types": [
         {
             "id": "StyleSheetId",
             "description": "Sets the new <code>text</code> for the respective style."
         },
         {
-            "name": "setPropertyText",
-            "parameters": [
-                { "name": "styleId", "$ref": "CSSStyleId" },
-                { "name": "propertyIndex", "type": "integer" },
-                { "name": "text", "type": "string" },
-                { "name": "overwrite", "type": "boolean" }
-            ],
-            "returns": [
-                { "name": "style", "$ref": "CSSStyle", "description": "The resulting style after the property text modification." }
-            ],
-            "description": "Sets the new <code>text</code> for a property in the respective style, at offset <code>propertyIndex</code>. If <code>overwrite</code> is <code>true</code>, a property at the given offset is overwritten, otherwise inserted. <code>text</code> entirely replaces the property <code>name: value</code>."
-        },
-        {
-            "name": "toggleProperty",
-            "parameters": [
-                { "name": "styleId", "$ref": "CSSStyleId" },
-                { "name": "propertyIndex", "type": "integer" },
-                { "name": "disable", "type": "boolean" }
-            ],
-            "returns": [
-                { "name": "style", "$ref": "CSSStyle", "description": "The resulting style after the property toggling." }
-            ],
-            "description": "Toggles the property in the respective style, at offset <code>propertyIndex</code>. The <code>disable</code> parameter denotes whether the property should be disabled (i.e. removed from the style declaration). If <code>disable == false</code>, the property gets put back into its original place in the style declaration."
-        },
-        {
             "name": "setRuleSelector",
             "parameters": [
                 { "name": "ruleId", "$ref": "CSSRuleId" },
 {
     "domain": "DOM",
     "description": "This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object that has an <code>id</code>. This <code>id</code> can be used to get additional information on the Node, resolve it into the JavaScript object wrapper, etc. It is important that client receives DOM events only for the nodes that are known to the client. Backend keeps track of the nodes that were sent to the client and never sends the same node twice. It is client's responsibility to collect information about the nodes that were sent to the client.<p>Note that <code>iframe</code> owner elements will return corresponding document elements as their child nodes.</p>",
+    "availability": "web",
     "types": [
         {
             "id": "NodeId",
 {
     "domain": "DOMDebugger",
     "description": "DOM debugging allows setting breakpoints on particular DOM operations and events. JavaScript execution will stop on these operations as if there was a regular breakpoint set.",
+    "availability": "web",
     "types": [
         {
             "id": "DOMBreakpointType",
 {
     "domain": "DOMStorage",
     "description": "Query and modify DOM storage.",
+    "availability": "web",
     "types": [
         {
             "id": "StorageId",
 ,
 {
     "domain": "Database",
+    "availability": "web",
     "types": [
         {
             "id": "DatabaseId",
 ,
 {
     "domain": "IndexedDB",
+    "availability": "web",
     "types": [
         {
             "id": "DatabaseWithObjectStores",
 ,
 {
     "domain": "LayerTree",
+    "availability": "web",
     "types": [
         {
             "id": "LayerId",
 {
     "domain": "Network",
     "description": "Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and responses, their headers, bodies, timing, etc.",
+    "availability": "web",
     "types": [
         {
             "id": "LoaderId",
             ]
         },
         {
-            "name": "replayXHR",
-            "description": "This method sends a new XMLHttpRequest which is identical to the original one. The following parameters should be identical: method, url, async, request body, extra headers, withCredentials attribute, user, password.",
-            "parameters": [
-                { "name": "requestId", "$ref": "RequestId", "description": "Identifier of XHR to replay." }
-            ]
-        },
-        {
-            "name": "canClearBrowserCache",
-            "description": "Tells whether clearing browser cache is supported.",
-            "returns": [
-                { "name": "result", "type": "boolean", "description": "True if browser cache can be cleared." }
-            ]
-        },
-        {
-            "name": "clearBrowserCache",
-            "description": "Clears browser cache."
-        },
-        {
-            "name": "canClearBrowserCookies",
-            "description": "Tells whether clearing browser cookies is supported.",
-            "returns": [
-                { "name": "result", "type": "boolean", "description": "True if browser cookies can be cleared." }
-            ]
-        },
-        {
-            "name": "clearBrowserCookies",
-            "description": "Clears browser cookies."
-        },
-        {
             "name": "setCacheDisabled",
             "parameters": [
                 { "name": "cacheDisabled", "type": "boolean", "description": "Cache disabled state." }
 {
     "domain": "Page",
     "description": "Actions and events related to the inspected page belong to the page domain.",
+    "availability": "web",
     "types": [
         {
             "id": "ResourceType",
             ]
         },
         {
-            "name": "setTouchEmulationEnabled",
-            "parameters": [
-                { "name": "enabled", "type": "boolean", "description": "Whether the touch event emulation should be enabled." }
-            ],
-            "description": "Toggles mouse event-based touch event emulation."
-        },
-        {
             "name": "setEmulatedMedia",
             "parameters": [
                 { "name": "media", "type": "string", "description": "Media type to emulate. Empty string disables the override." }
 {
     "domain": "Timeline",
     "description": "Timeline provides its clients with instrumentation records that are generated during the page runtime. Timeline instrumentation can be started and stopped using corresponding commands. While timeline is started, it is generating timeline event records.",
+    "availability": "web",
     "types": [
         {
             "id": "EventType",
             "type": "string",
-            "enum": ["EventDispatch", "ScheduleStyleRecalculation", "RecalculateStyles", "InvalidateLayout", "Layout", "Paint", "ScrollLayer", "ResizeImage", "ParseHTML", "TimerInstall", "TimerRemove", "TimerFire", "EvaluateScript", "MarkLoad", "MarkDOMContent", "TimeStamp", "Time", "TimeEnd", "ScheduleResourceRequest", "ResourceSendRequest", "ResourceReceiveResponse", "ResourceReceivedData", "ResourceFinish", "XHRReadyStateChange", "XHRLoad", "FunctionCall", "ProbeSample", "ConsoleProfile", "GCEvent", "RequestAnimationFrame", "CancelAnimationFrame", "FireAnimationFrame", "WebSocketCreate", "WebSocketSendHandshakeRequest", "WebSocketReceiveHandshakeResponse", "WebSocketDestroy"],
+            "enum": ["EventDispatch", "ScheduleStyleRecalculation", "RecalculateStyles", "InvalidateLayout", "Layout", "Paint", "ResizeImage", "ParseHTML", "TimerInstall", "TimerRemove", "TimerFire", "EvaluateScript", "MarkLoad", "MarkDOMContent", "TimeStamp", "Time", "TimeEnd", "ScheduleResourceRequest", "ResourceSendRequest", "ResourceReceiveResponse", "ResourceReceivedData", "ResourceFinish", "XHRReadyStateChange", "XHRLoad", "FunctionCall", "ProbeSample", "ConsoleProfile", "RequestAnimationFrame", "CancelAnimationFrame", "FireAnimationFrame", "WebSocketCreate", "WebSocketSendHandshakeRequest", "WebSocketReceiveHandshakeResponse", "WebSocketDestroy"],
             "description": "Timeline record type."
         },
         {
         }
     ]
 }
-,
-{
-    "domain": "Worker",
-    "types": [],
-    "commands": [
-        {
-            "name": "enable"
-        },
-        {
-            "name": "disable"
-        },
-        {
-            "name": "sendMessageToWorker",
-            "parameters": [
-                { "name": "workerId", "type": "integer" },
-                { "name": "message", "type": "object" }
-            ]
-        },
-        {
-            "name": "canInspectWorkers",
-            "description": "Tells whether browser supports workers inspection.",
-            "returns": [
-                { "name": "result", "type": "boolean", "description": "True if browser has workers support." }
-            ]
-        },
-        {
-            "name": "connectToWorker",
-            "parameters": [
-                { "name": "workerId", "type": "integer" }
-            ]
-        },
-        {
-            "name": "disconnectFromWorker",
-            "parameters": [
-                { "name": "workerId", "type": "integer" }
-            ]
-        },
-        {
-            "name": "setAutoconnectToWorkers",
-            "parameters": [
-                { "name": "value", "type": "boolean" }
-            ]
-        }
-    ],
-    "events": [
-        {
-            "name": "workerCreated",
-            "parameters": [
-                { "name": "workerId", "type": "integer" },
-                { "name": "url", "type": "string" },
-                { "name": "inspectorConnected", "type": "boolean" }
-            ]
-        },
-        {
-            "name": "workerTerminated",
-            "parameters": [
-                { "name": "workerId", "type": "integer" }
-            ]
-        },
-        {
-            "name": "dispatchMessageFromWorker",
-            "parameters": [
-                { "name": "workerId", "type": "integer" },
-                { "name": "message", "type": "object" }
-            ]
-        },
-        {
-            "name": "disconnectedFromWorker"
-        }
-    ]
-}
 ]}