Skip to content

Commit cea329a

Browse files
committed
bump protocol
1 parent b879c24 commit cea329a

File tree

3 files changed

+6
-30
lines changed

3 files changed

+6
-30
lines changed

_data/tot/protocol.json

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,7 @@
808808
{
809809
"name": "fitWindow",
810810
"type": "boolean",
811+
"optional": true,
811812
"description": "Whether a view that exceeds the available browser window area should be scaled down to fit."
812813
},
813814
{
@@ -1897,6 +1898,7 @@
18971898
{
18981899
"name": "fitWindow",
18991900
"type": "boolean",
1901+
"optional": true,
19001902
"description": "Whether a view that exceeds the available browser window area should be scaled down to fit."
19011903
},
19021904
{
@@ -1962,33 +1964,6 @@
19621964
"name": "clearDeviceMetricsOverride",
19631965
"description": "Clears the overriden device metrics."
19641966
},
1965-
{
1966-
"name": "forceViewport",
1967-
"description": "Overrides the visible area of the page. The change is hidden from the page, i.e. the observable scroll position and page scale does not change. In effect, the command moves the specified area of the page into the top-left corner of the frame.",
1968-
"experimental": true,
1969-
"parameters": [
1970-
{
1971-
"name": "x",
1972-
"type": "number",
1973-
"description": "X coordinate of top-left corner of the area (CSS pixels)."
1974-
},
1975-
{
1976-
"name": "y",
1977-
"type": "number",
1978-
"description": "Y coordinate of top-left corner of the area (CSS pixels)."
1979-
},
1980-
{
1981-
"name": "scale",
1982-
"type": "number",
1983-
"description": "Scale to apply to the area (relative to a page scale of 1.0)."
1984-
}
1985-
]
1986-
},
1987-
{
1988-
"name": "resetViewport",
1989-
"description": "Resets the visible area of the page to the original viewport, undoing any effects of the <code>forceViewport</code> command.",
1990-
"experimental": true
1991-
},
19921967
{
19931968
"name": "resetPageScaleFactor",
19941969
"experimental": true,
@@ -2008,8 +1983,9 @@
20081983
},
20091984
{
20101985
"name": "setVisibleSize",
2011-
"description": "Resizes the frame/viewport of the page. Note that this does not affect the frame's container (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported on Android.",
1986+
"description": "Deprecated, does nothing. Please use setDeviceMetricsOverride instead.",
20121987
"experimental": true,
1988+
"deprecated": true,
20131989
"parameters": [
20141990
{
20151991
"name": "width",

_versions/tot.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h2 class="heading">latest (tip-of-tree)</h2>
88

99
<h5 browser>Latest <a
1010
href="https://chromium.googlesource.com/chromium/src/+log/master/third_party/WebKit/Source/core/inspector/browser_protocol.json">browser_protocol.json</a> version updated:</h5>
11-
<code browser>Date: Mon Jul 10 06:15:19 2017 -0700
11+
<code browser>Date: Tue Jul 11 12:15:29 2017 -0700
1212
</code>
1313

1414
<h5 js>Latest <a

search_index/tot.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)