devtools-protocol 0.0.1279463 → 0.0.1280070
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9121,13 +9121,30 @@
|
|
9121
9121
|
},
|
9122
9122
|
{
|
9123
9123
|
"name": "devicePosture",
|
9124
|
-
"description": "If set, the posture of a foldable device. If not set the posture is set\nto continuous.",
|
9124
|
+
"description": "If set, the posture of a foldable device. If not set the posture is set\nto continuous.\nDeprecated, use Emulation.setDevicePostureOverride.",
|
9125
9125
|
"experimental": true,
|
9126
|
+
"deprecated": true,
|
9126
9127
|
"optional": true,
|
9127
9128
|
"$ref": "DevicePosture"
|
9128
9129
|
}
|
9129
9130
|
]
|
9130
9131
|
},
|
9132
|
+
{
|
9133
|
+
"name": "setDevicePostureOverride",
|
9134
|
+
"description": "Start reporting the given posture value to the Device Posture API.\nThis override can also be set in setDeviceMetricsOverride().",
|
9135
|
+
"experimental": true,
|
9136
|
+
"parameters": [
|
9137
|
+
{
|
9138
|
+
"name": "posture",
|
9139
|
+
"$ref": "DevicePosture"
|
9140
|
+
}
|
9141
|
+
]
|
9142
|
+
},
|
9143
|
+
{
|
9144
|
+
"name": "clearDevicePostureOverride",
|
9145
|
+
"description": "Clears a device posture override set with either setDeviceMetricsOverride()\nor setDevicePostureOverride() and starts using posture information from the\nplatform again.\nDoes nothing if no override is set.",
|
9146
|
+
"experimental": true
|
9147
|
+
},
|
9131
9148
|
{
|
9132
9149
|
"name": "setScrollbarsHidden",
|
9133
9150
|
"experimental": true,
|
@@ -12547,6 +12564,12 @@
|
|
12547
12564
|
"optional": true,
|
12548
12565
|
"type": "boolean"
|
12549
12566
|
},
|
12567
|
+
{
|
12568
|
+
"name": "fromEarlyHints",
|
12569
|
+
"description": "Specifies that the request was served from the prefetch cache.",
|
12570
|
+
"optional": true,
|
12571
|
+
"type": "boolean"
|
12572
|
+
},
|
12550
12573
|
{
|
12551
12574
|
"name": "serviceWorkerRouterInfo",
|
12552
12575
|
"description": "Information about how Service Worker Static Router was used.",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -4159,7 +4159,20 @@ domain Emulation
|
|
4159
4159
|
experimental optional DisplayFeature displayFeature
|
4160
4160
|
# If set, the posture of a foldable device. If not set the posture is set
|
4161
4161
|
# to continuous.
|
4162
|
-
|
4162
|
+
# Deprecated, use Emulation.setDevicePostureOverride.
|
4163
|
+
experimental deprecated optional DevicePosture devicePosture
|
4164
|
+
|
4165
|
+
# Start reporting the given posture value to the Device Posture API.
|
4166
|
+
# This override can also be set in setDeviceMetricsOverride().
|
4167
|
+
experimental command setDevicePostureOverride
|
4168
|
+
parameters
|
4169
|
+
DevicePosture posture
|
4170
|
+
|
4171
|
+
# Clears a device posture override set with either setDeviceMetricsOverride()
|
4172
|
+
# or setDevicePostureOverride() and starts using posture information from the
|
4173
|
+
# platform again.
|
4174
|
+
# Does nothing if no override is set.
|
4175
|
+
experimental command clearDevicePostureOverride
|
4163
4176
|
|
4164
4177
|
experimental command setScrollbarsHidden
|
4165
4178
|
parameters
|
@@ -5817,6 +5830,8 @@ domain Network
|
|
5817
5830
|
optional boolean fromServiceWorker
|
5818
5831
|
# Specifies that the request was served from the prefetch cache.
|
5819
5832
|
optional boolean fromPrefetchCache
|
5833
|
+
# Specifies that the request was served from the prefetch cache.
|
5834
|
+
optional boolean fromEarlyHints
|
5820
5835
|
# Information about how Service Worker Static Router was used.
|
5821
5836
|
experimental optional ServiceWorkerRouterInfo serviceWorkerRouterInfo
|
5822
5837
|
# Total number of bytes received for this request so far.
|
@@ -2615,6 +2615,24 @@ export namespace ProtocolMapping {
|
|
2615
2615
|
paramsType: [Protocol.Emulation.SetDeviceMetricsOverrideRequest];
|
2616
2616
|
returnType: void;
|
2617
2617
|
};
|
2618
|
+
/**
|
2619
|
+
* Start reporting the given posture value to the Device Posture API.
|
2620
|
+
* This override can also be set in setDeviceMetricsOverride().
|
2621
|
+
*/
|
2622
|
+
'Emulation.setDevicePostureOverride': {
|
2623
|
+
paramsType: [Protocol.Emulation.SetDevicePostureOverrideRequest];
|
2624
|
+
returnType: void;
|
2625
|
+
};
|
2626
|
+
/**
|
2627
|
+
* Clears a device posture override set with either setDeviceMetricsOverride()
|
2628
|
+
* or setDevicePostureOverride() and starts using posture information from the
|
2629
|
+
* platform again.
|
2630
|
+
* Does nothing if no override is set.
|
2631
|
+
*/
|
2632
|
+
'Emulation.clearDevicePostureOverride': {
|
2633
|
+
paramsType: [];
|
2634
|
+
returnType: void;
|
2635
|
+
};
|
2618
2636
|
'Emulation.setScrollbarsHidden': {
|
2619
2637
|
paramsType: [Protocol.Emulation.SetScrollbarsHiddenRequest];
|
2620
2638
|
returnType: void;
|
@@ -1802,6 +1802,20 @@ export namespace ProtocolProxyApi {
|
|
1802
1802
|
*/
|
1803
1803
|
setDeviceMetricsOverride(params: Protocol.Emulation.SetDeviceMetricsOverrideRequest): Promise<void>;
|
1804
1804
|
|
1805
|
+
/**
|
1806
|
+
* Start reporting the given posture value to the Device Posture API.
|
1807
|
+
* This override can also be set in setDeviceMetricsOverride().
|
1808
|
+
*/
|
1809
|
+
setDevicePostureOverride(params: Protocol.Emulation.SetDevicePostureOverrideRequest): Promise<void>;
|
1810
|
+
|
1811
|
+
/**
|
1812
|
+
* Clears a device posture override set with either setDeviceMetricsOverride()
|
1813
|
+
* or setDevicePostureOverride() and starts using posture information from the
|
1814
|
+
* platform again.
|
1815
|
+
* Does nothing if no override is set.
|
1816
|
+
*/
|
1817
|
+
clearDevicePostureOverride(): Promise<void>;
|
1818
|
+
|
1805
1819
|
setScrollbarsHidden(params: Protocol.Emulation.SetScrollbarsHiddenRequest): Promise<void>;
|
1806
1820
|
|
1807
1821
|
setDocumentCookieDisabled(params: Protocol.Emulation.SetDocumentCookieDisabledRequest): Promise<void>;
|