devtools-protocol 0.0.1425554 → 0.0.1428127
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.
@@ -4658,6 +4658,119 @@
|
|
4658
4658
|
}
|
4659
4659
|
]
|
4660
4660
|
},
|
4661
|
+
{
|
4662
|
+
"id": "CSSFunctionParameter",
|
4663
|
+
"description": "CSS function argument representation.",
|
4664
|
+
"type": "object",
|
4665
|
+
"properties": [
|
4666
|
+
{
|
4667
|
+
"name": "name",
|
4668
|
+
"description": "The parameter name.",
|
4669
|
+
"type": "string"
|
4670
|
+
},
|
4671
|
+
{
|
4672
|
+
"name": "type",
|
4673
|
+
"description": "The parameter type.",
|
4674
|
+
"type": "string"
|
4675
|
+
}
|
4676
|
+
]
|
4677
|
+
},
|
4678
|
+
{
|
4679
|
+
"id": "CSSFunctionConditionNode",
|
4680
|
+
"description": "CSS function conditional block representation.",
|
4681
|
+
"type": "object",
|
4682
|
+
"properties": [
|
4683
|
+
{
|
4684
|
+
"name": "media",
|
4685
|
+
"description": "Media query for this conditional block. Only one type of condition should be set.",
|
4686
|
+
"optional": true,
|
4687
|
+
"$ref": "CSSMedia"
|
4688
|
+
},
|
4689
|
+
{
|
4690
|
+
"name": "containerQueries",
|
4691
|
+
"description": "Container query for this conditional block. Only one type of condition should be set.",
|
4692
|
+
"optional": true,
|
4693
|
+
"$ref": "CSSContainerQuery"
|
4694
|
+
},
|
4695
|
+
{
|
4696
|
+
"name": "supports",
|
4697
|
+
"description": "@supports CSS at-rule condition. Only one type of condition should be set.",
|
4698
|
+
"optional": true,
|
4699
|
+
"$ref": "CSSSupports"
|
4700
|
+
},
|
4701
|
+
{
|
4702
|
+
"name": "children",
|
4703
|
+
"description": "Block body.",
|
4704
|
+
"type": "array",
|
4705
|
+
"items": {
|
4706
|
+
"$ref": "CSSFunctionNode"
|
4707
|
+
}
|
4708
|
+
},
|
4709
|
+
{
|
4710
|
+
"name": "conditionText",
|
4711
|
+
"description": "The condition text.",
|
4712
|
+
"type": "string"
|
4713
|
+
}
|
4714
|
+
]
|
4715
|
+
},
|
4716
|
+
{
|
4717
|
+
"id": "CSSFunctionNode",
|
4718
|
+
"description": "Section of the body of a CSS function rule.",
|
4719
|
+
"type": "object",
|
4720
|
+
"properties": [
|
4721
|
+
{
|
4722
|
+
"name": "condition",
|
4723
|
+
"description": "A conditional block. If set, style should not be set.",
|
4724
|
+
"optional": true,
|
4725
|
+
"$ref": "CSSFunctionConditionNode"
|
4726
|
+
},
|
4727
|
+
{
|
4728
|
+
"name": "style",
|
4729
|
+
"description": "Values set by this node. If set, condition should not be set.",
|
4730
|
+
"optional": true,
|
4731
|
+
"$ref": "CSSStyle"
|
4732
|
+
}
|
4733
|
+
]
|
4734
|
+
},
|
4735
|
+
{
|
4736
|
+
"id": "CSSFunctionRule",
|
4737
|
+
"description": "CSS function at-rule representation.",
|
4738
|
+
"type": "object",
|
4739
|
+
"properties": [
|
4740
|
+
{
|
4741
|
+
"name": "name",
|
4742
|
+
"description": "Name of the function.",
|
4743
|
+
"$ref": "Value"
|
4744
|
+
},
|
4745
|
+
{
|
4746
|
+
"name": "styleSheetId",
|
4747
|
+
"description": "The css style sheet identifier (absent for user agent stylesheet and user-specified\nstylesheet rules) this rule came from.",
|
4748
|
+
"optional": true,
|
4749
|
+
"$ref": "StyleSheetId"
|
4750
|
+
},
|
4751
|
+
{
|
4752
|
+
"name": "origin",
|
4753
|
+
"description": "Parent stylesheet's origin.",
|
4754
|
+
"$ref": "StyleSheetOrigin"
|
4755
|
+
},
|
4756
|
+
{
|
4757
|
+
"name": "parameters",
|
4758
|
+
"description": "List of parameters.",
|
4759
|
+
"type": "array",
|
4760
|
+
"items": {
|
4761
|
+
"$ref": "CSSFunctionParameter"
|
4762
|
+
}
|
4763
|
+
},
|
4764
|
+
{
|
4765
|
+
"name": "children",
|
4766
|
+
"description": "Function body.",
|
4767
|
+
"type": "array",
|
4768
|
+
"items": {
|
4769
|
+
"$ref": "CSSFunctionNode"
|
4770
|
+
}
|
4771
|
+
}
|
4772
|
+
]
|
4773
|
+
},
|
4661
4774
|
{
|
4662
4775
|
"id": "CSSKeyframeRule",
|
4663
4776
|
"description": "CSS keyframe rule representation.",
|
@@ -5129,6 +5242,16 @@
|
|
5129
5242
|
"experimental": true,
|
5130
5243
|
"optional": true,
|
5131
5244
|
"$ref": "DOM.NodeId"
|
5245
|
+
},
|
5246
|
+
{
|
5247
|
+
"name": "cssFunctionRules",
|
5248
|
+
"description": "A list of CSS at-function rules referenced by styles of this node.",
|
5249
|
+
"experimental": true,
|
5250
|
+
"optional": true,
|
5251
|
+
"type": "array",
|
5252
|
+
"items": {
|
5253
|
+
"$ref": "CSSFunctionRule"
|
5254
|
+
}
|
5132
5255
|
}
|
5133
5256
|
]
|
5134
5257
|
},
|
@@ -9263,6 +9386,61 @@
|
|
9263
9386
|
"Runtime"
|
9264
9387
|
],
|
9265
9388
|
"types": [
|
9389
|
+
{
|
9390
|
+
"id": "SafeAreaInsets",
|
9391
|
+
"experimental": true,
|
9392
|
+
"type": "object",
|
9393
|
+
"properties": [
|
9394
|
+
{
|
9395
|
+
"name": "top",
|
9396
|
+
"description": "Overrides safe-area-inset-top.",
|
9397
|
+
"optional": true,
|
9398
|
+
"type": "integer"
|
9399
|
+
},
|
9400
|
+
{
|
9401
|
+
"name": "topMax",
|
9402
|
+
"description": "Overrides safe-area-max-inset-top.",
|
9403
|
+
"optional": true,
|
9404
|
+
"type": "integer"
|
9405
|
+
},
|
9406
|
+
{
|
9407
|
+
"name": "left",
|
9408
|
+
"description": "Overrides safe-area-inset-left.",
|
9409
|
+
"optional": true,
|
9410
|
+
"type": "integer"
|
9411
|
+
},
|
9412
|
+
{
|
9413
|
+
"name": "leftMax",
|
9414
|
+
"description": "Overrides safe-area-max-inset-left.",
|
9415
|
+
"optional": true,
|
9416
|
+
"type": "integer"
|
9417
|
+
},
|
9418
|
+
{
|
9419
|
+
"name": "bottom",
|
9420
|
+
"description": "Overrides safe-area-inset-bottom.",
|
9421
|
+
"optional": true,
|
9422
|
+
"type": "integer"
|
9423
|
+
},
|
9424
|
+
{
|
9425
|
+
"name": "bottomMax",
|
9426
|
+
"description": "Overrides safe-area-max-inset-bottom.",
|
9427
|
+
"optional": true,
|
9428
|
+
"type": "integer"
|
9429
|
+
},
|
9430
|
+
{
|
9431
|
+
"name": "right",
|
9432
|
+
"description": "Overrides safe-area-inset-right.",
|
9433
|
+
"optional": true,
|
9434
|
+
"type": "integer"
|
9435
|
+
},
|
9436
|
+
{
|
9437
|
+
"name": "rightMax",
|
9438
|
+
"description": "Overrides safe-area-max-inset-right.",
|
9439
|
+
"optional": true,
|
9440
|
+
"type": "integer"
|
9441
|
+
}
|
9442
|
+
]
|
9443
|
+
},
|
9266
9444
|
{
|
9267
9445
|
"id": "ScreenOrientation",
|
9268
9446
|
"description": "Screen orientation.",
|
@@ -9658,6 +9836,17 @@
|
|
9658
9836
|
}
|
9659
9837
|
]
|
9660
9838
|
},
|
9839
|
+
{
|
9840
|
+
"name": "setSafeAreaInsetsOverride",
|
9841
|
+
"description": "Overrides the values for env(safe-area-inset-*) and env(safe-area-max-inset-*). Unset values will cause the\nrespective variables to be undefined, even if previously overridden.",
|
9842
|
+
"experimental": true,
|
9843
|
+
"parameters": [
|
9844
|
+
{
|
9845
|
+
"name": "insets",
|
9846
|
+
"$ref": "SafeAreaInsets"
|
9847
|
+
}
|
9848
|
+
]
|
9849
|
+
},
|
9661
9850
|
{
|
9662
9851
|
"name": "setDeviceMetricsOverride",
|
9663
9852
|
"description": "Overrides the values of device screen dimensions (window.screen.width, window.screen.height,\nwindow.innerWidth, window.innerHeight, and \"device-width\"/\"device-height\"-related CSS media\nquery results).",
|
@@ -13171,7 +13360,8 @@
|
|
13171
13360
|
"PreflightMissingPrivateNetworkAccessId",
|
13172
13361
|
"PreflightMissingPrivateNetworkAccessName",
|
13173
13362
|
"PrivateNetworkAccessPermissionUnavailable",
|
13174
|
-
"PrivateNetworkAccessPermissionDenied"
|
13363
|
+
"PrivateNetworkAccessPermissionDenied",
|
13364
|
+
"LocalNetworkAccessPermissionDenied"
|
13175
13365
|
]
|
13176
13366
|
},
|
13177
13367
|
{
|
@@ -14255,7 +14445,8 @@
|
|
14255
14445
|
"BlockFromInsecureToMorePrivate",
|
14256
14446
|
"WarnFromInsecureToMorePrivate",
|
14257
14447
|
"PreflightBlock",
|
14258
|
-
"PreflightWarn"
|
14448
|
+
"PreflightWarn",
|
14449
|
+
"PermissionBlock"
|
14259
14450
|
]
|
14260
14451
|
},
|
14261
14452
|
{
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -2252,6 +2252,51 @@ experimental domain CSS
|
|
2252
2252
|
# Associated style declaration.
|
2253
2253
|
CSSStyle style
|
2254
2254
|
|
2255
|
+
# CSS function argument representation.
|
2256
|
+
type CSSFunctionParameter extends object
|
2257
|
+
properties
|
2258
|
+
# The parameter name.
|
2259
|
+
string name
|
2260
|
+
# The parameter type.
|
2261
|
+
string type
|
2262
|
+
|
2263
|
+
# CSS function conditional block representation.
|
2264
|
+
type CSSFunctionConditionNode extends object
|
2265
|
+
properties
|
2266
|
+
# Media query for this conditional block. Only one type of condition should be set.
|
2267
|
+
optional CSSMedia media
|
2268
|
+
# Container query for this conditional block. Only one type of condition should be set.
|
2269
|
+
optional CSSContainerQuery containerQueries
|
2270
|
+
# @supports CSS at-rule condition. Only one type of condition should be set.
|
2271
|
+
optional CSSSupports supports
|
2272
|
+
# Block body.
|
2273
|
+
array of CSSFunctionNode children
|
2274
|
+
# The condition text.
|
2275
|
+
string conditionText
|
2276
|
+
|
2277
|
+
# Section of the body of a CSS function rule.
|
2278
|
+
type CSSFunctionNode extends object
|
2279
|
+
properties
|
2280
|
+
# A conditional block. If set, style should not be set.
|
2281
|
+
optional CSSFunctionConditionNode condition
|
2282
|
+
# Values set by this node. If set, condition should not be set.
|
2283
|
+
optional CSSStyle style
|
2284
|
+
|
2285
|
+
# CSS function at-rule representation.
|
2286
|
+
type CSSFunctionRule extends object
|
2287
|
+
properties
|
2288
|
+
# Name of the function.
|
2289
|
+
Value name
|
2290
|
+
# The css style sheet identifier (absent for user agent stylesheet and user-specified
|
2291
|
+
# stylesheet rules) this rule came from.
|
2292
|
+
optional StyleSheetId styleSheetId
|
2293
|
+
# Parent stylesheet's origin.
|
2294
|
+
StyleSheetOrigin origin
|
2295
|
+
# List of parameters.
|
2296
|
+
array of CSSFunctionParameter parameters
|
2297
|
+
# Function body.
|
2298
|
+
array of CSSFunctionNode children
|
2299
|
+
|
2255
2300
|
# CSS keyframe rule representation.
|
2256
2301
|
type CSSKeyframeRule extends object
|
2257
2302
|
properties
|
@@ -2449,6 +2494,8 @@ experimental domain CSS
|
|
2449
2494
|
optional CSSFontPaletteValuesRule cssFontPaletteValuesRule
|
2450
2495
|
# Id of the first parent element that does not have display: contents.
|
2451
2496
|
experimental optional DOM.NodeId parentLayoutNodeId
|
2497
|
+
# A list of CSS at-function rules referenced by styles of this node.
|
2498
|
+
experimental optional array of CSSFunctionRule cssFunctionRules
|
2452
2499
|
|
2453
2500
|
# Returns all media queries parsed by the rendering engine.
|
2454
2501
|
command getMediaQueries
|
@@ -4299,6 +4346,25 @@ domain Emulation
|
|
4299
4346
|
depends on Page
|
4300
4347
|
depends on Runtime
|
4301
4348
|
|
4349
|
+
experimental type SafeAreaInsets extends object
|
4350
|
+
properties
|
4351
|
+
# Overrides safe-area-inset-top.
|
4352
|
+
optional integer top
|
4353
|
+
# Overrides safe-area-max-inset-top.
|
4354
|
+
optional integer topMax
|
4355
|
+
# Overrides safe-area-inset-left.
|
4356
|
+
optional integer left
|
4357
|
+
# Overrides safe-area-max-inset-left.
|
4358
|
+
optional integer leftMax
|
4359
|
+
# Overrides safe-area-inset-bottom.
|
4360
|
+
optional integer bottom
|
4361
|
+
# Overrides safe-area-max-inset-bottom.
|
4362
|
+
optional integer bottomMax
|
4363
|
+
# Overrides safe-area-inset-right.
|
4364
|
+
optional integer right
|
4365
|
+
# Overrides safe-area-max-inset-right.
|
4366
|
+
optional integer rightMax
|
4367
|
+
|
4302
4368
|
# Screen orientation.
|
4303
4369
|
type ScreenOrientation extends object
|
4304
4370
|
properties
|
@@ -4469,6 +4535,12 @@ domain Emulation
|
|
4469
4535
|
# cleared.
|
4470
4536
|
optional DOM.RGBA color
|
4471
4537
|
|
4538
|
+
# Overrides the values for env(safe-area-inset-*) and env(safe-area-max-inset-*). Unset values will cause the
|
4539
|
+
# respective variables to be undefined, even if previously overridden.
|
4540
|
+
experimental command setSafeAreaInsetsOverride
|
4541
|
+
parameters
|
4542
|
+
SafeAreaInsets insets
|
4543
|
+
|
4472
4544
|
# Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
|
4473
4545
|
# window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
|
4474
4546
|
# query results).
|
@@ -6145,6 +6217,9 @@ domain Network
|
|
6145
6217
|
# Request was a private network request and is denied by user permission.
|
6146
6218
|
# https://github.com/WICG/private-network-access/blob/main/permission_prompt/explainer.md
|
6147
6219
|
PrivateNetworkAccessPermissionDenied
|
6220
|
+
# Request was a local network request and is denied by user permission.
|
6221
|
+
# https://github.com/explainers-by-googlers/local-network-access
|
6222
|
+
LocalNetworkAccessPermissionDenied
|
6148
6223
|
|
6149
6224
|
type CorsErrorStatus extends object
|
6150
6225
|
properties
|
@@ -7336,6 +7411,7 @@ domain Network
|
|
7336
7411
|
WarnFromInsecureToMorePrivate
|
7337
7412
|
PreflightBlock
|
7338
7413
|
PreflightWarn
|
7414
|
+
PermissionBlock
|
7339
7415
|
|
7340
7416
|
experimental type IPAddressSpace extends string
|
7341
7417
|
enum
|
@@ -2752,6 +2752,14 @@ export namespace ProtocolMapping {
|
|
2752
2752
|
paramsType: [Protocol.Emulation.SetDefaultBackgroundColorOverrideRequest?];
|
2753
2753
|
returnType: void;
|
2754
2754
|
};
|
2755
|
+
/**
|
2756
|
+
* Overrides the values for env(safe-area-inset-*) and env(safe-area-max-inset-*). Unset values will cause the
|
2757
|
+
* respective variables to be undefined, even if previously overridden.
|
2758
|
+
*/
|
2759
|
+
'Emulation.setSafeAreaInsetsOverride': {
|
2760
|
+
paramsType: [Protocol.Emulation.SetSafeAreaInsetsOverrideRequest];
|
2761
|
+
returnType: void;
|
2762
|
+
};
|
2755
2763
|
/**
|
2756
2764
|
* Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
|
2757
2765
|
* window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
|
@@ -1891,6 +1891,12 @@ export namespace ProtocolProxyApi {
|
|
1891
1891
|
*/
|
1892
1892
|
setDefaultBackgroundColorOverride(params: Protocol.Emulation.SetDefaultBackgroundColorOverrideRequest): Promise<void>;
|
1893
1893
|
|
1894
|
+
/**
|
1895
|
+
* Overrides the values for env(safe-area-inset-*) and env(safe-area-max-inset-*). Unset values will cause the
|
1896
|
+
* respective variables to be undefined, even if previously overridden.
|
1897
|
+
*/
|
1898
|
+
setSafeAreaInsetsOverride(params: Protocol.Emulation.SetSafeAreaInsetsOverrideRequest): Promise<void>;
|
1899
|
+
|
1894
1900
|
/**
|
1895
1901
|
* Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
|
1896
1902
|
* window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
|
@@ -2015,6 +2015,12 @@ export namespace ProtocolTestsProxyApi {
|
|
2015
2015
|
*/
|
2016
2016
|
setDefaultBackgroundColorOverride(params: Protocol.Emulation.SetDefaultBackgroundColorOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
|
2017
2017
|
|
2018
|
+
/**
|
2019
|
+
* Overrides the values for env(safe-area-inset-*) and env(safe-area-max-inset-*). Unset values will cause the
|
2020
|
+
* respective variables to be undefined, even if previously overridden.
|
2021
|
+
*/
|
2022
|
+
setSafeAreaInsetsOverride(params: Protocol.Emulation.SetSafeAreaInsetsOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
|
2023
|
+
|
2018
2024
|
/**
|
2019
2025
|
* Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
|
2020
2026
|
* window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
|
package/types/protocol.d.ts
CHANGED
@@ -5436,6 +5436,87 @@ export namespace Protocol {
|
|
5436
5436
|
style: CSSStyle;
|
5437
5437
|
}
|
5438
5438
|
|
5439
|
+
/**
|
5440
|
+
* CSS function argument representation.
|
5441
|
+
*/
|
5442
|
+
export interface CSSFunctionParameter {
|
5443
|
+
/**
|
5444
|
+
* The parameter name.
|
5445
|
+
*/
|
5446
|
+
name: string;
|
5447
|
+
/**
|
5448
|
+
* The parameter type.
|
5449
|
+
*/
|
5450
|
+
type: string;
|
5451
|
+
}
|
5452
|
+
|
5453
|
+
/**
|
5454
|
+
* CSS function conditional block representation.
|
5455
|
+
*/
|
5456
|
+
export interface CSSFunctionConditionNode {
|
5457
|
+
/**
|
5458
|
+
* Media query for this conditional block. Only one type of condition should be set.
|
5459
|
+
*/
|
5460
|
+
media?: CSSMedia;
|
5461
|
+
/**
|
5462
|
+
* Container query for this conditional block. Only one type of condition should be set.
|
5463
|
+
*/
|
5464
|
+
containerQueries?: CSSContainerQuery;
|
5465
|
+
/**
|
5466
|
+
* @supports CSS at-rule condition. Only one type of condition should be set.
|
5467
|
+
*/
|
5468
|
+
supports?: CSSSupports;
|
5469
|
+
/**
|
5470
|
+
* Block body.
|
5471
|
+
*/
|
5472
|
+
children: CSSFunctionNode[];
|
5473
|
+
/**
|
5474
|
+
* The condition text.
|
5475
|
+
*/
|
5476
|
+
conditionText: string;
|
5477
|
+
}
|
5478
|
+
|
5479
|
+
/**
|
5480
|
+
* Section of the body of a CSS function rule.
|
5481
|
+
*/
|
5482
|
+
export interface CSSFunctionNode {
|
5483
|
+
/**
|
5484
|
+
* A conditional block. If set, style should not be set.
|
5485
|
+
*/
|
5486
|
+
condition?: CSSFunctionConditionNode;
|
5487
|
+
/**
|
5488
|
+
* Values set by this node. If set, condition should not be set.
|
5489
|
+
*/
|
5490
|
+
style?: CSSStyle;
|
5491
|
+
}
|
5492
|
+
|
5493
|
+
/**
|
5494
|
+
* CSS function at-rule representation.
|
5495
|
+
*/
|
5496
|
+
export interface CSSFunctionRule {
|
5497
|
+
/**
|
5498
|
+
* Name of the function.
|
5499
|
+
*/
|
5500
|
+
name: Value;
|
5501
|
+
/**
|
5502
|
+
* The css style sheet identifier (absent for user agent stylesheet and user-specified
|
5503
|
+
* stylesheet rules) this rule came from.
|
5504
|
+
*/
|
5505
|
+
styleSheetId?: StyleSheetId;
|
5506
|
+
/**
|
5507
|
+
* Parent stylesheet's origin.
|
5508
|
+
*/
|
5509
|
+
origin: StyleSheetOrigin;
|
5510
|
+
/**
|
5511
|
+
* List of parameters.
|
5512
|
+
*/
|
5513
|
+
parameters: CSSFunctionParameter[];
|
5514
|
+
/**
|
5515
|
+
* Function body.
|
5516
|
+
*/
|
5517
|
+
children: CSSFunctionNode[];
|
5518
|
+
}
|
5519
|
+
|
5439
5520
|
/**
|
5440
5521
|
* CSS keyframe rule representation.
|
5441
5522
|
*/
|
@@ -5728,6 +5809,10 @@ export namespace Protocol {
|
|
5728
5809
|
* Id of the first parent element that does not have display: contents.
|
5729
5810
|
*/
|
5730
5811
|
parentLayoutNodeId?: DOM.NodeId;
|
5812
|
+
/**
|
5813
|
+
* A list of CSS at-function rules referenced by styles of this node.
|
5814
|
+
*/
|
5815
|
+
cssFunctionRules?: CSSFunctionRule[];
|
5731
5816
|
}
|
5732
5817
|
|
5733
5818
|
export interface GetMediaQueriesResponse {
|
@@ -8310,6 +8395,41 @@ export namespace Protocol {
|
|
8310
8395
|
*/
|
8311
8396
|
export namespace Emulation {
|
8312
8397
|
|
8398
|
+
export interface SafeAreaInsets {
|
8399
|
+
/**
|
8400
|
+
* Overrides safe-area-inset-top.
|
8401
|
+
*/
|
8402
|
+
top?: integer;
|
8403
|
+
/**
|
8404
|
+
* Overrides safe-area-max-inset-top.
|
8405
|
+
*/
|
8406
|
+
topMax?: integer;
|
8407
|
+
/**
|
8408
|
+
* Overrides safe-area-inset-left.
|
8409
|
+
*/
|
8410
|
+
left?: integer;
|
8411
|
+
/**
|
8412
|
+
* Overrides safe-area-max-inset-left.
|
8413
|
+
*/
|
8414
|
+
leftMax?: integer;
|
8415
|
+
/**
|
8416
|
+
* Overrides safe-area-inset-bottom.
|
8417
|
+
*/
|
8418
|
+
bottom?: integer;
|
8419
|
+
/**
|
8420
|
+
* Overrides safe-area-max-inset-bottom.
|
8421
|
+
*/
|
8422
|
+
bottomMax?: integer;
|
8423
|
+
/**
|
8424
|
+
* Overrides safe-area-inset-right.
|
8425
|
+
*/
|
8426
|
+
right?: integer;
|
8427
|
+
/**
|
8428
|
+
* Overrides safe-area-max-inset-right.
|
8429
|
+
*/
|
8430
|
+
rightMax?: integer;
|
8431
|
+
}
|
8432
|
+
|
8313
8433
|
export const enum ScreenOrientationType {
|
8314
8434
|
PortraitPrimary = 'portraitPrimary',
|
8315
8435
|
PortraitSecondary = 'portraitSecondary',
|
@@ -8495,6 +8615,10 @@ export namespace Protocol {
|
|
8495
8615
|
color?: DOM.RGBA;
|
8496
8616
|
}
|
8497
8617
|
|
8618
|
+
export interface SetSafeAreaInsetsOverrideRequest {
|
8619
|
+
insets: SafeAreaInsets;
|
8620
|
+
}
|
8621
|
+
|
8498
8622
|
export interface SetDeviceMetricsOverrideRequest {
|
8499
8623
|
/**
|
8500
8624
|
* Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.
|
@@ -10776,7 +10900,7 @@ export namespace Protocol {
|
|
10776
10900
|
/**
|
10777
10901
|
* The reason why request was blocked.
|
10778
10902
|
*/
|
10779
|
-
export type CorsError = ('DisallowedByMode' | 'InvalidResponse' | 'WildcardOriginNotAllowed' | 'MissingAllowOriginHeader' | 'MultipleAllowOriginValues' | 'InvalidAllowOriginValue' | 'AllowOriginMismatch' | 'InvalidAllowCredentials' | 'CorsDisabledScheme' | 'PreflightInvalidStatus' | 'PreflightDisallowedRedirect' | 'PreflightWildcardOriginNotAllowed' | 'PreflightMissingAllowOriginHeader' | 'PreflightMultipleAllowOriginValues' | 'PreflightInvalidAllowOriginValue' | 'PreflightAllowOriginMismatch' | 'PreflightInvalidAllowCredentials' | 'PreflightMissingAllowExternal' | 'PreflightInvalidAllowExternal' | 'PreflightMissingAllowPrivateNetwork' | 'PreflightInvalidAllowPrivateNetwork' | 'InvalidAllowMethodsPreflightResponse' | 'InvalidAllowHeadersPreflightResponse' | 'MethodDisallowedByPreflightResponse' | 'HeaderDisallowedByPreflightResponse' | 'RedirectContainsCredentials' | 'InsecurePrivateNetwork' | 'InvalidPrivateNetworkAccess' | 'UnexpectedPrivateNetworkAccess' | 'NoCorsRedirectModeNotFollow' | 'PreflightMissingPrivateNetworkAccessId' | 'PreflightMissingPrivateNetworkAccessName' | 'PrivateNetworkAccessPermissionUnavailable' | 'PrivateNetworkAccessPermissionDenied');
|
10903
|
+
export type CorsError = ('DisallowedByMode' | 'InvalidResponse' | 'WildcardOriginNotAllowed' | 'MissingAllowOriginHeader' | 'MultipleAllowOriginValues' | 'InvalidAllowOriginValue' | 'AllowOriginMismatch' | 'InvalidAllowCredentials' | 'CorsDisabledScheme' | 'PreflightInvalidStatus' | 'PreflightDisallowedRedirect' | 'PreflightWildcardOriginNotAllowed' | 'PreflightMissingAllowOriginHeader' | 'PreflightMultipleAllowOriginValues' | 'PreflightInvalidAllowOriginValue' | 'PreflightAllowOriginMismatch' | 'PreflightInvalidAllowCredentials' | 'PreflightMissingAllowExternal' | 'PreflightInvalidAllowExternal' | 'PreflightMissingAllowPrivateNetwork' | 'PreflightInvalidAllowPrivateNetwork' | 'InvalidAllowMethodsPreflightResponse' | 'InvalidAllowHeadersPreflightResponse' | 'MethodDisallowedByPreflightResponse' | 'HeaderDisallowedByPreflightResponse' | 'RedirectContainsCredentials' | 'InsecurePrivateNetwork' | 'InvalidPrivateNetworkAccess' | 'UnexpectedPrivateNetworkAccess' | 'NoCorsRedirectModeNotFollow' | 'PreflightMissingPrivateNetworkAccessId' | 'PreflightMissingPrivateNetworkAccessName' | 'PrivateNetworkAccessPermissionUnavailable' | 'PrivateNetworkAccessPermissionDenied' | 'LocalNetworkAccessPermissionDenied');
|
10780
10904
|
|
10781
10905
|
export interface CorsErrorStatus {
|
10782
10906
|
corsError: CorsError;
|
@@ -11510,7 +11634,7 @@ export namespace Protocol {
|
|
11510
11634
|
*/
|
11511
11635
|
export type ContentEncoding = ('deflate' | 'gzip' | 'br' | 'zstd');
|
11512
11636
|
|
11513
|
-
export type PrivateNetworkRequestPolicy = ('Allow' | 'BlockFromInsecureToMorePrivate' | 'WarnFromInsecureToMorePrivate' | 'PreflightBlock' | 'PreflightWarn');
|
11637
|
+
export type PrivateNetworkRequestPolicy = ('Allow' | 'BlockFromInsecureToMorePrivate' | 'WarnFromInsecureToMorePrivate' | 'PreflightBlock' | 'PreflightWarn' | 'PermissionBlock');
|
11514
11638
|
|
11515
11639
|
export type IPAddressSpace = ('Local' | 'Private' | 'Public' | 'Unknown');
|
11516
11640
|
|