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

Unified Diff: third_party/WebKit/Source/core/inspector/browser_protocol-1.2.json

Issue 2272503002: [DevTools] Protocol version 1.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more experimental Created 4 years, 4 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/browser_protocol-1.2.json
diff --git a/third_party/WebKit/Source/core/inspector/browser_protocol.json b/third_party/WebKit/Source/core/inspector/browser_protocol-1.2.json
similarity index 99%
copy from third_party/WebKit/Source/core/inspector/browser_protocol.json
copy to third_party/WebKit/Source/core/inspector/browser_protocol-1.2.json
index e061522c1df937e4c30a3afc15049467620da745..5344fadbc65e9799d4f3a989d887b7f7e8d49f2c 100644
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol-1.2.json
@@ -1,5 +1,5 @@
{
- "version": { "major": "1", "minor": "1" },
+ "version": { "major": "1", "minor": "2" },
"domains": [{
"domain": "Inspector",
"experimental": true,
@@ -447,7 +447,6 @@
{ "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." }
],
- "experimental": true,
"handlers": ["browser"]
},
{
@@ -588,16 +587,14 @@
"parameters": [
{ "name": "message", "type": "string", "description": "Message that will be displayed by the dialog." },
{ "name": "type", "$ref": "DialogType", "description": "Dialog type." }
- ],
- "experimental": true
+ ]
},
{
"name": "javascriptDialogClosed",
"description": "Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed.",
"parameters": [
{ "name": "result", "type": "boolean", "description": "Whether dialog was confirmed." }
- ],
- "experimental": true
+ ]
},
{
"name": "screencastFrame",
@@ -631,13 +628,11 @@
{
"name": "interstitialShown",
"description": "Fired when interstitial page was shown",
- "experimental": true,
"handlers": ["browser"]
},
{
"name": "interstitialHidden",
"description": "Fired when interstitial page was hidden",
- "experimental": true,
"handlers": ["browser"]
},
{
@@ -698,7 +693,6 @@
{
"domain": "Emulation",
"description": "This domain emulates different environments for the page.",
- "experimental": true,
"types": [
{
"id": "ScreenOrientation",
@@ -717,6 +711,7 @@
"pause",
"pauseIfNetworkFetchesPending"
],
+ "experimental": true,
"description": "advance: If the scheduler runs out of immediate work, the virtual time base may fast forward to allow the next delayed task (if any) to run; pause: The virtual time base may not advance; pauseIfNetworkFetchesPending: The virtual time base may not advance if there are any pending resource fetches."
}
],
@@ -730,13 +725,13 @@
{ "name": "deviceScaleFactor", "type": "number", "description": "Overriding device scale factor value. 0 disables the override." },
{ "name": "mobile", "type": "boolean", "description": "Whether to emulate mobile device. This includes viewport meta tag, overlay scrollbars, text autosizing and more." },
{ "name": "fitWindow", "type": "boolean", "description": "Whether a view that exceeds the available browser window area should be scaled down to fit." },
- { "name": "scale", "type": "number", "optional": true, "description": "Scale to apply to resulting view image. Ignored in |fitWindow| mode." },
- { "name": "offsetX", "type": "number", "optional": true, "description": "X offset to shift resulting view image by. Ignored in |fitWindow| mode." },
- { "name": "offsetY", "type": "number", "optional": true, "description": "Y offset to shift resulting view image by. Ignored in |fitWindow| mode." },
- { "name": "screenWidth", "type": "integer", "optional": true, "description": "Overriding screen width value in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|." },
- { "name": "screenHeight", "type": "integer", "optional": true, "description": "Overriding screen height value in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|." },
- { "name": "positionX", "type": "integer", "optional": true, "description": "Overriding view X position on screen in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|." },
- { "name": "positionY", "type": "integer", "optional": true, "description": "Overriding view Y position on screen in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|." },
+ { "name": "scale", "type": "number", "optional": true, "experimental": true, "description": "Scale to apply to resulting view image. Ignored in |fitWindow| mode." },
+ { "name": "offsetX", "type": "number", "optional": true, "experimental": true, "description": "X offset to shift resulting view image by. Ignored in |fitWindow| mode." },
+ { "name": "offsetY", "type": "number", "optional": true, "experimental": true, "description": "Y offset to shift resulting view image by. Ignored in |fitWindow| mode." },
+ { "name": "screenWidth", "type": "integer", "optional": true, "experimental": true, "description": "Overriding screen width value in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|." },
+ { "name": "screenHeight", "type": "integer", "optional": true, "experimental": true, "description": "Overriding screen height value in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|." },
+ { "name": "positionX", "type": "integer", "optional": true, "experimental": true, "description": "Overriding view X position on screen in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|." },
+ { "name": "positionY", "type": "integer", "optional": true, "experimental": true, "description": "Overriding view Y position on screen in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|." },
{ "name": "screenOrientation", "$ref": "ScreenOrientation", "optional": true, "description": "Screen orientation override." }
],
"handlers": ["browser"]
@@ -748,11 +743,13 @@
},
{
"name": "resetPageScaleFactor",
+ "experimental": true,
"description": "Requests that page scale factor is reset to initial values."
},
{
"name": "setPageScaleFactor",
"description": "Sets a specified page scale factor.",
+ "experimental": true,
"parameters": [
{ "name": "pageScaleFactor", "type": "number", "description": "Page scale factor." }
]
@@ -769,6 +766,7 @@
{
"name": "setScriptExecutionDisabled",
"description": "Switches script execution in the page.",
+ "experimental": true,
"parameters": [
{ "name": "value", "type": "boolean", "description": "Whether script execution should be disabled in the page." }
]
@@ -776,6 +774,7 @@
{
"name": "setGeolocationOverride",
"description": "Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable.",
+ "experimental": true,
"parameters": [
{ "name": "latitude", "type": "number", "optional": true, "description": "Mock latitude"},
{ "name": "longitude", "type": "number", "optional": true, "description": "Mock longitude"},
@@ -786,6 +785,7 @@
{
"name": "clearGeolocationOverride",
"description": "Clears the overriden Geolocation Position and Error.",
+ "experimental": true,
"handlers": ["browser"]
},
{
@@ -809,6 +809,7 @@
"parameters": [
{ "name": "rate", "type": "number", "description": "Throttling rate as a slowdown factor (1 is no throttle, 2 is 2x slowdown, etc)." }
],
+ "experimental": true,
"description": "Enables CPU throttling to emulate slow CPUs."
},
{
@@ -817,6 +818,7 @@
"returns": [
{ "name": "result", "type": "boolean", "description": "True if emulation is supported." }
],
+ "experimental": true,
"handlers": ["browser"]
},
{
@@ -832,6 +834,7 @@
"events": [
{
"name": "virtualTimeBudgetExpired",
+ "experimental": true,
"description": "Notification sent after the virual time budget for the current VirtualTimePolicy has run out."
}
]
@@ -1295,7 +1298,6 @@
{ "name": "uploadThroughput", "type": "number", "description": "Maximal aggregated upload throughput." },
{ "name": "connectionType", "$ref": "ConnectionType", "optional": true, "description": "Connection type if known."}
],
- "experimental": true,
"handlers": ["browser", "renderer"]
},
{

Powered by Google App Engine
This is Rietveld 408576698