Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(516)

Unified Diff: third_party/WebKit/Source/core/inspector/protocol-1.1/Page.json

Issue 2035653005: DevTools: split protocol.json into files per domain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/protocol-1.1/Page.json
diff --git a/third_party/WebKit/Source/core/inspector/protocol-1.1/Page.json b/third_party/WebKit/Source/core/inspector/protocol-1.1/Page.json
new file mode 100644
index 0000000000000000000000000000000000000000..60ef8ea9c02bf515396a9bfcfcfa0c4e79bad0d1
--- /dev/null
+++ b/third_party/WebKit/Source/core/inspector/protocol-1.1/Page.json
@@ -0,0 +1,1063 @@
+{
+ "domain": "Page",
+ "version": {
+ "major": "1",
+ "minor": "1"
+ },
+ "description": "Actions and events related to the inspected page belong to the page domain.",
+ "types": [
+ {
+ "id": "ResourceType",
+ "type": "string",
+ "enum": [
+ "Document",
+ "Stylesheet",
+ "Image",
+ "Font",
+ "Script",
+ "XHR",
+ "WebSocket",
+ "Other"
+ ],
+ "description": "Resource type as it was perceived by the rendering engine."
+ },
+ {
+ "id": "FrameId",
+ "type": "string",
+ "description": "Unique frame identifier."
+ },
+ {
+ "id": "Frame",
+ "type": "object",
+ "description": "Information about the Frame on the page.",
+ "properties": [
+ {
+ "name": "id",
+ "type": "string",
+ "description": "Frame unique identifier."
+ },
+ {
+ "name": "parentId",
+ "type": "string",
+ "optional": true,
+ "description": "Parent frame identifier."
+ },
+ {
+ "name": "loaderId",
+ "$ref": "Network.LoaderId",
+ "description": "Identifier of the loader associated with this frame."
+ },
+ {
+ "name": "name",
+ "type": "string",
+ "optional": true,
+ "description": "Frame's name as specified in the tag."
+ },
+ {
+ "name": "url",
+ "type": "string",
+ "description": "Frame document's URL."
+ },
+ {
+ "name": "securityOrigin",
+ "type": "string",
+ "description": "Frame document's security origin."
+ },
+ {
+ "name": "mimeType",
+ "type": "string",
+ "description": "Frame document's mimeType as determined by the browser."
+ }
+ ]
+ },
+ {
+ "id": "FrameResourceTree",
+ "type": "object",
+ "description": "Information about the Frame hierarchy along with their cached resources.",
+ "properties": [
+ {
+ "name": "frame",
+ "$ref": "Frame",
+ "description": "Frame information for this tree item."
+ },
+ {
+ "name": "childFrames",
+ "type": "array",
+ "optional": true,
+ "items": {
+ "$ref": "FrameResourceTree"
+ },
+ "description": "Child frames."
+ },
+ {
+ "name": "resources",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": [
+ {
+ "name": "url",
+ "type": "string",
+ "description": "Resource URL."
+ },
+ {
+ "name": "type",
+ "$ref": "ResourceType",
+ "description": "Type of this resource."
+ },
+ {
+ "name": "mimeType",
+ "type": "string",
+ "description": "Resource mimeType as determined by the browser."
+ },
+ {
+ "name": "failed",
+ "type": "boolean",
+ "optional": true,
+ "description": "True if the resource failed to load."
+ },
+ {
+ "name": "canceled",
+ "type": "boolean",
+ "optional": true,
+ "description": "True if the resource was canceled during loading."
+ }
+ ]
+ },
+ "description": "Information about frame resources."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "id": "SearchMatch",
+ "type": "object",
+ "description": "Search match for resource.",
+ "properties": [
+ {
+ "name": "lineNumber",
+ "type": "number",
+ "description": "Line number in resource content."
+ },
+ {
+ "name": "lineContent",
+ "type": "string",
+ "description": "Line with match content."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "id": "SearchResult",
+ "type": "object",
+ "description": "Search result for resource.",
+ "properties": [
+ {
+ "name": "url",
+ "type": "string",
+ "description": "Resource URL."
+ },
+ {
+ "name": "frameId",
+ "$ref": "FrameId",
+ "description": "Resource frame id."
+ },
+ {
+ "name": "matchesCount",
+ "type": "number",
+ "description": "Number of matches in the resource content."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "id": "Cookie",
+ "type": "object",
+ "description": "Cookie object",
+ "properties": [
+ {
+ "name": "name",
+ "type": "string",
+ "description": "Cookie name."
+ },
+ {
+ "name": "value",
+ "type": "string",
+ "description": "Cookie value."
+ },
+ {
+ "name": "domain",
+ "type": "string",
+ "description": "Cookie domain."
+ },
+ {
+ "name": "path",
+ "type": "string",
+ "description": "Cookie path."
+ },
+ {
+ "name": "expires",
+ "type": "number",
+ "description": "Cookie expires."
+ },
+ {
+ "name": "size",
+ "type": "integer",
+ "description": "Cookie size."
+ },
+ {
+ "name": "httpOnly",
+ "type": "boolean",
+ "description": "True if cookie is http-only."
+ },
+ {
+ "name": "secure",
+ "type": "boolean",
+ "description": "True if cookie is secure."
+ },
+ {
+ "name": "session",
+ "type": "boolean",
+ "description": "True in case of session cookie."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "id": "ScriptIdentifier",
+ "type": "string",
+ "description": "Unique script identifier.",
+ "hidden": true
+ },
+ {
+ "id": "NavigationEntry",
+ "type": "object",
+ "description": "Navigation history entry.",
+ "properties": [
+ {
+ "name": "id",
+ "type": "integer",
+ "description": "Unique id of the navigation history entry."
+ },
+ {
+ "name": "url",
+ "type": "string",
+ "description": "URL of the navigation history entry."
+ },
+ {
+ "name": "title",
+ "type": "string",
+ "description": "Title of the navigation history entry."
+ }
+ ],
+ "hidden": true
+ }
+ ],
+ "commands": [
+ {
+ "name": "enable",
+ "description": "Enables page domain notifications."
+ },
+ {
+ "name": "disable",
+ "description": "Disables page domain notifications."
+ },
+ {
+ "name": "addScriptToEvaluateOnLoad",
+ "parameters": [
+ {
+ "name": "scriptSource",
+ "type": "string"
+ }
+ ],
+ "returns": [
+ {
+ "name": "identifier",
+ "$ref": "ScriptIdentifier",
+ "description": "Identifier of the added script."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "removeScriptToEvaluateOnLoad",
+ "parameters": [
+ {
+ "name": "identifier",
+ "$ref": "ScriptIdentifier"
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "reload",
+ "parameters": [
+ {
+ "name": "ignoreCache",
+ "type": "boolean",
+ "optional": true,
+ "description": "If true, browser cache is ignored (as if the user pressed Shift+refresh)."
+ },
+ {
+ "name": "scriptToEvaluateOnLoad",
+ "type": "string",
+ "optional": true,
+ "description": "If set, the script will be injected into all frames of the inspected page after reload."
+ },
+ {
+ "name": "scriptPreprocessor",
+ "type": "string",
+ "optional": true,
+ "description": "Script body that should evaluate to function that will preprocess all the scripts before their compilation.",
+ "hidden": true
+ }
+ ],
+ "description": "Reloads given page optionally ignoring the cache."
+ },
+ {
+ "name": "navigate",
+ "parameters": [
+ {
+ "name": "url",
+ "type": "string",
+ "description": "URL to navigate the page to."
+ }
+ ],
+ "description": "Navigates current page to the given URL."
+ },
+ {
+ "name": "getNavigationHistory",
+ "parameters": [],
+ "returns": [
+ {
+ "name": "currentIndex",
+ "type": "integer",
+ "description": "Index of the current navigation history entry."
+ },
+ {
+ "name": "entries",
+ "type": "array",
+ "items": {
+ "$ref": "NavigationEntry"
+ },
+ "description": "Array of navigation history entries."
+ }
+ ],
+ "description": "Returns navigation history for the current page.",
+ "hidden": true
+ },
+ {
+ "name": "navigateToHistoryEntry",
+ "parameters": [
+ {
+ "name": "entryId",
+ "type": "integer",
+ "description": "Unique id of the entry to navigate to."
+ }
+ ],
+ "description": "Navigates current page to the given history entry.",
+ "hidden": true
+ },
+ {
+ "name": "getCookies",
+ "returns": [
+ {
+ "name": "cookies",
+ "type": "array",
+ "items": {
+ "$ref": "Cookie"
+ },
+ "description": "Array of cookie objects."
+ },
+ {
+ "name": "cookiesString",
+ "type": "string",
+ "description": "document.cookie string representation of the cookies."
+ }
+ ],
+ "description": "Returns all browser cookies. Depending on the backend support, will either return detailed cookie information in the <code>cookie</code> field or string cookie representation using <code>cookieString</code>.",
+ "hidden": true
+ },
+ {
+ "name": "deleteCookie",
+ "parameters": [
+ {
+ "name": "cookieName",
+ "type": "string",
+ "description": "Name of the cookie to remove."
+ },
+ {
+ "name": "url",
+ "type": "string",
+ "description": "URL to match cooke domain and path."
+ }
+ ],
+ "description": "Deletes browser cookie with given name, domain and path.",
+ "hidden": true
+ },
+ {
+ "name": "getResourceTree",
+ "description": "Returns present frame / resource tree structure.",
+ "returns": [
+ {
+ "name": "frameTree",
+ "$ref": "FrameResourceTree",
+ "description": "Present frame / resource tree structure."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "getResourceContent",
+ "description": "Returns content of the given resource.",
+ "parameters": [
+ {
+ "name": "frameId",
+ "$ref": "FrameId",
+ "description": "Frame id to get resource for."
+ },
+ {
+ "name": "url",
+ "type": "string",
+ "description": "URL of the resource to get content for."
+ }
+ ],
+ "returns": [
+ {
+ "name": "content",
+ "type": "string",
+ "description": "Resource content."
+ },
+ {
+ "name": "base64Encoded",
+ "type": "boolean",
+ "description": "True, if content was served as base64."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "searchInResource",
+ "description": "Searches for given string in resource content.",
+ "parameters": [
+ {
+ "name": "frameId",
+ "$ref": "FrameId",
+ "description": "Frame id for resource to search in."
+ },
+ {
+ "name": "url",
+ "type": "string",
+ "description": "URL of the resource to search in."
+ },
+ {
+ "name": "query",
+ "type": "string",
+ "description": "String to search for."
+ },
+ {
+ "name": "caseSensitive",
+ "type": "boolean",
+ "optional": true,
+ "description": "If true, search is case sensitive."
+ },
+ {
+ "name": "isRegex",
+ "type": "boolean",
+ "optional": true,
+ "description": "If true, treats string parameter as regex."
+ }
+ ],
+ "returns": [
+ {
+ "name": "result",
+ "type": "array",
+ "items": {
+ "$ref": "SearchMatch"
+ },
+ "description": "List of search matches."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "searchInResources",
+ "description": "Searches for given string in frame / resource tree structure.",
+ "parameters": [
+ {
+ "name": "text",
+ "type": "string",
+ "description": "String to search for."
+ },
+ {
+ "name": "caseSensitive",
+ "type": "boolean",
+ "optional": true,
+ "description": "If true, search is case sensitive."
+ },
+ {
+ "name": "isRegex",
+ "type": "boolean",
+ "optional": true,
+ "description": "If true, treats string parameter as regex."
+ }
+ ],
+ "returns": [
+ {
+ "name": "result",
+ "type": "array",
+ "items": {
+ "$ref": "SearchResult"
+ },
+ "description": "List of search results."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "setDocumentContent",
+ "description": "Sets given markup as the document's HTML.",
+ "parameters": [
+ {
+ "name": "frameId",
+ "$ref": "FrameId",
+ "description": "Frame id to set HTML for."
+ },
+ {
+ "name": "html",
+ "type": "string",
+ "description": "HTML content to set."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "setDeviceMetricsOverride",
+ "description": "Overrides the values of device screen dimensions (window.screen.width, window.screen.height, window.innerWidth, window.innerHeight, and \"device-width\"/\"device-height\"-related CSS media query results) and the font scale factor.",
+ "parameters": [
+ {
+ "name": "width",
+ "type": "integer",
+ "description": "Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override."
+ },
+ {
+ "name": "height",
+ "type": "integer",
+ "description": "Overriding height value in pixels (minimum 0, maximum 10000000). 0 disables the override."
+ },
+ {
+ "name": "fontScaleFactor",
+ "type": "number",
+ "description": "Overriding font scale factor value (must be positive). 1 disables the override."
+ },
+ {
+ "name": "fitWindow",
+ "type": "boolean",
+ "description": "Whether a view that exceeds the available browser window area should be scaled down to fit."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "setShowPaintRects",
+ "description": "Requests that backend shows paint rectangles",
+ "parameters": [
+ {
+ "name": "result",
+ "type": "boolean",
+ "description": "True for showing paint rectangles"
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "setShowDebugBorders",
+ "description": "Requests that backend shows debug borders on layers",
+ "parameters": [
+ {
+ "name": "show",
+ "type": "boolean",
+ "description": "True for showing debug borders"
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "setShowFPSCounter",
+ "description": "Requests that backend shows the FPS counter",
+ "parameters": [
+ {
+ "name": "show",
+ "type": "boolean",
+ "description": "True for showing the FPS counter"
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "setContinuousPaintingEnabled",
+ "description": "Requests that backend enables continuous painting",
+ "parameters": [
+ {
+ "name": "enabled",
+ "type": "boolean",
+ "description": "True for enabling cointinuous painting"
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "setShowScrollBottleneckRects",
+ "description": "Requests that backend shows scroll bottleneck rects",
+ "parameters": [
+ {
+ "name": "show",
+ "type": "boolean",
+ "description": "True for showing scroll bottleneck rects"
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "getScriptExecutionStatus",
+ "description": "Determines if scripts can be executed in the page.",
+ "returns": [
+ {
+ "name": "result",
+ "type": "string",
+ "enum": [
+ "allowed",
+ "disabled",
+ "forbidden"
+ ],
+ "description": "Script execution status: \"allowed\" if scripts can be executed, \"disabled\" if script execution has been disabled through page settings, \"forbidden\" if script execution for the given page is not possible for other reasons."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "setScriptExecutionDisabled",
+ "description": "Switches script execution in the page.",
+ "parameters": [
+ {
+ "name": "value",
+ "type": "boolean",
+ "description": "Whether script execution should be disabled in the page."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "setGeolocationOverride",
+ "description": "Overrides the Geolocation Position or Error.",
+ "parameters": [
+ {
+ "name": "latitude",
+ "type": "number",
+ "optional": true,
+ "description": "Mock longitude"
+ },
+ {
+ "name": "longitude",
+ "type": "number",
+ "optional": true,
+ "description": "Mock latitude"
+ },
+ {
+ "name": "accuracy",
+ "type": "number",
+ "optional": true,
+ "description": "Mock accuracy"
+ }
+ ]
+ },
+ {
+ "name": "clearGeolocationOverride",
+ "description": "Clears the overriden Geolocation Position and Error."
+ },
+ {
+ "name": "setDeviceOrientationOverride",
+ "description": "Overrides the Device Orientation.",
+ "parameters": [
+ {
+ "name": "alpha",
+ "type": "number",
+ "description": "Mock alpha"
+ },
+ {
+ "name": "beta",
+ "type": "number",
+ "description": "Mock beta"
+ },
+ {
+ "name": "gamma",
+ "type": "number",
+ "description": "Mock gamma"
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "clearDeviceOrientationOverride",
+ "description": "Clears the overridden Device Orientation.",
+ "hidden": true
+ },
+ {
+ "name": "setTouchEmulationEnabled",
+ "parameters": [
+ {
+ "name": "enabled",
+ "type": "boolean",
+ "description": "Whether the touch event emulation should be enabled."
+ }
+ ],
+ "description": "Toggles mouse event-based touch event emulation.",
+ "hidden": true
+ },
+ {
+ "name": "setEmulatedMedia",
+ "parameters": [
+ {
+ "name": "media",
+ "type": "string",
+ "description": "Media type to emulate. Empty string disables the override."
+ }
+ ],
+ "description": "Emulates the given media for CSS media queries.",
+ "hidden": true
+ },
+ {
+ "name": "captureScreenshot",
+ "description": "Capture page screenshot.",
+ "parameters": [
+ {
+ "name": "format",
+ "type": "string",
+ "optional": true,
+ "enum": [
+ "jpeg",
+ "png"
+ ],
+ "description": "Image compression format."
+ },
+ {
+ "name": "quality",
+ "type": "integer",
+ "hidden": true,
+ "optional": true,
+ "description": "Compression quality from range [0..100]."
+ },
+ {
+ "name": "maxWidth",
+ "type": "integer",
+ "hidden": true,
+ "optional": true,
+ "description": "Maximum screenshot width."
+ },
+ {
+ "name": "maxHeight",
+ "type": "integer",
+ "hidden": true,
+ "optional": true,
+ "description": "Maximum screenshot height."
+ }
+ ],
+ "returns": [
+ {
+ "name": "data",
+ "type": "string",
+ "description": "Base64-encoded image data (PNG)."
+ },
+ {
+ "name": "deviceScaleFactor",
+ "type": "number",
+ "hidden": true,
+ "description": "Device scale factor."
+ },
+ {
+ "name": "pageScaleFactor",
+ "type": "number",
+ "hidden": true,
+ "description": "Page scale factor."
+ },
+ {
+ "name": "viewport",
+ "$ref": "DOM.Rect",
+ "hidden": true,
+ "description": "Viewport in CSS pixels."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "startScreencast",
+ "description": "Starts sending each frame using the <code>screencastFrame</code> event.",
+ "parameters": [
+ {
+ "name": "format",
+ "type": "string",
+ "optional": true,
+ "enum": [
+ "jpeg",
+ "png"
+ ],
+ "description": "Image compression format."
+ },
+ {
+ "name": "quality",
+ "type": "integer",
+ "optional": true,
+ "description": "Compression quality from range [0..100]."
+ },
+ {
+ "name": "maxWidth",
+ "type": "integer",
+ "optional": true,
+ "description": "Maximum screenshot width."
+ },
+ {
+ "name": "maxHeight",
+ "type": "integer",
+ "optional": true,
+ "description": "Maximum screenshot height."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "stopScreencast",
+ "description": "Stops sending each frame in the <code>screencastFrame</code>.",
+ "hidden": true
+ },
+ {
+ "name": "handleJavaScriptDialog",
+ "description": "Accepts or dismisses a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload).",
+ "parameters": [
+ {
+ "name": "accept",
+ "type": "boolean",
+ "description": "Whether to accept or dismiss the dialog."
+ },
+ {
+ "name": "promptText",
+ "type": "string",
+ "optional": true,
+ "description": "The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "setShowViewportSizeOnResize",
+ "description": "Paints viewport size upon main frame resize.",
+ "parameters": [
+ {
+ "name": "show",
+ "type": "boolean",
+ "description": "Whether to paint size or not."
+ },
+ {
+ "name": "showGrid",
+ "type": "boolean",
+ "optional": true,
+ "description": "Whether to paint grid as well."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "setForceCompositingMode",
+ "description": "Force accelerated compositing mode for inspected page.",
+ "parameters": [
+ {
+ "name": "force",
+ "type": "boolean",
+ "description": "Whether to force accelerated compositing or not."
+ }
+ ],
+ "hidden": true
+ }
+ ],
+ "events": [
+ {
+ "name": "domContentEventFired",
+ "parameters": [
+ {
+ "name": "timestamp",
+ "type": "number"
+ }
+ ]
+ },
+ {
+ "name": "loadEventFired",
+ "parameters": [
+ {
+ "name": "timestamp",
+ "type": "number"
+ }
+ ]
+ },
+ {
+ "name": "frameAttached",
+ "description": "Fired when frame has been attached to its parent.",
+ "parameters": [
+ {
+ "name": "frameId",
+ "$ref": "FrameId",
+ "description": "Id of the frame that has been attached."
+ }
+ ]
+ },
+ {
+ "name": "frameNavigated",
+ "description": "Fired once navigation of the frame has completed. Frame is now associated with the new loader.",
+ "parameters": [
+ {
+ "name": "frame",
+ "$ref": "Frame",
+ "description": "Frame object."
+ }
+ ]
+ },
+ {
+ "name": "frameDetached",
+ "description": "Fired when frame has been detached from its parent.",
+ "parameters": [
+ {
+ "name": "frameId",
+ "$ref": "FrameId",
+ "description": "Id of the frame that has been detached."
+ }
+ ]
+ },
+ {
+ "name": "frameStartedLoading",
+ "description": "Fired when frame has started loading.",
+ "parameters": [
+ {
+ "name": "frameId",
+ "$ref": "FrameId",
+ "description": "Id of the frame that has started loading."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "frameStoppedLoading",
+ "description": "Fired when frame has stopped loading.",
+ "parameters": [
+ {
+ "name": "frameId",
+ "$ref": "FrameId",
+ "description": "Id of the frame that has stopped loading."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "frameScheduledNavigation",
+ "description": "Fired when frame schedules a potential navigation.",
+ "parameters": [
+ {
+ "name": "frameId",
+ "$ref": "FrameId",
+ "description": "Id of the frame that has scheduled a navigation."
+ },
+ {
+ "name": "delay",
+ "type": "number",
+ "description": "Delay (in seconds) until the navigation is scheduled to begin. The navigation is not guaranteed to start."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "frameClearedScheduledNavigation",
+ "description": "Fired when frame no longer has a scheduled navigation.",
+ "parameters": [
+ {
+ "name": "frameId",
+ "$ref": "FrameId",
+ "description": "Id of the frame that has cleared its scheduled navigation."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "javascriptDialogOpening",
+ "description": "Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to open.",
+ "parameters": [
+ {
+ "name": "message",
+ "type": "string",
+ "description": "Message that will be displayed by the dialog."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "javascriptDialogClosed",
+ "description": "Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed.",
+ "hidden": true
+ },
+ {
+ "name": "scriptsEnabled",
+ "description": "Fired when the JavaScript is enabled/disabled on the page",
+ "parameters": [
+ {
+ "name": "isEnabled",
+ "type": "boolean",
+ "description": "Whether script execution is enabled or disabled on the page."
+ }
+ ],
+ "hidden": true
+ },
+ {
+ "name": "screencastFrame",
+ "description": "Compressed image data requested by the <code>startScreencast</code>.",
+ "parameters": [
+ {
+ "name": "data",
+ "type": "string",
+ "description": "Base64-encoded compressed image."
+ },
+ {
+ "name": "deviceScaleFactor",
+ "type": "number",
+ "hidden": true,
+ "optional": true,
+ "description": "Device scale factor."
+ },
+ {
+ "name": "pageScaleFactor",
+ "type": "number",
+ "hidden": true,
+ "optional": true,
+ "description": "Page scale factor."
+ },
+ {
+ "name": "viewport",
+ "$ref": "DOM.Rect",
+ "hidden": true,
+ "optional": true,
+ "description": "Viewport in CSS pixels."
+ },
+ {
+ "name": "offsetTop",
+ "type": "number",
+ "hidden": true,
+ "optional": true,
+ "description": "Top offset in DIP."
+ },
+ {
+ "name": "offsetBottom",
+ "type": "number",
+ "hidden": true,
+ "optional": true,
+ "description": "Bottom offset in DIP."
+ }
+ ],
+ "hidden": true
+ }
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698