devtools-protocol 0.0.849788 → 0.0.854822
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/changelog.md +38 -0
- package/json/browser_protocol.json +263 -5
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +144 -5
- package/types/protocol-mapping.d.ts +7 -0
- package/types/protocol-proxy-api.d.ts +5 -0
- package/types/protocol.d.ts +116 -7
package/changelog.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## Roll protocol to r854538
|
|
4
|
+
###### _2021-02-16 16:16:05 -0800_ | Diff: [014525d...13b10d1](https://github.com/ChromeDevTools/devtools-protocol/compare/014525d...13b10d1)
|
|
5
|
+
#### `Network`: modified command
|
|
6
|
+
* [`Network.setCookie`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#method-setCookie) - The `url` in the parameters had `description` _updated_. The parameters's `sameParty` _added_. The parameters's `sourceScheme` _added_. The parameters's `sourcePort` _added_.
|
|
7
|
+
#### `Network`: new type
|
|
8
|
+
* [`Network.CookieSourceScheme`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-CookieSourceScheme)
|
|
9
|
+
#### `Network`: modified types
|
|
10
|
+
* [`Network.Cookie`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-Cookie) - The properties's `sourceScheme` _added_. The properties's `sourcePort` _added_.
|
|
11
|
+
* [`Network.CookieParam`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-CookieParam) - The `url` in the properties had `description` _updated_. The properties's `sameParty` _added_. The properties's `sourceScheme` _added_. The properties's `sourcePort` _added_.
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## Roll protocol to r852555
|
|
15
|
+
###### _2021-02-10 01:16:01 -0800_ | Diff: [5a47400...014525d](https://github.com/ChromeDevTools/devtools-protocol/compare/5a47400...014525d)
|
|
16
|
+
#### `Audits`: new type
|
|
17
|
+
* [`Audits.CorsIssueDetails`](https://chromedevtools.github.io/devtools-protocol/tot/Audits/#type-CorsIssueDetails)
|
|
18
|
+
#### `Audits`: modified types
|
|
19
|
+
* [`Audits.SharedArrayBufferIssueDetails`](https://chromedevtools.github.io/devtools-protocol/tot/Audits/#type-SharedArrayBufferIssueDetails) - `description` updated.
|
|
20
|
+
* [`Audits.InspectorIssueCode`](https://chromedevtools.github.io/devtools-protocol/tot/Audits/#type-InspectorIssueCode) - The enum's `CorsIssue` _added_.
|
|
21
|
+
* [`Audits.InspectorIssueDetails`](https://chromedevtools.github.io/devtools-protocol/tot/Audits/#type-InspectorIssueDetails) - The properties's `corsIssueDetails` _added_.
|
|
22
|
+
#### `Network`: modified type
|
|
23
|
+
* [`Network.PrivateNetworkRequestPolicy`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-PrivateNetworkRequestPolicy) - The enum's `WarnFromInsecureToMorePrivate` _added_.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## Roll protocol to r850520
|
|
27
|
+
###### _2021-02-04 02:16:11 -0800_ | Diff: [6393746...5a47400](https://github.com/ChromeDevTools/devtools-protocol/compare/6393746...5a47400)
|
|
28
|
+
#### `Overlay`: new type
|
|
29
|
+
* [`Overlay.FlexItemHighlightConfig`](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#type-FlexItemHighlightConfig)
|
|
30
|
+
#### `Overlay`: modified type
|
|
31
|
+
* [`Overlay.HighlightConfig`](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#type-HighlightConfig) - The `contrastAlgorithm` in the properties had `name` _updated_. The `contrastAlgorithm` in the properties had `description` _updated_. The `contrastAlgorithm` in the properties had `$ref` _updated_. The properties's `contrastAlgorithm` _added_.
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
## Roll protocol to r849788
|
|
35
|
+
###### _2021-02-02 14:16:09 -0800_ | Diff: [8a7c1b5...6393746](https://github.com/ChromeDevTools/devtools-protocol/compare/8a7c1b5...6393746)
|
|
36
|
+
#### `Network`: modified types
|
|
37
|
+
* [`Network.SetCookieBlockedReason`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-SetCookieBlockedReason) - The enum's `SamePartyFromCrossPartyContext` _added_. The enum's `SamePartyConflictsWithOtherAttributes` _added_.
|
|
38
|
+
* [`Network.CookieBlockedReason`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-CookieBlockedReason) - The enum's `SamePartyFromCrossPartyContext` _added_.
|
|
39
|
+
|
|
40
|
+
|
|
3
41
|
## Roll protocol to r849057
|
|
4
42
|
###### _2021-02-01 03:16:00 -0800_ | Diff: [78112b8...8a7c1b5](https://github.com/ChromeDevTools/devtools-protocol/compare/78112b8...8a7c1b5)
|
|
5
43
|
#### `Audits`: new command
|
|
@@ -1360,7 +1360,7 @@
|
|
|
1360
1360
|
},
|
|
1361
1361
|
{
|
|
1362
1362
|
"id": "SharedArrayBufferIssueDetails",
|
|
1363
|
-
"description": "Details for a
|
|
1363
|
+
"description": "Details for a issue arising from an SAB being instantiated in, or\ntransfered to a context that is not cross-origin isolated.",
|
|
1364
1364
|
"type": "object",
|
|
1365
1365
|
"properties": [
|
|
1366
1366
|
{
|
|
@@ -1452,6 +1452,35 @@
|
|
|
1452
1452
|
}
|
|
1453
1453
|
]
|
|
1454
1454
|
},
|
|
1455
|
+
{
|
|
1456
|
+
"id": "CorsIssueDetails",
|
|
1457
|
+
"description": "Details for a CORS related issue, e.g. a warning or error related to\nCORS RFC1918 enforcement.",
|
|
1458
|
+
"type": "object",
|
|
1459
|
+
"properties": [
|
|
1460
|
+
{
|
|
1461
|
+
"name": "corsErrorStatus",
|
|
1462
|
+
"$ref": "Network.CorsErrorStatus"
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"name": "isWarning",
|
|
1466
|
+
"type": "boolean"
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
"name": "request",
|
|
1470
|
+
"$ref": "AffectedRequest"
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"name": "resourceIPAddressSpace",
|
|
1474
|
+
"optional": true,
|
|
1475
|
+
"$ref": "Network.IPAddressSpace"
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
"name": "clientSecurityState",
|
|
1479
|
+
"optional": true,
|
|
1480
|
+
"$ref": "Network.ClientSecurityState"
|
|
1481
|
+
}
|
|
1482
|
+
]
|
|
1483
|
+
},
|
|
1455
1484
|
{
|
|
1456
1485
|
"id": "InspectorIssueCode",
|
|
1457
1486
|
"description": "A unique identifier for the type of issue. Each type may use one of the\noptional fields in InspectorIssueDetails to convey more specific\ninformation about the kind of issue.",
|
|
@@ -1464,7 +1493,8 @@
|
|
|
1464
1493
|
"ContentSecurityPolicyIssue",
|
|
1465
1494
|
"SharedArrayBufferIssue",
|
|
1466
1495
|
"TrustedWebActivityIssue",
|
|
1467
|
-
"LowTextContrastIssue"
|
|
1496
|
+
"LowTextContrastIssue",
|
|
1497
|
+
"CorsIssue"
|
|
1468
1498
|
]
|
|
1469
1499
|
},
|
|
1470
1500
|
{
|
|
@@ -1511,6 +1541,11 @@
|
|
|
1511
1541
|
"name": "lowTextContrastIssueDetails",
|
|
1512
1542
|
"optional": true,
|
|
1513
1543
|
"$ref": "LowTextContrastIssueDetails"
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
"name": "corsIssueDetails",
|
|
1547
|
+
"optional": true,
|
|
1548
|
+
"$ref": "CorsIssueDetails"
|
|
1514
1549
|
}
|
|
1515
1550
|
]
|
|
1516
1551
|
},
|
|
@@ -9652,6 +9687,17 @@
|
|
|
9652
9687
|
"High"
|
|
9653
9688
|
]
|
|
9654
9689
|
},
|
|
9690
|
+
{
|
|
9691
|
+
"id": "CookieSourceScheme",
|
|
9692
|
+
"description": "Represents the source scheme of the origin that originally set the cookie.\nA value of \"Unset\" allows protocol clients to emulate legacy cookie scope for the scheme.\nThis is a temporary ability and it will be removed in the future.",
|
|
9693
|
+
"experimental": true,
|
|
9694
|
+
"type": "string",
|
|
9695
|
+
"enum": [
|
|
9696
|
+
"Unset",
|
|
9697
|
+
"NonSecure",
|
|
9698
|
+
"Secure"
|
|
9699
|
+
]
|
|
9700
|
+
},
|
|
9655
9701
|
{
|
|
9656
9702
|
"id": "ResourceTiming",
|
|
9657
9703
|
"description": "Timing information for the request.",
|
|
@@ -10477,6 +10523,18 @@
|
|
|
10477
10523
|
"description": "True if cookie is SameParty.",
|
|
10478
10524
|
"experimental": true,
|
|
10479
10525
|
"type": "boolean"
|
|
10526
|
+
},
|
|
10527
|
+
{
|
|
10528
|
+
"name": "sourceScheme",
|
|
10529
|
+
"description": "Cookie source scheme type.",
|
|
10530
|
+
"experimental": true,
|
|
10531
|
+
"$ref": "CookieSourceScheme"
|
|
10532
|
+
},
|
|
10533
|
+
{
|
|
10534
|
+
"name": "sourcePort",
|
|
10535
|
+
"description": "Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.\nAn unspecified port value allows protocol clients to emulate legacy cookie scope for the port.\nThis is a temporary ability and it will be removed in the future.",
|
|
10536
|
+
"experimental": true,
|
|
10537
|
+
"type": "integer"
|
|
10480
10538
|
}
|
|
10481
10539
|
]
|
|
10482
10540
|
},
|
|
@@ -10591,7 +10649,7 @@
|
|
|
10591
10649
|
},
|
|
10592
10650
|
{
|
|
10593
10651
|
"name": "url",
|
|
10594
|
-
"description": "The request-URI to associate with the setting of the cookie. This value can affect the\ndefault domain and
|
|
10652
|
+
"description": "The request-URI to associate with the setting of the cookie. This value can affect the\ndefault domain, path, source port, and source scheme values of the created cookie.",
|
|
10595
10653
|
"optional": true,
|
|
10596
10654
|
"type": "string"
|
|
10597
10655
|
},
|
|
@@ -10637,6 +10695,27 @@
|
|
|
10637
10695
|
"experimental": true,
|
|
10638
10696
|
"optional": true,
|
|
10639
10697
|
"$ref": "CookiePriority"
|
|
10698
|
+
},
|
|
10699
|
+
{
|
|
10700
|
+
"name": "sameParty",
|
|
10701
|
+
"description": "True if cookie is SameParty.",
|
|
10702
|
+
"experimental": true,
|
|
10703
|
+
"optional": true,
|
|
10704
|
+
"type": "boolean"
|
|
10705
|
+
},
|
|
10706
|
+
{
|
|
10707
|
+
"name": "sourceScheme",
|
|
10708
|
+
"description": "Cookie source scheme type.",
|
|
10709
|
+
"experimental": true,
|
|
10710
|
+
"optional": true,
|
|
10711
|
+
"$ref": "CookieSourceScheme"
|
|
10712
|
+
},
|
|
10713
|
+
{
|
|
10714
|
+
"name": "sourcePort",
|
|
10715
|
+
"description": "Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.\nAn unspecified port value allows protocol clients to emulate legacy cookie scope for the port.\nThis is a temporary ability and it will be removed in the future.",
|
|
10716
|
+
"experimental": true,
|
|
10717
|
+
"optional": true,
|
|
10718
|
+
"type": "integer"
|
|
10640
10719
|
}
|
|
10641
10720
|
]
|
|
10642
10721
|
},
|
|
@@ -10913,7 +10992,8 @@
|
|
|
10913
10992
|
"type": "string",
|
|
10914
10993
|
"enum": [
|
|
10915
10994
|
"Allow",
|
|
10916
|
-
"BlockFromInsecureToMorePrivate"
|
|
10995
|
+
"BlockFromInsecureToMorePrivate",
|
|
10996
|
+
"WarnFromInsecureToMorePrivate"
|
|
10917
10997
|
]
|
|
10918
10998
|
},
|
|
10919
10999
|
{
|
|
@@ -11527,7 +11607,7 @@
|
|
|
11527
11607
|
},
|
|
11528
11608
|
{
|
|
11529
11609
|
"name": "url",
|
|
11530
|
-
"description": "The request-URI to associate with the setting of the cookie. This value can affect the\ndefault domain and
|
|
11610
|
+
"description": "The request-URI to associate with the setting of the cookie. This value can affect the\ndefault domain, path, source port, and source scheme values of the created cookie.",
|
|
11531
11611
|
"optional": true,
|
|
11532
11612
|
"type": "string"
|
|
11533
11613
|
},
|
|
@@ -11573,6 +11653,27 @@
|
|
|
11573
11653
|
"experimental": true,
|
|
11574
11654
|
"optional": true,
|
|
11575
11655
|
"$ref": "CookiePriority"
|
|
11656
|
+
},
|
|
11657
|
+
{
|
|
11658
|
+
"name": "sameParty",
|
|
11659
|
+
"description": "True if cookie is SameParty.",
|
|
11660
|
+
"experimental": true,
|
|
11661
|
+
"optional": true,
|
|
11662
|
+
"type": "boolean"
|
|
11663
|
+
},
|
|
11664
|
+
{
|
|
11665
|
+
"name": "sourceScheme",
|
|
11666
|
+
"description": "Cookie source scheme type.",
|
|
11667
|
+
"experimental": true,
|
|
11668
|
+
"optional": true,
|
|
11669
|
+
"$ref": "CookieSourceScheme"
|
|
11670
|
+
},
|
|
11671
|
+
{
|
|
11672
|
+
"name": "sourcePort",
|
|
11673
|
+
"description": "Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.\nAn unspecified port value allows protocol clients to emulate legacy cookie scope for the port.\nThis is a temporary ability and it will be removed in the future.",
|
|
11674
|
+
"experimental": true,
|
|
11675
|
+
"optional": true,
|
|
11676
|
+
"type": "integer"
|
|
11576
11677
|
}
|
|
11577
11678
|
],
|
|
11578
11679
|
"returns": [
|
|
@@ -12625,6 +12726,31 @@
|
|
|
12625
12726
|
}
|
|
12626
12727
|
]
|
|
12627
12728
|
},
|
|
12729
|
+
{
|
|
12730
|
+
"id": "FlexItemHighlightConfig",
|
|
12731
|
+
"description": "Configuration data for the highlighting of Flex item elements.",
|
|
12732
|
+
"type": "object",
|
|
12733
|
+
"properties": [
|
|
12734
|
+
{
|
|
12735
|
+
"name": "baseSizeBox",
|
|
12736
|
+
"description": "Style of the box representing the item's base size",
|
|
12737
|
+
"optional": true,
|
|
12738
|
+
"$ref": "BoxStyle"
|
|
12739
|
+
},
|
|
12740
|
+
{
|
|
12741
|
+
"name": "baseSizeBorder",
|
|
12742
|
+
"description": "Style of the border around the box representing the item's base size",
|
|
12743
|
+
"optional": true,
|
|
12744
|
+
"$ref": "LineStyle"
|
|
12745
|
+
},
|
|
12746
|
+
{
|
|
12747
|
+
"name": "flexibilityArrow",
|
|
12748
|
+
"description": "Style of the arrow representing if the item grew or shrank",
|
|
12749
|
+
"optional": true,
|
|
12750
|
+
"$ref": "LineStyle"
|
|
12751
|
+
}
|
|
12752
|
+
]
|
|
12753
|
+
},
|
|
12628
12754
|
{
|
|
12629
12755
|
"id": "LineStyle",
|
|
12630
12756
|
"description": "Style information for drawing a line.",
|
|
@@ -12777,6 +12903,12 @@
|
|
|
12777
12903
|
"optional": true,
|
|
12778
12904
|
"$ref": "FlexContainerHighlightConfig"
|
|
12779
12905
|
},
|
|
12906
|
+
{
|
|
12907
|
+
"name": "flexItemHighlightConfig",
|
|
12908
|
+
"description": "The flex item highlight configuration (default: all transparent).",
|
|
12909
|
+
"optional": true,
|
|
12910
|
+
"$ref": "FlexItemHighlightConfig"
|
|
12911
|
+
},
|
|
12780
12912
|
{
|
|
12781
12913
|
"name": "contrastAlgorithm",
|
|
12782
12914
|
"description": "The contrast algorithm to use for the contrast ratio (default: aa).",
|
|
@@ -13371,6 +13503,112 @@
|
|
|
13371
13503
|
"PerformanceProfile"
|
|
13372
13504
|
]
|
|
13373
13505
|
},
|
|
13506
|
+
{
|
|
13507
|
+
"id": "PermissionsPolicyFeature",
|
|
13508
|
+
"description": "All Permissions Policy features. This enum should match the one defined\nin renderer/core/feature_policy/feature_policy_features.json5.",
|
|
13509
|
+
"experimental": true,
|
|
13510
|
+
"type": "string",
|
|
13511
|
+
"enum": [
|
|
13512
|
+
"accelerometer",
|
|
13513
|
+
"ambient-light-sensor",
|
|
13514
|
+
"autoplay",
|
|
13515
|
+
"camera",
|
|
13516
|
+
"ch-dpr",
|
|
13517
|
+
"ch-device-memory",
|
|
13518
|
+
"ch-downlink",
|
|
13519
|
+
"ch-ect",
|
|
13520
|
+
"ch-lang",
|
|
13521
|
+
"ch-rtt",
|
|
13522
|
+
"ch-ua",
|
|
13523
|
+
"ch-ua-arch",
|
|
13524
|
+
"ch-ua-platform",
|
|
13525
|
+
"ch-ua-model",
|
|
13526
|
+
"ch-ua-mobile",
|
|
13527
|
+
"ch-ua-full-version",
|
|
13528
|
+
"ch-ua-platform-version",
|
|
13529
|
+
"ch-viewport-width",
|
|
13530
|
+
"ch-width",
|
|
13531
|
+
"clipboard-read",
|
|
13532
|
+
"clipboard-write",
|
|
13533
|
+
"conversion-measurement",
|
|
13534
|
+
"cross-origin-isolated",
|
|
13535
|
+
"display-capture",
|
|
13536
|
+
"document-domain",
|
|
13537
|
+
"encrypted-media",
|
|
13538
|
+
"execution-while-out-of-viewport",
|
|
13539
|
+
"execution-while-not-rendered",
|
|
13540
|
+
"focus-without-user-activation",
|
|
13541
|
+
"fullscreen",
|
|
13542
|
+
"frobulate",
|
|
13543
|
+
"gamepad",
|
|
13544
|
+
"geolocation",
|
|
13545
|
+
"gyroscope",
|
|
13546
|
+
"hid",
|
|
13547
|
+
"idle-detection",
|
|
13548
|
+
"interest-cohort",
|
|
13549
|
+
"magnetometer",
|
|
13550
|
+
"microphone",
|
|
13551
|
+
"midi",
|
|
13552
|
+
"otp-credentials",
|
|
13553
|
+
"payment",
|
|
13554
|
+
"picture-in-picture",
|
|
13555
|
+
"publickey-credentials-get",
|
|
13556
|
+
"screen-wake-lock",
|
|
13557
|
+
"serial",
|
|
13558
|
+
"storage-access-api",
|
|
13559
|
+
"sync-xhr",
|
|
13560
|
+
"trust-token-redemption",
|
|
13561
|
+
"usb",
|
|
13562
|
+
"vertical-scroll",
|
|
13563
|
+
"web-share",
|
|
13564
|
+
"xr-spatial-tracking"
|
|
13565
|
+
]
|
|
13566
|
+
},
|
|
13567
|
+
{
|
|
13568
|
+
"id": "PermissionsPolicyBlockReason",
|
|
13569
|
+
"description": "Reason for a permissions policy feature to be disabled.",
|
|
13570
|
+
"experimental": true,
|
|
13571
|
+
"type": "string",
|
|
13572
|
+
"enum": [
|
|
13573
|
+
"Header",
|
|
13574
|
+
"IframeAttribute"
|
|
13575
|
+
]
|
|
13576
|
+
},
|
|
13577
|
+
{
|
|
13578
|
+
"id": "PermissionsPolicyBlockLocator",
|
|
13579
|
+
"experimental": true,
|
|
13580
|
+
"type": "object",
|
|
13581
|
+
"properties": [
|
|
13582
|
+
{
|
|
13583
|
+
"name": "frameId",
|
|
13584
|
+
"$ref": "FrameId"
|
|
13585
|
+
},
|
|
13586
|
+
{
|
|
13587
|
+
"name": "blockReason",
|
|
13588
|
+
"$ref": "PermissionsPolicyBlockReason"
|
|
13589
|
+
}
|
|
13590
|
+
]
|
|
13591
|
+
},
|
|
13592
|
+
{
|
|
13593
|
+
"id": "PermissionsPolicyFeatureState",
|
|
13594
|
+
"experimental": true,
|
|
13595
|
+
"type": "object",
|
|
13596
|
+
"properties": [
|
|
13597
|
+
{
|
|
13598
|
+
"name": "feature",
|
|
13599
|
+
"$ref": "PermissionsPolicyFeature"
|
|
13600
|
+
},
|
|
13601
|
+
{
|
|
13602
|
+
"name": "allowed",
|
|
13603
|
+
"type": "boolean"
|
|
13604
|
+
},
|
|
13605
|
+
{
|
|
13606
|
+
"name": "locator",
|
|
13607
|
+
"optional": true,
|
|
13608
|
+
"$ref": "PermissionsPolicyBlockLocator"
|
|
13609
|
+
}
|
|
13610
|
+
]
|
|
13611
|
+
},
|
|
13374
13612
|
{
|
|
13375
13613
|
"id": "Frame",
|
|
13376
13614
|
"description": "Information about the Frame on the page.",
|
|
@@ -14659,6 +14897,26 @@
|
|
|
14659
14897
|
}
|
|
14660
14898
|
]
|
|
14661
14899
|
},
|
|
14900
|
+
{
|
|
14901
|
+
"name": "getPermissionsPolicyState",
|
|
14902
|
+
"description": "Get Permissions Policy state on given frame.",
|
|
14903
|
+
"experimental": true,
|
|
14904
|
+
"parameters": [
|
|
14905
|
+
{
|
|
14906
|
+
"name": "frameId",
|
|
14907
|
+
"$ref": "FrameId"
|
|
14908
|
+
}
|
|
14909
|
+
],
|
|
14910
|
+
"returns": [
|
|
14911
|
+
{
|
|
14912
|
+
"name": "states",
|
|
14913
|
+
"type": "array",
|
|
14914
|
+
"items": {
|
|
14915
|
+
"$ref": "PermissionsPolicyFeatureState"
|
|
14916
|
+
}
|
|
14917
|
+
}
|
|
14918
|
+
]
|
|
14919
|
+
},
|
|
14662
14920
|
{
|
|
14663
14921
|
"name": "setDeviceMetricsOverride",
|
|
14664
14922
|
"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).",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -667,9 +667,8 @@ experimental domain Audits
|
|
|
667
667
|
TransferIssue
|
|
668
668
|
CreationIssue
|
|
669
669
|
|
|
670
|
-
# Details for a
|
|
671
|
-
#
|
|
672
|
-
# some CSP errors in the future.
|
|
670
|
+
# Details for a issue arising from an SAB being instantiated in, or
|
|
671
|
+
# transfered to a context that is not cross-origin isolated.
|
|
673
672
|
type SharedArrayBufferIssueDetails extends object
|
|
674
673
|
properties
|
|
675
674
|
SourceCodeLocation sourceCodeLocation
|
|
@@ -705,6 +704,16 @@ experimental domain Audits
|
|
|
705
704
|
string fontSize
|
|
706
705
|
string fontWeight
|
|
707
706
|
|
|
707
|
+
# Details for a CORS related issue, e.g. a warning or error related to
|
|
708
|
+
# CORS RFC1918 enforcement.
|
|
709
|
+
type CorsIssueDetails extends object
|
|
710
|
+
properties
|
|
711
|
+
Network.CorsErrorStatus corsErrorStatus
|
|
712
|
+
boolean isWarning
|
|
713
|
+
AffectedRequest request
|
|
714
|
+
optional Network.IPAddressSpace resourceIPAddressSpace
|
|
715
|
+
optional Network.ClientSecurityState clientSecurityState
|
|
716
|
+
|
|
708
717
|
# A unique identifier for the type of issue. Each type may use one of the
|
|
709
718
|
# optional fields in InspectorIssueDetails to convey more specific
|
|
710
719
|
# information about the kind of issue.
|
|
@@ -718,6 +727,7 @@ experimental domain Audits
|
|
|
718
727
|
SharedArrayBufferIssue
|
|
719
728
|
TrustedWebActivityIssue
|
|
720
729
|
LowTextContrastIssue
|
|
730
|
+
CorsIssue
|
|
721
731
|
|
|
722
732
|
# This struct holds a list of optional fields with additional information
|
|
723
733
|
# specific to the kind of issue. When adding a new issue code, please also
|
|
@@ -732,6 +742,7 @@ experimental domain Audits
|
|
|
732
742
|
optional SharedArrayBufferIssueDetails sharedArrayBufferIssueDetails
|
|
733
743
|
optional TrustedWebActivityIssueDetails twaQualityEnforcementDetails
|
|
734
744
|
optional LowTextContrastIssueDetails lowTextContrastIssueDetails
|
|
745
|
+
optional CorsIssueDetails corsIssueDetails
|
|
735
746
|
|
|
736
747
|
# An inspector issue reported from the back-end.
|
|
737
748
|
type InspectorIssue extends object
|
|
@@ -4415,6 +4426,15 @@ domain Network
|
|
|
4415
4426
|
Medium
|
|
4416
4427
|
High
|
|
4417
4428
|
|
|
4429
|
+
# Represents the source scheme of the origin that originally set the cookie.
|
|
4430
|
+
# A value of "Unset" allows protocol clients to emulate legacy cookie scope for the scheme.
|
|
4431
|
+
# This is a temporary ability and it will be removed in the future.
|
|
4432
|
+
experimental type CookieSourceScheme extends string
|
|
4433
|
+
enum
|
|
4434
|
+
Unset
|
|
4435
|
+
NonSecure
|
|
4436
|
+
Secure
|
|
4437
|
+
|
|
4418
4438
|
# Timing information for the request.
|
|
4419
4439
|
type ResourceTiming extends object
|
|
4420
4440
|
properties
|
|
@@ -4796,6 +4816,12 @@ domain Network
|
|
|
4796
4816
|
experimental CookiePriority priority
|
|
4797
4817
|
# True if cookie is SameParty.
|
|
4798
4818
|
experimental boolean sameParty
|
|
4819
|
+
# Cookie source scheme type.
|
|
4820
|
+
experimental CookieSourceScheme sourceScheme
|
|
4821
|
+
# Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
|
4822
|
+
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
|
4823
|
+
# This is a temporary ability and it will be removed in the future.
|
|
4824
|
+
experimental integer sourcePort
|
|
4799
4825
|
|
|
4800
4826
|
# Types of reasons why a cookie may not be stored from a response.
|
|
4801
4827
|
experimental type SetCookieBlockedReason extends string
|
|
@@ -4924,7 +4950,7 @@ domain Network
|
|
|
4924
4950
|
# Cookie value.
|
|
4925
4951
|
string value
|
|
4926
4952
|
# The request-URI to associate with the setting of the cookie. This value can affect the
|
|
4927
|
-
# default domain and
|
|
4953
|
+
# default domain, path, source port, and source scheme values of the created cookie.
|
|
4928
4954
|
optional string url
|
|
4929
4955
|
# Cookie domain.
|
|
4930
4956
|
optional string domain
|
|
@@ -4940,6 +4966,14 @@ domain Network
|
|
|
4940
4966
|
optional TimeSinceEpoch expires
|
|
4941
4967
|
# Cookie Priority.
|
|
4942
4968
|
experimental optional CookiePriority priority
|
|
4969
|
+
# True if cookie is SameParty.
|
|
4970
|
+
experimental optional boolean sameParty
|
|
4971
|
+
# Cookie source scheme type.
|
|
4972
|
+
experimental optional CookieSourceScheme sourceScheme
|
|
4973
|
+
# Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
|
4974
|
+
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
|
4975
|
+
# This is a temporary ability and it will be removed in the future.
|
|
4976
|
+
experimental optional integer sourcePort
|
|
4943
4977
|
|
|
4944
4978
|
# Authorization challenge for HTTP status code 401 or 407.
|
|
4945
4979
|
experimental type AuthChallenge extends object
|
|
@@ -5270,7 +5304,7 @@ domain Network
|
|
|
5270
5304
|
# Cookie value.
|
|
5271
5305
|
string value
|
|
5272
5306
|
# The request-URI to associate with the setting of the cookie. This value can affect the
|
|
5273
|
-
# default domain and
|
|
5307
|
+
# default domain, path, source port, and source scheme values of the created cookie.
|
|
5274
5308
|
optional string url
|
|
5275
5309
|
# Cookie domain.
|
|
5276
5310
|
optional string domain
|
|
@@ -5286,6 +5320,14 @@ domain Network
|
|
|
5286
5320
|
optional TimeSinceEpoch expires
|
|
5287
5321
|
# Cookie Priority type.
|
|
5288
5322
|
experimental optional CookiePriority priority
|
|
5323
|
+
# True if cookie is SameParty.
|
|
5324
|
+
experimental optional boolean sameParty
|
|
5325
|
+
# Cookie source scheme type.
|
|
5326
|
+
experimental optional CookieSourceScheme sourceScheme
|
|
5327
|
+
# Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
|
5328
|
+
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
|
5329
|
+
# This is a temporary ability and it will be removed in the future.
|
|
5330
|
+
experimental optional integer sourcePort
|
|
5289
5331
|
returns
|
|
5290
5332
|
# Always set to true. If an error occurs, the response indicates protocol error.
|
|
5291
5333
|
deprecated boolean success
|
|
@@ -5600,6 +5642,7 @@ domain Network
|
|
|
5600
5642
|
enum
|
|
5601
5643
|
Allow
|
|
5602
5644
|
BlockFromInsecureToMorePrivate
|
|
5645
|
+
WarnFromInsecureToMorePrivate
|
|
5603
5646
|
|
|
5604
5647
|
experimental type IPAddressSpace extends string
|
|
5605
5648
|
enum
|
|
@@ -5829,6 +5872,16 @@ experimental domain Overlay
|
|
|
5829
5872
|
# Style of the self-alignment line (align-items).
|
|
5830
5873
|
optional LineStyle crossAlignment
|
|
5831
5874
|
|
|
5875
|
+
# Configuration data for the highlighting of Flex item elements.
|
|
5876
|
+
type FlexItemHighlightConfig extends object
|
|
5877
|
+
properties
|
|
5878
|
+
# Style of the box representing the item's base size
|
|
5879
|
+
optional BoxStyle baseSizeBox
|
|
5880
|
+
# Style of the border around the box representing the item's base size
|
|
5881
|
+
optional LineStyle baseSizeBorder
|
|
5882
|
+
# Style of the arrow representing if the item grew or shrank
|
|
5883
|
+
optional LineStyle flexibilityArrow
|
|
5884
|
+
|
|
5832
5885
|
# Style information for drawing a line.
|
|
5833
5886
|
type LineStyle extends object
|
|
5834
5887
|
properties
|
|
@@ -5888,6 +5941,8 @@ experimental domain Overlay
|
|
|
5888
5941
|
optional GridHighlightConfig gridHighlightConfig
|
|
5889
5942
|
# The flex container highlight configuration (default: all transparent).
|
|
5890
5943
|
optional FlexContainerHighlightConfig flexContainerHighlightConfig
|
|
5944
|
+
# The flex item highlight configuration (default: all transparent).
|
|
5945
|
+
optional FlexItemHighlightConfig flexItemHighlightConfig
|
|
5891
5946
|
# The contrast algorithm to use for the contrast ratio (default: aa).
|
|
5892
5947
|
optional ContrastAlgorithm contrastAlgorithm
|
|
5893
5948
|
|
|
@@ -6193,6 +6248,83 @@ domain Page
|
|
|
6193
6248
|
PerformanceMeasureMemory
|
|
6194
6249
|
PerformanceProfile
|
|
6195
6250
|
|
|
6251
|
+
# All Permissions Policy features. This enum should match the one defined
|
|
6252
|
+
# in renderer/core/feature_policy/feature_policy_features.json5.
|
|
6253
|
+
experimental type PermissionsPolicyFeature extends string
|
|
6254
|
+
enum
|
|
6255
|
+
accelerometer
|
|
6256
|
+
ambient-light-sensor
|
|
6257
|
+
autoplay
|
|
6258
|
+
camera
|
|
6259
|
+
ch-dpr
|
|
6260
|
+
ch-device-memory
|
|
6261
|
+
ch-downlink
|
|
6262
|
+
ch-ect
|
|
6263
|
+
ch-lang
|
|
6264
|
+
ch-rtt
|
|
6265
|
+
ch-ua
|
|
6266
|
+
ch-ua-arch
|
|
6267
|
+
ch-ua-platform
|
|
6268
|
+
ch-ua-model
|
|
6269
|
+
ch-ua-mobile
|
|
6270
|
+
ch-ua-full-version
|
|
6271
|
+
ch-ua-platform-version
|
|
6272
|
+
ch-viewport-width
|
|
6273
|
+
ch-width
|
|
6274
|
+
clipboard-read
|
|
6275
|
+
clipboard-write
|
|
6276
|
+
conversion-measurement
|
|
6277
|
+
cross-origin-isolated
|
|
6278
|
+
display-capture
|
|
6279
|
+
document-domain
|
|
6280
|
+
encrypted-media
|
|
6281
|
+
execution-while-out-of-viewport
|
|
6282
|
+
execution-while-not-rendered
|
|
6283
|
+
focus-without-user-activation
|
|
6284
|
+
fullscreen
|
|
6285
|
+
frobulate
|
|
6286
|
+
gamepad
|
|
6287
|
+
geolocation
|
|
6288
|
+
gyroscope
|
|
6289
|
+
hid
|
|
6290
|
+
idle-detection
|
|
6291
|
+
interest-cohort
|
|
6292
|
+
magnetometer
|
|
6293
|
+
microphone
|
|
6294
|
+
midi
|
|
6295
|
+
otp-credentials
|
|
6296
|
+
payment
|
|
6297
|
+
picture-in-picture
|
|
6298
|
+
publickey-credentials-get
|
|
6299
|
+
screen-wake-lock
|
|
6300
|
+
serial
|
|
6301
|
+
storage-access-api
|
|
6302
|
+
sync-xhr
|
|
6303
|
+
trust-token-redemption
|
|
6304
|
+
usb
|
|
6305
|
+
vertical-scroll
|
|
6306
|
+
web-share
|
|
6307
|
+
xr-spatial-tracking
|
|
6308
|
+
|
|
6309
|
+
# Reason for a permissions policy feature to be disabled.
|
|
6310
|
+
experimental type PermissionsPolicyBlockReason extends string
|
|
6311
|
+
enum
|
|
6312
|
+
# Declaration in HTTP header.
|
|
6313
|
+
Header
|
|
6314
|
+
# Declaration in iframe attribute.
|
|
6315
|
+
IframeAttribute
|
|
6316
|
+
|
|
6317
|
+
experimental type PermissionsPolicyBlockLocator extends object
|
|
6318
|
+
properties
|
|
6319
|
+
FrameId frameId
|
|
6320
|
+
PermissionsPolicyBlockReason blockReason
|
|
6321
|
+
|
|
6322
|
+
experimental type PermissionsPolicyFeatureState extends object
|
|
6323
|
+
properties
|
|
6324
|
+
PermissionsPolicyFeature feature
|
|
6325
|
+
boolean allowed
|
|
6326
|
+
optional PermissionsPolicyBlockLocator locator
|
|
6327
|
+
|
|
6196
6328
|
# Information about the Frame on the page.
|
|
6197
6329
|
type Frame extends object
|
|
6198
6330
|
properties
|
|
@@ -6774,6 +6906,13 @@ domain Page
|
|
|
6774
6906
|
# Whether to bypass page CSP.
|
|
6775
6907
|
boolean enabled
|
|
6776
6908
|
|
|
6909
|
+
# Get Permissions Policy state on given frame.
|
|
6910
|
+
experimental command getPermissionsPolicyState
|
|
6911
|
+
parameters
|
|
6912
|
+
FrameId frameId
|
|
6913
|
+
returns
|
|
6914
|
+
array of PermissionsPolicyFeatureState states
|
|
6915
|
+
|
|
6777
6916
|
# Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
|
|
6778
6917
|
# window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
|
|
6779
6918
|
# query results).
|
|
@@ -3461,6 +3461,13 @@ export namespace ProtocolMapping {
|
|
|
3461
3461
|
paramsType: [Protocol.Page.SetBypassCSPRequest];
|
|
3462
3462
|
returnType: void;
|
|
3463
3463
|
};
|
|
3464
|
+
/**
|
|
3465
|
+
* Get Permissions Policy state on given frame.
|
|
3466
|
+
*/
|
|
3467
|
+
'Page.getPermissionsPolicyState': {
|
|
3468
|
+
paramsType: [Protocol.Page.GetPermissionsPolicyStateRequest];
|
|
3469
|
+
returnType: Protocol.Page.GetPermissionsPolicyStateResponse;
|
|
3470
|
+
};
|
|
3464
3471
|
/**
|
|
3465
3472
|
* Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
|
|
3466
3473
|
* window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
|
|
@@ -2662,6 +2662,11 @@ export namespace ProtocolProxyApi {
|
|
|
2662
2662
|
*/
|
|
2663
2663
|
setBypassCSP(params: Protocol.Page.SetBypassCSPRequest): Promise<void>;
|
|
2664
2664
|
|
|
2665
|
+
/**
|
|
2666
|
+
* Get Permissions Policy state on given frame.
|
|
2667
|
+
*/
|
|
2668
|
+
getPermissionsPolicyState(params: Protocol.Page.GetPermissionsPolicyStateRequest): Promise<Protocol.Page.GetPermissionsPolicyStateResponse>;
|
|
2669
|
+
|
|
2665
2670
|
/**
|
|
2666
2671
|
* Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
|
|
2667
2672
|
* window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
|
package/types/protocol.d.ts
CHANGED
|
@@ -3245,9 +3245,8 @@ export namespace Protocol {
|
|
|
3245
3245
|
export type SharedArrayBufferIssueType = ('TransferIssue' | 'CreationIssue');
|
|
3246
3246
|
|
|
3247
3247
|
/**
|
|
3248
|
-
* Details for a
|
|
3249
|
-
*
|
|
3250
|
-
* some CSP errors in the future.
|
|
3248
|
+
* Details for a issue arising from an SAB being instantiated in, or
|
|
3249
|
+
* transfered to a context that is not cross-origin isolated.
|
|
3251
3250
|
*/
|
|
3252
3251
|
export interface SharedArrayBufferIssueDetails {
|
|
3253
3252
|
sourceCodeLocation: SourceCodeLocation;
|
|
@@ -3286,12 +3285,24 @@ export namespace Protocol {
|
|
|
3286
3285
|
fontWeight: string;
|
|
3287
3286
|
}
|
|
3288
3287
|
|
|
3288
|
+
/**
|
|
3289
|
+
* Details for a CORS related issue, e.g. a warning or error related to
|
|
3290
|
+
* CORS RFC1918 enforcement.
|
|
3291
|
+
*/
|
|
3292
|
+
export interface CorsIssueDetails {
|
|
3293
|
+
corsErrorStatus: Network.CorsErrorStatus;
|
|
3294
|
+
isWarning: boolean;
|
|
3295
|
+
request: AffectedRequest;
|
|
3296
|
+
resourceIPAddressSpace?: Network.IPAddressSpace;
|
|
3297
|
+
clientSecurityState?: Network.ClientSecurityState;
|
|
3298
|
+
}
|
|
3299
|
+
|
|
3289
3300
|
/**
|
|
3290
3301
|
* A unique identifier for the type of issue. Each type may use one of the
|
|
3291
3302
|
* optional fields in InspectorIssueDetails to convey more specific
|
|
3292
3303
|
* information about the kind of issue.
|
|
3293
3304
|
*/
|
|
3294
|
-
export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue');
|
|
3305
|
+
export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue');
|
|
3295
3306
|
|
|
3296
3307
|
/**
|
|
3297
3308
|
* This struct holds a list of optional fields with additional information
|
|
@@ -3307,6 +3318,7 @@ export namespace Protocol {
|
|
|
3307
3318
|
sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
|
|
3308
3319
|
twaQualityEnforcementDetails?: TrustedWebActivityIssueDetails;
|
|
3309
3320
|
lowTextContrastIssueDetails?: LowTextContrastIssueDetails;
|
|
3321
|
+
corsIssueDetails?: CorsIssueDetails;
|
|
3310
3322
|
}
|
|
3311
3323
|
|
|
3312
3324
|
/**
|
|
@@ -8584,6 +8596,13 @@ export namespace Protocol {
|
|
|
8584
8596
|
*/
|
|
8585
8597
|
export type CookiePriority = ('Low' | 'Medium' | 'High');
|
|
8586
8598
|
|
|
8599
|
+
/**
|
|
8600
|
+
* Represents the source scheme of the origin that originally set the cookie.
|
|
8601
|
+
* A value of "Unset" allows protocol clients to emulate legacy cookie scope for the scheme.
|
|
8602
|
+
* This is a temporary ability and it will be removed in the future.
|
|
8603
|
+
*/
|
|
8604
|
+
export type CookieSourceScheme = ('Unset' | 'NonSecure' | 'Secure');
|
|
8605
|
+
|
|
8587
8606
|
/**
|
|
8588
8607
|
* Timing information for the request.
|
|
8589
8608
|
*/
|
|
@@ -9161,6 +9180,16 @@ export namespace Protocol {
|
|
|
9161
9180
|
* True if cookie is SameParty.
|
|
9162
9181
|
*/
|
|
9163
9182
|
sameParty: boolean;
|
|
9183
|
+
/**
|
|
9184
|
+
* Cookie source scheme type.
|
|
9185
|
+
*/
|
|
9186
|
+
sourceScheme: CookieSourceScheme;
|
|
9187
|
+
/**
|
|
9188
|
+
* Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
|
9189
|
+
* An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
|
9190
|
+
* This is a temporary ability and it will be removed in the future.
|
|
9191
|
+
*/
|
|
9192
|
+
sourcePort: integer;
|
|
9164
9193
|
}
|
|
9165
9194
|
|
|
9166
9195
|
/**
|
|
@@ -9222,7 +9251,7 @@ export namespace Protocol {
|
|
|
9222
9251
|
value: string;
|
|
9223
9252
|
/**
|
|
9224
9253
|
* The request-URI to associate with the setting of the cookie. This value can affect the
|
|
9225
|
-
* default domain and
|
|
9254
|
+
* default domain, path, source port, and source scheme values of the created cookie.
|
|
9226
9255
|
*/
|
|
9227
9256
|
url?: string;
|
|
9228
9257
|
/**
|
|
@@ -9253,6 +9282,20 @@ export namespace Protocol {
|
|
|
9253
9282
|
* Cookie Priority.
|
|
9254
9283
|
*/
|
|
9255
9284
|
priority?: CookiePriority;
|
|
9285
|
+
/**
|
|
9286
|
+
* True if cookie is SameParty.
|
|
9287
|
+
*/
|
|
9288
|
+
sameParty?: boolean;
|
|
9289
|
+
/**
|
|
9290
|
+
* Cookie source scheme type.
|
|
9291
|
+
*/
|
|
9292
|
+
sourceScheme?: CookieSourceScheme;
|
|
9293
|
+
/**
|
|
9294
|
+
* Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
|
9295
|
+
* An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
|
9296
|
+
* This is a temporary ability and it will be removed in the future.
|
|
9297
|
+
*/
|
|
9298
|
+
sourcePort?: integer;
|
|
9256
9299
|
}
|
|
9257
9300
|
|
|
9258
9301
|
export const enum AuthChallengeSource {
|
|
@@ -9450,7 +9493,7 @@ export namespace Protocol {
|
|
|
9450
9493
|
errors?: SignedExchangeError[];
|
|
9451
9494
|
}
|
|
9452
9495
|
|
|
9453
|
-
export type PrivateNetworkRequestPolicy = ('Allow' | 'BlockFromInsecureToMorePrivate');
|
|
9496
|
+
export type PrivateNetworkRequestPolicy = ('Allow' | 'BlockFromInsecureToMorePrivate' | 'WarnFromInsecureToMorePrivate');
|
|
9454
9497
|
|
|
9455
9498
|
export type IPAddressSpace = ('Local' | 'Private' | 'Public' | 'Unknown');
|
|
9456
9499
|
|
|
@@ -9787,7 +9830,7 @@ export namespace Protocol {
|
|
|
9787
9830
|
value: string;
|
|
9788
9831
|
/**
|
|
9789
9832
|
* The request-URI to associate with the setting of the cookie. This value can affect the
|
|
9790
|
-
* default domain and
|
|
9833
|
+
* default domain, path, source port, and source scheme values of the created cookie.
|
|
9791
9834
|
*/
|
|
9792
9835
|
url?: string;
|
|
9793
9836
|
/**
|
|
@@ -9818,6 +9861,20 @@ export namespace Protocol {
|
|
|
9818
9861
|
* Cookie Priority type.
|
|
9819
9862
|
*/
|
|
9820
9863
|
priority?: CookiePriority;
|
|
9864
|
+
/**
|
|
9865
|
+
* True if cookie is SameParty.
|
|
9866
|
+
*/
|
|
9867
|
+
sameParty?: boolean;
|
|
9868
|
+
/**
|
|
9869
|
+
* Cookie source scheme type.
|
|
9870
|
+
*/
|
|
9871
|
+
sourceScheme?: CookieSourceScheme;
|
|
9872
|
+
/**
|
|
9873
|
+
* Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
|
9874
|
+
* An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
|
9875
|
+
* This is a temporary ability and it will be removed in the future.
|
|
9876
|
+
*/
|
|
9877
|
+
sourcePort?: integer;
|
|
9821
9878
|
}
|
|
9822
9879
|
|
|
9823
9880
|
export interface SetCookieResponse {
|
|
@@ -10625,6 +10682,24 @@ export namespace Protocol {
|
|
|
10625
10682
|
crossAlignment?: LineStyle;
|
|
10626
10683
|
}
|
|
10627
10684
|
|
|
10685
|
+
/**
|
|
10686
|
+
* Configuration data for the highlighting of Flex item elements.
|
|
10687
|
+
*/
|
|
10688
|
+
export interface FlexItemHighlightConfig {
|
|
10689
|
+
/**
|
|
10690
|
+
* Style of the box representing the item's base size
|
|
10691
|
+
*/
|
|
10692
|
+
baseSizeBox?: BoxStyle;
|
|
10693
|
+
/**
|
|
10694
|
+
* Style of the border around the box representing the item's base size
|
|
10695
|
+
*/
|
|
10696
|
+
baseSizeBorder?: LineStyle;
|
|
10697
|
+
/**
|
|
10698
|
+
* Style of the arrow representing if the item grew or shrank
|
|
10699
|
+
*/
|
|
10700
|
+
flexibilityArrow?: LineStyle;
|
|
10701
|
+
}
|
|
10702
|
+
|
|
10628
10703
|
export const enum LineStylePattern {
|
|
10629
10704
|
Dashed = 'dashed',
|
|
10630
10705
|
Dotted = 'dotted',
|
|
@@ -10728,6 +10803,10 @@ export namespace Protocol {
|
|
|
10728
10803
|
* The flex container highlight configuration (default: all transparent).
|
|
10729
10804
|
*/
|
|
10730
10805
|
flexContainerHighlightConfig?: FlexContainerHighlightConfig;
|
|
10806
|
+
/**
|
|
10807
|
+
* The flex item highlight configuration (default: all transparent).
|
|
10808
|
+
*/
|
|
10809
|
+
flexItemHighlightConfig?: FlexItemHighlightConfig;
|
|
10731
10810
|
/**
|
|
10732
10811
|
* The contrast algorithm to use for the contrast ratio (default: aa).
|
|
10733
10812
|
*/
|
|
@@ -11094,6 +11173,28 @@ export namespace Protocol {
|
|
|
11094
11173
|
|
|
11095
11174
|
export type GatedAPIFeatures = ('SharedArrayBuffers' | 'SharedArrayBuffersTransferAllowed' | 'PerformanceMeasureMemory' | 'PerformanceProfile');
|
|
11096
11175
|
|
|
11176
|
+
/**
|
|
11177
|
+
* All Permissions Policy features. This enum should match the one defined
|
|
11178
|
+
* in renderer/core/feature_policy/feature_policy_features.json5.
|
|
11179
|
+
*/
|
|
11180
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'autoplay' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-lang' | 'ch-rtt' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full-version' | 'ch-ua-platform-version' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'conversion-measurement' | 'cross-origin-isolated' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'idle-detection' | 'interest-cohort' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'screen-wake-lock' | 'serial' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'usb' | 'vertical-scroll' | 'web-share' | 'xr-spatial-tracking');
|
|
11181
|
+
|
|
11182
|
+
/**
|
|
11183
|
+
* Reason for a permissions policy feature to be disabled.
|
|
11184
|
+
*/
|
|
11185
|
+
export type PermissionsPolicyBlockReason = ('Header' | 'IframeAttribute');
|
|
11186
|
+
|
|
11187
|
+
export interface PermissionsPolicyBlockLocator {
|
|
11188
|
+
frameId: FrameId;
|
|
11189
|
+
blockReason: PermissionsPolicyBlockReason;
|
|
11190
|
+
}
|
|
11191
|
+
|
|
11192
|
+
export interface PermissionsPolicyFeatureState {
|
|
11193
|
+
feature: PermissionsPolicyFeature;
|
|
11194
|
+
allowed: boolean;
|
|
11195
|
+
locator?: PermissionsPolicyBlockLocator;
|
|
11196
|
+
}
|
|
11197
|
+
|
|
11097
11198
|
/**
|
|
11098
11199
|
* Information about the Frame on the page.
|
|
11099
11200
|
*/
|
|
@@ -11930,6 +12031,14 @@ export namespace Protocol {
|
|
|
11930
12031
|
enabled: boolean;
|
|
11931
12032
|
}
|
|
11932
12033
|
|
|
12034
|
+
export interface GetPermissionsPolicyStateRequest {
|
|
12035
|
+
frameId: FrameId;
|
|
12036
|
+
}
|
|
12037
|
+
|
|
12038
|
+
export interface GetPermissionsPolicyStateResponse {
|
|
12039
|
+
states: PermissionsPolicyFeatureState[];
|
|
12040
|
+
}
|
|
12041
|
+
|
|
11933
12042
|
export interface SetDeviceMetricsOverrideRequest {
|
|
11934
12043
|
/**
|
|
11935
12044
|
* Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.
|