devtools-protocol 0.0.1691330 → 0.0.1692173
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.
- package/json/browser_protocol.json +11 -0
- package/package.json +1 -1
- package/pdl/domains/Emulation.pdl +8 -0
- package/types/protocol.d.ts +11 -0
|
@@ -11478,6 +11478,17 @@
|
|
|
11478
11478
|
"experimental": true,
|
|
11479
11479
|
"optional": true,
|
|
11480
11480
|
"type": "boolean"
|
|
11481
|
+
},
|
|
11482
|
+
{
|
|
11483
|
+
"name": "viewportMeta",
|
|
11484
|
+
"description": "Viewport meta tag behavior. Default: `default`. Note: if `mobile` is `true`,\nthe viewport meta tag is always enabled.",
|
|
11485
|
+
"experimental": true,
|
|
11486
|
+
"optional": true,
|
|
11487
|
+
"type": "string",
|
|
11488
|
+
"enum": [
|
|
11489
|
+
"enable",
|
|
11490
|
+
"default"
|
|
11491
|
+
]
|
|
11481
11492
|
}
|
|
11482
11493
|
]
|
|
11483
11494
|
},
|
package/package.json
CHANGED
|
@@ -322,6 +322,14 @@ domain Emulation
|
|
|
322
322
|
# useful for emulating mobile device orientation lock behavior in
|
|
323
323
|
# responsive design mode.
|
|
324
324
|
experimental optional boolean screenOrientationLockEmulation
|
|
325
|
+
# Viewport meta tag behavior. Default: `default`. Note: if `mobile` is `true`,
|
|
326
|
+
# the viewport meta tag is always enabled.
|
|
327
|
+
experimental optional enum viewportMeta
|
|
328
|
+
# Enables viewport meta tag processing.
|
|
329
|
+
enable
|
|
330
|
+
# Restores the default viewport meta behavior (disabled on desktop,
|
|
331
|
+
# enabled on mobile).
|
|
332
|
+
default
|
|
325
333
|
|
|
326
334
|
# Start reporting the given posture value to the Device Posture API.
|
|
327
335
|
# This override can also be set in setDeviceMetricsOverride().
|
package/types/protocol.d.ts
CHANGED
|
@@ -9692,6 +9692,11 @@ export namespace Protocol {
|
|
|
9692
9692
|
Default = 'default',
|
|
9693
9693
|
}
|
|
9694
9694
|
|
|
9695
|
+
export const enum SetDeviceMetricsOverrideRequestViewportMeta {
|
|
9696
|
+
Enable = 'enable',
|
|
9697
|
+
Default = 'default',
|
|
9698
|
+
}
|
|
9699
|
+
|
|
9695
9700
|
export interface SetDeviceMetricsOverrideRequest {
|
|
9696
9701
|
/**
|
|
9697
9702
|
* Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.
|
|
@@ -9780,6 +9785,12 @@ export namespace Protocol {
|
|
|
9780
9785
|
* @experimental
|
|
9781
9786
|
*/
|
|
9782
9787
|
screenOrientationLockEmulation?: boolean;
|
|
9788
|
+
/**
|
|
9789
|
+
* Viewport meta tag behavior. Default: `default`. Note: if `mobile` is `true`,
|
|
9790
|
+
* the viewport meta tag is always enabled.
|
|
9791
|
+
* @experimental
|
|
9792
|
+
*/
|
|
9793
|
+
viewportMeta?: ('enable' | 'default');
|
|
9783
9794
|
}
|
|
9784
9795
|
|
|
9785
9796
|
export interface SetDevicePostureOverrideRequest {
|