devtools-protocol 0.0.1011705 → 0.0.1023572
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/README.md +2 -3
- package/json/browser_protocol.json +132 -8
- package/json/js_protocol.json +25 -3
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +61 -2
- package/pdl/js_protocol.pdl +22 -5
- package/types/protocol-mapping.d.ts +26 -0
- package/types/protocol-proxy-api.d.ts +23 -0
- package/types/protocol.d.ts +98 -9
package/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# devtools-protocol
|
1
|
+
# devtools-protocol [](https://www.npmjs.com/package/devtools-protocol)
|
2
2
|
|
3
3
|
:warning:
|
4
4
|
This repository is related to Chrome DevTools Protocol, but does not track issues regarding its definition or implementation.
|
@@ -8,5 +8,4 @@ Use the [protocol viewer](https://chromedevtools.github.io/devtools-protocol/) f
|
|
8
8
|
|
9
9
|
TypeScript definitions for the protocol's types are available in ['types/protocol.d.ts'](https://github.com/ChromeDevTools/devtools-protocol/tree/master/types). Mappings from Commands and events to these types are available in either generated `DomainApi` style in [`types/protocol-proxy-api.d.ts`](https://github.com/ChromeDevTools/devtools-protocol/blob/master/types/protocol-proxy-api.d.ts) or in simple name-to-type-interface style in [`types/protocol-mapping.d.ts`](https://github.com/ChromeDevTools/devtools-protocol/blob/master/types/protocol-mapping.d.ts).
|
10
10
|
|
11
|
-
Also, this repo is published as the [`devtools-protocol`](https://www.npmjs.com/package/devtools-protocol)
|
12
|
-

|
11
|
+
Also, this repo is published as the [`devtools-protocol`](https://www.npmjs.com/package/devtools-protocol) npm module.
|
@@ -1564,6 +1564,7 @@
|
|
1564
1564
|
"GeolocationInsecureOriginDeprecatedNotRemoved",
|
1565
1565
|
"GetUserMediaInsecureOrigin",
|
1566
1566
|
"HostCandidateAttributeGetter",
|
1567
|
+
"IdentityInCanMakePaymentEvent",
|
1567
1568
|
"InsecurePrivateNetworkSubresourceRequest",
|
1568
1569
|
"LegacyConstraintGoogIPv6",
|
1569
1570
|
"LocalCSSFileExtensionRejected",
|
@@ -1573,6 +1574,7 @@
|
|
1573
1574
|
"NotificationInsecureOrigin",
|
1574
1575
|
"NotificationPermissionRequestedIframe",
|
1575
1576
|
"ObsoleteWebRtcCipherSuite",
|
1577
|
+
"OpenWebDatabaseInsecureContext",
|
1576
1578
|
"PictureSourceSrc",
|
1577
1579
|
"PrefixedCancelAnimationFrame",
|
1578
1580
|
"PrefixedRequestAnimationFrame",
|
@@ -2687,6 +2689,12 @@
|
|
2687
2689
|
"description": "Pseudo element type.",
|
2688
2690
|
"$ref": "DOM.PseudoType"
|
2689
2691
|
},
|
2692
|
+
{
|
2693
|
+
"name": "pseudoIdentifier",
|
2694
|
+
"description": "Pseudo element custom ident.",
|
2695
|
+
"optional": true,
|
2696
|
+
"type": "string"
|
2697
|
+
},
|
2690
2698
|
{
|
2691
2699
|
"name": "matches",
|
2692
2700
|
"description": "Matches of CSS rules applicable to the pseudo style.",
|
@@ -2950,6 +2958,16 @@
|
|
2950
2958
|
"items": {
|
2951
2959
|
"$ref": "CSSLayer"
|
2952
2960
|
}
|
2961
|
+
},
|
2962
|
+
{
|
2963
|
+
"name": "scopes",
|
2964
|
+
"description": "@scope CSS at-rule array.\nThe array enumerates @scope at-rules starting with the innermost one, going outwards.",
|
2965
|
+
"experimental": true,
|
2966
|
+
"optional": true,
|
2967
|
+
"type": "array",
|
2968
|
+
"items": {
|
2969
|
+
"$ref": "CSSScope"
|
2970
|
+
}
|
2953
2971
|
}
|
2954
2972
|
]
|
2955
2973
|
},
|
@@ -3304,6 +3322,31 @@
|
|
3304
3322
|
}
|
3305
3323
|
]
|
3306
3324
|
},
|
3325
|
+
{
|
3326
|
+
"id": "CSSScope",
|
3327
|
+
"description": "CSS Scope at-rule descriptor.",
|
3328
|
+
"experimental": true,
|
3329
|
+
"type": "object",
|
3330
|
+
"properties": [
|
3331
|
+
{
|
3332
|
+
"name": "text",
|
3333
|
+
"description": "Scope rule text.",
|
3334
|
+
"type": "string"
|
3335
|
+
},
|
3336
|
+
{
|
3337
|
+
"name": "range",
|
3338
|
+
"description": "The associated rule header range in the enclosing stylesheet (if\navailable).",
|
3339
|
+
"optional": true,
|
3340
|
+
"$ref": "SourceRange"
|
3341
|
+
},
|
3342
|
+
{
|
3343
|
+
"name": "styleSheetId",
|
3344
|
+
"description": "Identifier of the stylesheet containing this object (if exists).",
|
3345
|
+
"optional": true,
|
3346
|
+
"$ref": "StyleSheetId"
|
3347
|
+
}
|
3348
|
+
]
|
3349
|
+
},
|
3307
3350
|
{
|
3308
3351
|
"id": "CSSLayer",
|
3309
3352
|
"description": "CSS Layer at-rule descriptor.",
|
@@ -3440,6 +3483,11 @@
|
|
3440
3483
|
"description": "The font-stretch.",
|
3441
3484
|
"type": "string"
|
3442
3485
|
},
|
3486
|
+
{
|
3487
|
+
"name": "fontDisplay",
|
3488
|
+
"description": "The font-display.",
|
3489
|
+
"type": "string"
|
3490
|
+
},
|
3443
3491
|
{
|
3444
3492
|
"name": "unicodeRange",
|
3445
3493
|
"description": "The unicode-range.",
|
@@ -3774,6 +3822,13 @@
|
|
3774
3822
|
"items": {
|
3775
3823
|
"$ref": "CSSKeyframesRule"
|
3776
3824
|
}
|
3825
|
+
},
|
3826
|
+
{
|
3827
|
+
"name": "parentLayoutNodeId",
|
3828
|
+
"description": "Id of the first parent element that does not have display: contents.",
|
3829
|
+
"experimental": true,
|
3830
|
+
"optional": true,
|
3831
|
+
"$ref": "DOM.NodeId"
|
3777
3832
|
}
|
3778
3833
|
]
|
3779
3834
|
},
|
@@ -3994,6 +4049,32 @@
|
|
3994
4049
|
}
|
3995
4050
|
]
|
3996
4051
|
},
|
4052
|
+
{
|
4053
|
+
"name": "setScopeText",
|
4054
|
+
"description": "Modifies the expression of a scope at-rule.",
|
4055
|
+
"experimental": true,
|
4056
|
+
"parameters": [
|
4057
|
+
{
|
4058
|
+
"name": "styleSheetId",
|
4059
|
+
"$ref": "StyleSheetId"
|
4060
|
+
},
|
4061
|
+
{
|
4062
|
+
"name": "range",
|
4063
|
+
"$ref": "SourceRange"
|
4064
|
+
},
|
4065
|
+
{
|
4066
|
+
"name": "text",
|
4067
|
+
"type": "string"
|
4068
|
+
}
|
4069
|
+
],
|
4070
|
+
"returns": [
|
4071
|
+
{
|
4072
|
+
"name": "scope",
|
4073
|
+
"description": "The resulting CSS Scope rule after modification.",
|
4074
|
+
"$ref": "CSSScope"
|
4075
|
+
}
|
4076
|
+
]
|
4077
|
+
},
|
3997
4078
|
{
|
3998
4079
|
"name": "setRuleSelector",
|
3999
4080
|
"description": "Modifies the rule selector.",
|
@@ -4731,6 +4812,12 @@
|
|
4731
4812
|
"optional": true,
|
4732
4813
|
"$ref": "PseudoType"
|
4733
4814
|
},
|
4815
|
+
{
|
4816
|
+
"name": "pseudoIdentifier",
|
4817
|
+
"description": "Pseudo element identifier for this node. Only present if there is a\nvalid pseudoType.",
|
4818
|
+
"optional": true,
|
4819
|
+
"type": "string"
|
4820
|
+
},
|
4734
4821
|
{
|
4735
4822
|
"name": "shadowRootType",
|
4736
4823
|
"description": "Shadow root type.",
|
@@ -5619,6 +5706,21 @@
|
|
5619
5706
|
}
|
5620
5707
|
]
|
5621
5708
|
},
|
5709
|
+
{
|
5710
|
+
"name": "getTopLayerElements",
|
5711
|
+
"description": "Returns NodeIds of current top layer elements.\nTop layer is rendered closest to the user within a viewport, therefore its elements always\nappear on top of all other content.",
|
5712
|
+
"experimental": true,
|
5713
|
+
"returns": [
|
5714
|
+
{
|
5715
|
+
"name": "nodeIds",
|
5716
|
+
"description": "NodeIds of top layer elements",
|
5717
|
+
"type": "array",
|
5718
|
+
"items": {
|
5719
|
+
"$ref": "NodeId"
|
5720
|
+
}
|
5721
|
+
}
|
5722
|
+
]
|
5723
|
+
},
|
5622
5724
|
{
|
5623
5725
|
"name": "redo",
|
5624
5726
|
"description": "Re-does the last undone action.",
|
@@ -6160,6 +6262,11 @@
|
|
6160
6262
|
}
|
6161
6263
|
]
|
6162
6264
|
},
|
6265
|
+
{
|
6266
|
+
"name": "topLayerElementsUpdated",
|
6267
|
+
"description": "Called when top layer elements are changed.",
|
6268
|
+
"experimental": true
|
6269
|
+
},
|
6163
6270
|
{
|
6164
6271
|
"name": "pseudoElementRemoved",
|
6165
6272
|
"description": "Called when a pseudo element is removed from an element.",
|
@@ -7074,6 +7181,12 @@
|
|
7074
7181
|
"optional": true,
|
7075
7182
|
"$ref": "RareStringData"
|
7076
7183
|
},
|
7184
|
+
{
|
7185
|
+
"name": "pseudoIdentifier",
|
7186
|
+
"description": "Pseudo element identifier for this node. Only present if there is a\nvalid pseudoType.",
|
7187
|
+
"optional": true,
|
7188
|
+
"$ref": "RareStringData"
|
7189
|
+
},
|
7077
7190
|
{
|
7078
7191
|
"name": "isClickable",
|
7079
7192
|
"description": "Whether this DOM node responds to mouse clicks. This includes nodes that have had click\nevent listeners attached via JavaScript as well as anchor tags that naturally navigate when\nclicked.",
|
@@ -15057,6 +15170,7 @@
|
|
15057
15170
|
"encrypted-media",
|
15058
15171
|
"execution-while-out-of-viewport",
|
15059
15172
|
"execution-while-not-rendered",
|
15173
|
+
"federated-credentials",
|
15060
15174
|
"focus-without-user-activation",
|
15061
15175
|
"fullscreen",
|
15062
15176
|
"frobulate",
|
@@ -15098,7 +15212,8 @@
|
|
15098
15212
|
"enum": [
|
15099
15213
|
"Header",
|
15100
15214
|
"IframeAttribute",
|
15101
|
-
"InFencedFrameTree"
|
15215
|
+
"InFencedFrameTree",
|
15216
|
+
"InIsolatedApp"
|
15102
15217
|
]
|
15103
15218
|
},
|
15104
15219
|
{
|
@@ -16126,7 +16241,9 @@
|
|
16126
16241
|
"TriggerBackgrounded",
|
16127
16242
|
"EmbedderTriggeredAndSameOriginRedirected",
|
16128
16243
|
"EmbedderTriggeredAndCrossOriginRedirected",
|
16129
|
-
"EmbedderTriggeredAndDestroyed"
|
16244
|
+
"EmbedderTriggeredAndDestroyed",
|
16245
|
+
"MemoryLimitExceeded",
|
16246
|
+
"FailToGetMemoryUsage"
|
16130
16247
|
]
|
16131
16248
|
}
|
16132
16249
|
],
|
@@ -17315,12 +17432,6 @@
|
|
17315
17432
|
"experimental": true,
|
17316
17433
|
"$ref": "FrameId"
|
17317
17434
|
},
|
17318
|
-
{
|
17319
|
-
"name": "backendNodeId",
|
17320
|
-
"description": "Input node id.",
|
17321
|
-
"experimental": true,
|
17322
|
-
"$ref": "DOM.BackendNodeId"
|
17323
|
-
},
|
17324
17435
|
{
|
17325
17436
|
"name": "mode",
|
17326
17437
|
"description": "Input mode.",
|
@@ -17329,6 +17440,13 @@
|
|
17329
17440
|
"selectSingle",
|
17330
17441
|
"selectMultiple"
|
17331
17442
|
]
|
17443
|
+
},
|
17444
|
+
{
|
17445
|
+
"name": "backendNodeId",
|
17446
|
+
"description": "Input node id. Only present for file choosers opened via an <input type=\"file\"> element.",
|
17447
|
+
"experimental": true,
|
17448
|
+
"optional": true,
|
17449
|
+
"$ref": "DOM.BackendNodeId"
|
17332
17450
|
}
|
17333
17451
|
]
|
17334
17452
|
},
|
@@ -20193,6 +20311,12 @@
|
|
20193
20311
|
"echoToConsole"
|
20194
20312
|
]
|
20195
20313
|
},
|
20314
|
+
{
|
20315
|
+
"name": "traceBufferSizeInKb",
|
20316
|
+
"description": "Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value\nof 200 MB would be used.",
|
20317
|
+
"optional": true,
|
20318
|
+
"type": "number"
|
20319
|
+
},
|
20196
20320
|
{
|
20197
20321
|
"name": "enableSampling",
|
20198
20322
|
"description": "Turns on JavaScript stack sampling.",
|
package/json/js_protocol.json
CHANGED
@@ -918,7 +918,7 @@
|
|
918
918
|
},
|
919
919
|
{
|
920
920
|
"name": "setScriptSource",
|
921
|
-
"description": "Edits JavaScript source live.",
|
921
|
+
"description": "Edits JavaScript source live.\n\nIn general, functions that are currently on the stack can not be edited with\na single exception: If the edited function is the top-most stack frame and\nthat is the only activation of that function on the stack. In this case\nthe live edit will be successful and a `Debugger.restartFrame` for the\ntop-most function is automatically triggered.",
|
922
922
|
"parameters": [
|
923
923
|
{
|
924
924
|
"name": "scriptId",
|
@@ -935,12 +935,20 @@
|
|
935
935
|
"description": "If true the change will not actually be applied. Dry run may be used to get result\ndescription without actually modifying the code.",
|
936
936
|
"optional": true,
|
937
937
|
"type": "boolean"
|
938
|
+
},
|
939
|
+
{
|
940
|
+
"name": "allowTopFrameEditing",
|
941
|
+
"description": "If true, then `scriptSource` is allowed to change the function on top of the stack\nas long as the top-most stack frame is the only activation of that function.",
|
942
|
+
"experimental": true,
|
943
|
+
"optional": true,
|
944
|
+
"type": "boolean"
|
938
945
|
}
|
939
946
|
],
|
940
947
|
"returns": [
|
941
948
|
{
|
942
949
|
"name": "callFrames",
|
943
950
|
"description": "New stack trace in case editing has happened while VM was stopped.",
|
951
|
+
"deprecated": true,
|
944
952
|
"optional": true,
|
945
953
|
"type": "array",
|
946
954
|
"items": {
|
@@ -950,25 +958,39 @@
|
|
950
958
|
{
|
951
959
|
"name": "stackChanged",
|
952
960
|
"description": "Whether current call stack was modified after applying the changes.",
|
961
|
+
"deprecated": true,
|
953
962
|
"optional": true,
|
954
963
|
"type": "boolean"
|
955
964
|
},
|
956
965
|
{
|
957
966
|
"name": "asyncStackTrace",
|
958
967
|
"description": "Async stack trace, if any.",
|
968
|
+
"deprecated": true,
|
959
969
|
"optional": true,
|
960
970
|
"$ref": "Runtime.StackTrace"
|
961
971
|
},
|
962
972
|
{
|
963
973
|
"name": "asyncStackTraceId",
|
964
974
|
"description": "Async stack trace, if any.",
|
965
|
-
"
|
975
|
+
"deprecated": true,
|
966
976
|
"optional": true,
|
967
977
|
"$ref": "Runtime.StackTraceId"
|
968
978
|
},
|
979
|
+
{
|
980
|
+
"name": "status",
|
981
|
+
"description": "Whether the operation was successful or not. Only `Ok` denotes a\nsuccessful live edit while the other enum variants denote why\nthe live edit failed.",
|
982
|
+
"experimental": true,
|
983
|
+
"type": "string",
|
984
|
+
"enum": [
|
985
|
+
"Ok",
|
986
|
+
"CompileError",
|
987
|
+
"BlockedByActiveGenerator",
|
988
|
+
"BlockedByActiveFunction"
|
989
|
+
]
|
990
|
+
},
|
969
991
|
{
|
970
992
|
"name": "exceptionDetails",
|
971
|
-
"description": "Exception details if any.",
|
993
|
+
"description": "Exception details if any. Only present when `status` is `CompileError`.",
|
972
994
|
"optional": true,
|
973
995
|
"$ref": "Runtime.ExceptionDetails"
|
974
996
|
}
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -758,6 +758,7 @@ experimental domain Audits
|
|
758
758
|
GeolocationInsecureOriginDeprecatedNotRemoved
|
759
759
|
GetUserMediaInsecureOrigin
|
760
760
|
HostCandidateAttributeGetter
|
761
|
+
IdentityInCanMakePaymentEvent
|
761
762
|
InsecurePrivateNetworkSubresourceRequest
|
762
763
|
LegacyConstraintGoogIPv6
|
763
764
|
LocalCSSFileExtensionRejected
|
@@ -767,6 +768,7 @@ experimental domain Audits
|
|
767
768
|
NotificationInsecureOrigin
|
768
769
|
NotificationPermissionRequestedIframe
|
769
770
|
ObsoleteWebRtcCipherSuite
|
771
|
+
OpenWebDatabaseInsecureContext
|
770
772
|
PictureSourceSrc
|
771
773
|
PrefixedCancelAnimationFrame
|
772
774
|
PrefixedRequestAnimationFrame
|
@@ -1330,6 +1332,8 @@ experimental domain CSS
|
|
1330
1332
|
properties
|
1331
1333
|
# Pseudo element type.
|
1332
1334
|
DOM.PseudoType pseudoType
|
1335
|
+
# Pseudo element custom ident.
|
1336
|
+
optional string pseudoIdentifier
|
1333
1337
|
# Matches of CSS rules applicable to the pseudo style.
|
1334
1338
|
array of RuleMatch matches
|
1335
1339
|
|
@@ -1440,6 +1444,9 @@ experimental domain CSS
|
|
1440
1444
|
# Cascade layer array. Contains the layer hierarchy that this rule belongs to starting
|
1441
1445
|
# with the innermost layer and going outwards.
|
1442
1446
|
experimental optional array of CSSLayer layers
|
1447
|
+
# @scope CSS at-rule array.
|
1448
|
+
# The array enumerates @scope at-rules starting with the innermost one, going outwards.
|
1449
|
+
experimental optional array of CSSScope scopes
|
1443
1450
|
|
1444
1451
|
# CSS coverage information.
|
1445
1452
|
type RuleUsage extends object
|
@@ -1589,6 +1596,17 @@ experimental domain CSS
|
|
1589
1596
|
# Identifier of the stylesheet containing this object (if exists).
|
1590
1597
|
optional StyleSheetId styleSheetId
|
1591
1598
|
|
1599
|
+
# CSS Scope at-rule descriptor.
|
1600
|
+
experimental type CSSScope extends object
|
1601
|
+
properties
|
1602
|
+
# Scope rule text.
|
1603
|
+
string text
|
1604
|
+
# The associated rule header range in the enclosing stylesheet (if
|
1605
|
+
# available).
|
1606
|
+
optional SourceRange range
|
1607
|
+
# Identifier of the stylesheet containing this object (if exists).
|
1608
|
+
optional StyleSheetId styleSheetId
|
1609
|
+
|
1592
1610
|
# CSS Layer at-rule descriptor.
|
1593
1611
|
experimental type CSSLayer extends object
|
1594
1612
|
properties
|
@@ -1649,6 +1667,8 @@ experimental domain CSS
|
|
1649
1667
|
string fontWeight
|
1650
1668
|
# The font-stretch.
|
1651
1669
|
string fontStretch
|
1670
|
+
# The font-display.
|
1671
|
+
string fontDisplay
|
1652
1672
|
# The unicode-range.
|
1653
1673
|
string unicodeRange
|
1654
1674
|
# The src.
|
@@ -1791,6 +1811,8 @@ experimental domain CSS
|
|
1791
1811
|
optional array of InheritedPseudoElementMatches inheritedPseudoElements
|
1792
1812
|
# A list of CSS keyframed animations matching this node.
|
1793
1813
|
optional array of CSSKeyframesRule cssKeyframesRules
|
1814
|
+
# Id of the first parent element that does not have display: contents.
|
1815
|
+
experimental optional DOM.NodeId parentLayoutNodeId
|
1794
1816
|
|
1795
1817
|
# Returns all media queries parsed by the rendering engine.
|
1796
1818
|
command getMediaQueries
|
@@ -1889,6 +1911,16 @@ experimental domain CSS
|
|
1889
1911
|
# The resulting CSS Supports rule after modification.
|
1890
1912
|
CSSSupports supports
|
1891
1913
|
|
1914
|
+
# Modifies the expression of a scope at-rule.
|
1915
|
+
experimental command setScopeText
|
1916
|
+
parameters
|
1917
|
+
StyleSheetId styleSheetId
|
1918
|
+
SourceRange range
|
1919
|
+
string text
|
1920
|
+
returns
|
1921
|
+
# The resulting CSS Scope rule after modification.
|
1922
|
+
CSSScope scope
|
1923
|
+
|
1892
1924
|
# Modifies the rule selector.
|
1893
1925
|
command setRuleSelector
|
1894
1926
|
parameters
|
@@ -2248,6 +2280,9 @@ domain DOM
|
|
2248
2280
|
optional string value
|
2249
2281
|
# Pseudo element type for this node.
|
2250
2282
|
optional PseudoType pseudoType
|
2283
|
+
# Pseudo element identifier for this node. Only present if there is a
|
2284
|
+
# valid pseudoType.
|
2285
|
+
optional string pseudoIdentifier
|
2251
2286
|
# Shadow root type.
|
2252
2287
|
optional ShadowRootType shadowRootType
|
2253
2288
|
# Frame ID for frame owner elements.
|
@@ -2643,6 +2678,14 @@ domain DOM
|
|
2643
2678
|
# Query selector result.
|
2644
2679
|
array of NodeId nodeIds
|
2645
2680
|
|
2681
|
+
# Returns NodeIds of current top layer elements.
|
2682
|
+
# Top layer is rendered closest to the user within a viewport, therefore its elements always
|
2683
|
+
# appear on top of all other content.
|
2684
|
+
experimental command getTopLayerElements
|
2685
|
+
returns
|
2686
|
+
# NodeIds of top layer elements
|
2687
|
+
array of NodeId nodeIds
|
2688
|
+
|
2646
2689
|
# Re-does the last undone action.
|
2647
2690
|
experimental command redo
|
2648
2691
|
|
@@ -2903,6 +2946,9 @@ domain DOM
|
|
2903
2946
|
# The added pseudo element.
|
2904
2947
|
Node pseudoElement
|
2905
2948
|
|
2949
|
+
# Called when top layer elements are changed.
|
2950
|
+
experimental event topLayerElementsUpdated
|
2951
|
+
|
2906
2952
|
# Called when a pseudo element is removed from an element.
|
2907
2953
|
experimental event pseudoElementRemoved
|
2908
2954
|
parameters
|
@@ -3280,6 +3326,9 @@ experimental domain DOMSnapshot
|
|
3280
3326
|
optional RareIntegerData contentDocumentIndex
|
3281
3327
|
# Type of a pseudo element node.
|
3282
3328
|
optional RareStringData pseudoType
|
3329
|
+
# Pseudo element identifier for this node. Only present if there is a
|
3330
|
+
# valid pseudoType.
|
3331
|
+
optional RareStringData pseudoIdentifier
|
3283
3332
|
# Whether this DOM node responds to mouse clicks. This includes nodes that have had click
|
3284
3333
|
# event listeners attached via JavaScript as well as anchor tags that naturally navigate when
|
3285
3334
|
# clicked.
|
@@ -7036,6 +7085,7 @@ domain Page
|
|
7036
7085
|
encrypted-media
|
7037
7086
|
execution-while-out-of-viewport
|
7038
7087
|
execution-while-not-rendered
|
7088
|
+
federated-credentials
|
7039
7089
|
focus-without-user-activation
|
7040
7090
|
fullscreen
|
7041
7091
|
frobulate
|
@@ -7077,6 +7127,8 @@ domain Page
|
|
7077
7127
|
IframeAttribute
|
7078
7128
|
# Inside fenced frame.
|
7079
7129
|
InFencedFrameTree
|
7130
|
+
# Inside an Isolated Application.
|
7131
|
+
InIsolatedApp
|
7080
7132
|
|
7081
7133
|
experimental type PermissionsPolicyBlockLocator extends object
|
7082
7134
|
properties
|
@@ -7982,12 +8034,12 @@ domain Page
|
|
7982
8034
|
parameters
|
7983
8035
|
# Id of the frame containing input node.
|
7984
8036
|
experimental FrameId frameId
|
7985
|
-
# Input node id.
|
7986
|
-
experimental DOM.BackendNodeId backendNodeId
|
7987
8037
|
# Input mode.
|
7988
8038
|
enum mode
|
7989
8039
|
selectSingle
|
7990
8040
|
selectMultiple
|
8041
|
+
# Input node id. Only present for file choosers opened via an <input type="file"> element.
|
8042
|
+
experimental optional DOM.BackendNodeId backendNodeId
|
7991
8043
|
|
7992
8044
|
# Fired when frame has been attached to its parent.
|
7993
8045
|
event frameAttached
|
@@ -8360,6 +8412,10 @@ domain Page
|
|
8360
8412
|
EmbedderTriggeredAndSameOriginRedirected
|
8361
8413
|
EmbedderTriggeredAndCrossOriginRedirected
|
8362
8414
|
EmbedderTriggeredAndDestroyed
|
8415
|
+
MemoryLimitExceeded
|
8416
|
+
# Prerenders can be cancelled when Chrome uses excessive memory. This is
|
8417
|
+
# recorded when it fails to get the memory usage.
|
8418
|
+
FailToGetMemoryUsage
|
8363
8419
|
|
8364
8420
|
# Fired when a prerender attempt is completed.
|
8365
8421
|
event prerenderAttemptCompleted
|
@@ -9493,6 +9549,9 @@ experimental domain Tracing
|
|
9493
9549
|
recordContinuously
|
9494
9550
|
recordAsMuchAsPossible
|
9495
9551
|
echoToConsole
|
9552
|
+
# Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value
|
9553
|
+
# of 200 MB would be used.
|
9554
|
+
optional number traceBufferSizeInKb
|
9496
9555
|
# Turns on JavaScript stack sampling.
|
9497
9556
|
optional boolean enableSampling
|
9498
9557
|
# Turns on system tracing.
|
package/pdl/js_protocol.pdl
CHANGED
@@ -441,6 +441,12 @@ domain Debugger
|
|
441
441
|
Runtime.CallArgument newValue
|
442
442
|
|
443
443
|
# Edits JavaScript source live.
|
444
|
+
#
|
445
|
+
# In general, functions that are currently on the stack can not be edited with
|
446
|
+
# a single exception: If the edited function is the top-most stack frame and
|
447
|
+
# that is the only activation of that function on the stack. In this case
|
448
|
+
# the live edit will be successful and a `Debugger.restartFrame` for the
|
449
|
+
# top-most function is automatically triggered.
|
444
450
|
command setScriptSource
|
445
451
|
parameters
|
446
452
|
# Id of the script to edit.
|
@@ -450,16 +456,27 @@ domain Debugger
|
|
450
456
|
# If true the change will not actually be applied. Dry run may be used to get result
|
451
457
|
# description without actually modifying the code.
|
452
458
|
optional boolean dryRun
|
459
|
+
# If true, then `scriptSource` is allowed to change the function on top of the stack
|
460
|
+
# as long as the top-most stack frame is the only activation of that function.
|
461
|
+
experimental optional boolean allowTopFrameEditing
|
453
462
|
returns
|
454
463
|
# New stack trace in case editing has happened while VM was stopped.
|
455
|
-
optional array of CallFrame callFrames
|
464
|
+
deprecated optional array of CallFrame callFrames
|
456
465
|
# Whether current call stack was modified after applying the changes.
|
457
|
-
optional boolean stackChanged
|
466
|
+
deprecated optional boolean stackChanged
|
458
467
|
# Async stack trace, if any.
|
459
|
-
optional Runtime.StackTrace asyncStackTrace
|
468
|
+
deprecated optional Runtime.StackTrace asyncStackTrace
|
460
469
|
# Async stack trace, if any.
|
461
|
-
|
462
|
-
#
|
470
|
+
deprecated optional Runtime.StackTraceId asyncStackTraceId
|
471
|
+
# Whether the operation was successful or not. Only `Ok` denotes a
|
472
|
+
# successful live edit while the other enum variants denote why
|
473
|
+
# the live edit failed.
|
474
|
+
experimental enum status
|
475
|
+
Ok
|
476
|
+
CompileError
|
477
|
+
BlockedByActiveGenerator
|
478
|
+
BlockedByActiveFunction
|
479
|
+
# Exception details if any. Only present when `status` is `CompileError`.
|
463
480
|
optional Runtime.ExceptionDetails exceptionDetails
|
464
481
|
|
465
482
|
# Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).
|
@@ -203,6 +203,10 @@ export namespace ProtocolMapping {
|
|
203
203
|
* Called when a pseudo element is added to an element.
|
204
204
|
*/
|
205
205
|
'DOM.pseudoElementAdded': [Protocol.DOM.PseudoElementAddedEvent];
|
206
|
+
/**
|
207
|
+
* Called when top layer elements are changed.
|
208
|
+
*/
|
209
|
+
'DOM.topLayerElementsUpdated': [];
|
206
210
|
/**
|
207
211
|
* Called when a pseudo element is removed from an element.
|
208
212
|
*/
|
@@ -910,6 +914,12 @@ export namespace ProtocolMapping {
|
|
910
914
|
};
|
911
915
|
/**
|
912
916
|
* Edits JavaScript source live.
|
917
|
+
*
|
918
|
+
* In general, functions that are currently on the stack can not be edited with
|
919
|
+
* a single exception: If the edited function is the top-most stack frame and
|
920
|
+
* that is the only activation of that function on the stack. In this case
|
921
|
+
* the live edit will be successful and a `Debugger.restartFrame` for the
|
922
|
+
* top-most function is automatically triggered.
|
913
923
|
*/
|
914
924
|
'Debugger.setScriptSource': {
|
915
925
|
paramsType: [Protocol.Debugger.SetScriptSourceRequest];
|
@@ -1726,6 +1736,13 @@ export namespace ProtocolMapping {
|
|
1726
1736
|
paramsType: [Protocol.CSS.SetSupportsTextRequest];
|
1727
1737
|
returnType: Protocol.CSS.SetSupportsTextResponse;
|
1728
1738
|
};
|
1739
|
+
/**
|
1740
|
+
* Modifies the expression of a scope at-rule.
|
1741
|
+
*/
|
1742
|
+
'CSS.setScopeText': {
|
1743
|
+
paramsType: [Protocol.CSS.SetScopeTextRequest];
|
1744
|
+
returnType: Protocol.CSS.SetScopeTextResponse;
|
1745
|
+
};
|
1729
1746
|
/**
|
1730
1747
|
* Modifies the rule selector.
|
1731
1748
|
*/
|
@@ -2066,6 +2083,15 @@ export namespace ProtocolMapping {
|
|
2066
2083
|
paramsType: [Protocol.DOM.QuerySelectorAllRequest];
|
2067
2084
|
returnType: Protocol.DOM.QuerySelectorAllResponse;
|
2068
2085
|
};
|
2086
|
+
/**
|
2087
|
+
* Returns NodeIds of current top layer elements.
|
2088
|
+
* Top layer is rendered closest to the user within a viewport, therefore its elements always
|
2089
|
+
* appear on top of all other content.
|
2090
|
+
*/
|
2091
|
+
'DOM.getTopLayerElements': {
|
2092
|
+
paramsType: [];
|
2093
|
+
returnType: Protocol.DOM.GetTopLayerElementsResponse;
|
2094
|
+
};
|
2069
2095
|
/**
|
2070
2096
|
* Re-does the last undone action.
|
2071
2097
|
*/
|
@@ -274,6 +274,12 @@ export namespace ProtocolProxyApi {
|
|
274
274
|
|
275
275
|
/**
|
276
276
|
* Edits JavaScript source live.
|
277
|
+
*
|
278
|
+
* In general, functions that are currently on the stack can not be edited with
|
279
|
+
* a single exception: If the edited function is the top-most stack frame and
|
280
|
+
* that is the only activation of that function on the stack. In this case
|
281
|
+
* the live edit will be successful and a `Debugger.restartFrame` for the
|
282
|
+
* top-most function is automatically triggered.
|
277
283
|
*/
|
278
284
|
setScriptSource(params: Protocol.Debugger.SetScriptSourceRequest): Promise<Protocol.Debugger.SetScriptSourceResponse>;
|
279
285
|
|
@@ -1033,6 +1039,11 @@ export namespace ProtocolProxyApi {
|
|
1033
1039
|
*/
|
1034
1040
|
setSupportsText(params: Protocol.CSS.SetSupportsTextRequest): Promise<Protocol.CSS.SetSupportsTextResponse>;
|
1035
1041
|
|
1042
|
+
/**
|
1043
|
+
* Modifies the expression of a scope at-rule.
|
1044
|
+
*/
|
1045
|
+
setScopeText(params: Protocol.CSS.SetScopeTextRequest): Promise<Protocol.CSS.SetScopeTextResponse>;
|
1046
|
+
|
1036
1047
|
/**
|
1037
1048
|
* Modifies the rule selector.
|
1038
1049
|
*/
|
@@ -1329,6 +1340,13 @@ export namespace ProtocolProxyApi {
|
|
1329
1340
|
*/
|
1330
1341
|
querySelectorAll(params: Protocol.DOM.QuerySelectorAllRequest): Promise<Protocol.DOM.QuerySelectorAllResponse>;
|
1331
1342
|
|
1343
|
+
/**
|
1344
|
+
* Returns NodeIds of current top layer elements.
|
1345
|
+
* Top layer is rendered closest to the user within a viewport, therefore its elements always
|
1346
|
+
* appear on top of all other content.
|
1347
|
+
*/
|
1348
|
+
getTopLayerElements(): Promise<Protocol.DOM.GetTopLayerElementsResponse>;
|
1349
|
+
|
1332
1350
|
/**
|
1333
1351
|
* Re-does the last undone action.
|
1334
1352
|
*/
|
@@ -1489,6 +1507,11 @@ export namespace ProtocolProxyApi {
|
|
1489
1507
|
*/
|
1490
1508
|
on(event: 'pseudoElementAdded', listener: (params: Protocol.DOM.PseudoElementAddedEvent) => void): void;
|
1491
1509
|
|
1510
|
+
/**
|
1511
|
+
* Called when top layer elements are changed.
|
1512
|
+
*/
|
1513
|
+
on(event: 'topLayerElementsUpdated', listener: () => void): void;
|
1514
|
+
|
1492
1515
|
/**
|
1493
1516
|
* Called when a pseudo element is removed from an element.
|
1494
1517
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -656,6 +656,13 @@ export namespace Protocol {
|
|
656
656
|
newValue: Runtime.CallArgument;
|
657
657
|
}
|
658
658
|
|
659
|
+
export const enum SetScriptSourceResponseStatus {
|
660
|
+
Ok = 'Ok',
|
661
|
+
CompileError = 'CompileError',
|
662
|
+
BlockedByActiveGenerator = 'BlockedByActiveGenerator',
|
663
|
+
BlockedByActiveFunction = 'BlockedByActiveFunction',
|
664
|
+
}
|
665
|
+
|
659
666
|
export interface SetScriptSourceRequest {
|
660
667
|
/**
|
661
668
|
* Id of the script to edit.
|
@@ -670,6 +677,11 @@ export namespace Protocol {
|
|
670
677
|
* description without actually modifying the code.
|
671
678
|
*/
|
672
679
|
dryRun?: boolean;
|
680
|
+
/**
|
681
|
+
* If true, then `scriptSource` is allowed to change the function on top of the stack
|
682
|
+
* as long as the top-most stack frame is the only activation of that function.
|
683
|
+
*/
|
684
|
+
allowTopFrameEditing?: boolean;
|
673
685
|
}
|
674
686
|
|
675
687
|
export interface SetScriptSourceResponse {
|
@@ -690,7 +702,13 @@ export namespace Protocol {
|
|
690
702
|
*/
|
691
703
|
asyncStackTraceId?: Runtime.StackTraceId;
|
692
704
|
/**
|
693
|
-
*
|
705
|
+
* Whether the operation was successful or not. Only `Ok` denotes a
|
706
|
+
* successful live edit while the other enum variants denote why
|
707
|
+
* the live edit failed. (SetScriptSourceResponseStatus enum)
|
708
|
+
*/
|
709
|
+
status: ('Ok' | 'CompileError' | 'BlockedByActiveGenerator' | 'BlockedByActiveFunction');
|
710
|
+
/**
|
711
|
+
* Exception details if any. Only present when `status` is `CompileError`.
|
694
712
|
*/
|
695
713
|
exceptionDetails?: Runtime.ExceptionDetails;
|
696
714
|
}
|
@@ -3399,7 +3417,7 @@ export namespace Protocol {
|
|
3399
3417
|
frameId?: Page.FrameId;
|
3400
3418
|
}
|
3401
3419
|
|
3402
|
-
export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'InsecurePrivateNetworkSubresourceRequest' | 'LegacyConstraintGoogIPv6' | 'LocalCSSFileExtensionRejected' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
|
3420
|
+
export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'IdentityInCanMakePaymentEvent' | 'InsecurePrivateNetworkSubresourceRequest' | 'LegacyConstraintGoogIPv6' | 'LocalCSSFileExtensionRejected' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'OpenWebDatabaseInsecureContext' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
|
3403
3421
|
|
3404
3422
|
/**
|
3405
3423
|
* This issue tracks information needed to print a deprecation message.
|
@@ -4021,6 +4039,10 @@ export namespace Protocol {
|
|
4021
4039
|
* Pseudo element type.
|
4022
4040
|
*/
|
4023
4041
|
pseudoType: DOM.PseudoType;
|
4042
|
+
/**
|
4043
|
+
* Pseudo element custom ident.
|
4044
|
+
*/
|
4045
|
+
pseudoIdentifier?: string;
|
4024
4046
|
/**
|
4025
4047
|
* Matches of CSS rules applicable to the pseudo style.
|
4026
4048
|
*/
|
@@ -4215,6 +4237,11 @@ export namespace Protocol {
|
|
4215
4237
|
* with the innermost layer and going outwards.
|
4216
4238
|
*/
|
4217
4239
|
layers?: CSSLayer[];
|
4240
|
+
/**
|
4241
|
+
* @scope CSS at-rule array.
|
4242
|
+
* The array enumerates @scope at-rules starting with the innermost one, going outwards.
|
4243
|
+
*/
|
4244
|
+
scopes?: CSSScope[];
|
4218
4245
|
}
|
4219
4246
|
|
4220
4247
|
/**
|
@@ -4480,6 +4507,25 @@ export namespace Protocol {
|
|
4480
4507
|
styleSheetId?: StyleSheetId;
|
4481
4508
|
}
|
4482
4509
|
|
4510
|
+
/**
|
4511
|
+
* CSS Scope at-rule descriptor.
|
4512
|
+
*/
|
4513
|
+
export interface CSSScope {
|
4514
|
+
/**
|
4515
|
+
* Scope rule text.
|
4516
|
+
*/
|
4517
|
+
text: string;
|
4518
|
+
/**
|
4519
|
+
* The associated rule header range in the enclosing stylesheet (if
|
4520
|
+
* available).
|
4521
|
+
*/
|
4522
|
+
range?: SourceRange;
|
4523
|
+
/**
|
4524
|
+
* Identifier of the stylesheet containing this object (if exists).
|
4525
|
+
*/
|
4526
|
+
styleSheetId?: StyleSheetId;
|
4527
|
+
}
|
4528
|
+
|
4483
4529
|
/**
|
4484
4530
|
* CSS Layer at-rule descriptor.
|
4485
4531
|
*/
|
@@ -4587,6 +4633,10 @@ export namespace Protocol {
|
|
4587
4633
|
* The font-stretch.
|
4588
4634
|
*/
|
4589
4635
|
fontStretch: string;
|
4636
|
+
/**
|
4637
|
+
* The font-display.
|
4638
|
+
*/
|
4639
|
+
fontDisplay: string;
|
4590
4640
|
/**
|
4591
4641
|
* The unicode-range.
|
4592
4642
|
*/
|
@@ -4804,6 +4854,10 @@ export namespace Protocol {
|
|
4804
4854
|
* A list of CSS keyframed animations matching this node.
|
4805
4855
|
*/
|
4806
4856
|
cssKeyframesRules?: CSSKeyframesRule[];
|
4857
|
+
/**
|
4858
|
+
* Id of the first parent element that does not have display: contents.
|
4859
|
+
*/
|
4860
|
+
parentLayoutNodeId?: DOM.NodeId;
|
4807
4861
|
}
|
4808
4862
|
|
4809
4863
|
export interface GetMediaQueriesResponse {
|
@@ -4912,6 +4966,19 @@ export namespace Protocol {
|
|
4912
4966
|
supports: CSSSupports;
|
4913
4967
|
}
|
4914
4968
|
|
4969
|
+
export interface SetScopeTextRequest {
|
4970
|
+
styleSheetId: StyleSheetId;
|
4971
|
+
range: SourceRange;
|
4972
|
+
text: string;
|
4973
|
+
}
|
4974
|
+
|
4975
|
+
export interface SetScopeTextResponse {
|
4976
|
+
/**
|
4977
|
+
* The resulting CSS Scope rule after modification.
|
4978
|
+
*/
|
4979
|
+
scope: CSSScope;
|
4980
|
+
}
|
4981
|
+
|
4915
4982
|
export interface SetRuleSelectorRequest {
|
4916
4983
|
styleSheetId: StyleSheetId;
|
4917
4984
|
range: SourceRange;
|
@@ -5363,6 +5430,11 @@ export namespace Protocol {
|
|
5363
5430
|
* Pseudo element type for this node.
|
5364
5431
|
*/
|
5365
5432
|
pseudoType?: PseudoType;
|
5433
|
+
/**
|
5434
|
+
* Pseudo element identifier for this node. Only present if there is a
|
5435
|
+
* valid pseudoType.
|
5436
|
+
*/
|
5437
|
+
pseudoIdentifier?: string;
|
5366
5438
|
/**
|
5367
5439
|
* Shadow root type.
|
5368
5440
|
*/
|
@@ -5963,6 +6035,13 @@ export namespace Protocol {
|
|
5963
6035
|
nodeIds: NodeId[];
|
5964
6036
|
}
|
5965
6037
|
|
6038
|
+
export interface GetTopLayerElementsResponse {
|
6039
|
+
/**
|
6040
|
+
* NodeIds of top layer elements
|
6041
|
+
*/
|
6042
|
+
nodeIds: NodeId[];
|
6043
|
+
}
|
6044
|
+
|
5966
6045
|
export interface RemoveAttributeRequest {
|
5967
6046
|
/**
|
5968
6047
|
* Id of the element to remove attribute from.
|
@@ -6944,6 +7023,11 @@ export namespace Protocol {
|
|
6944
7023
|
* Type of a pseudo element node.
|
6945
7024
|
*/
|
6946
7025
|
pseudoType?: RareStringData;
|
7026
|
+
/**
|
7027
|
+
* Pseudo element identifier for this node. Only present if there is a
|
7028
|
+
* valid pseudoType.
|
7029
|
+
*/
|
7030
|
+
pseudoIdentifier?: RareStringData;
|
6947
7031
|
/**
|
6948
7032
|
* Whether this DOM node responds to mouse clicks. This includes nodes that have had click
|
6949
7033
|
* event listeners attached via JavaScript as well as anchor tags that naturally navigate when
|
@@ -12123,12 +12207,12 @@ export namespace Protocol {
|
|
12123
12207
|
* All Permissions Policy features. This enum should match the one defined
|
12124
12208
|
* in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
12125
12209
|
*/
|
12126
|
-
export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'cross-origin-isolated' | 'direct-sockets' | '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' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-placement' | 'xr-spatial-tracking');
|
12210
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'federated-credentials' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-placement' | 'xr-spatial-tracking');
|
12127
12211
|
|
12128
12212
|
/**
|
12129
12213
|
* Reason for a permissions policy feature to be disabled.
|
12130
12214
|
*/
|
12131
|
-
export type PermissionsPolicyBlockReason = ('Header' | 'IframeAttribute' | 'InFencedFrameTree');
|
12215
|
+
export type PermissionsPolicyBlockReason = ('Header' | 'IframeAttribute' | 'InFencedFrameTree' | 'InIsolatedApp');
|
12132
12216
|
|
12133
12217
|
export interface PermissionsPolicyBlockLocator {
|
12134
12218
|
frameId: FrameId;
|
@@ -12664,7 +12748,7 @@ export namespace Protocol {
|
|
12664
12748
|
/**
|
12665
12749
|
* List of FinalStatus reasons for Prerender2.
|
12666
12750
|
*/
|
12667
|
-
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'CrossOriginRedirect' | 'CrossOriginNavigation' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndSameOriginRedirected' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'EmbedderTriggeredAndDestroyed');
|
12751
|
+
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'CrossOriginRedirect' | 'CrossOriginNavigation' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndSameOriginRedirected' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'EmbedderTriggeredAndDestroyed' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage');
|
12668
12752
|
|
12669
12753
|
export interface AddScriptToEvaluateOnLoadRequest {
|
12670
12754
|
scriptSource: string;
|
@@ -13392,14 +13476,14 @@ export namespace Protocol {
|
|
13392
13476
|
* Id of the frame containing input node.
|
13393
13477
|
*/
|
13394
13478
|
frameId: FrameId;
|
13395
|
-
/**
|
13396
|
-
* Input node id.
|
13397
|
-
*/
|
13398
|
-
backendNodeId: DOM.BackendNodeId;
|
13399
13479
|
/**
|
13400
13480
|
* Input mode. (FileChooserOpenedEventMode enum)
|
13401
13481
|
*/
|
13402
13482
|
mode: ('selectSingle' | 'selectMultiple');
|
13483
|
+
/**
|
13484
|
+
* Input node id. Only present for file choosers opened via an <input type="file"> element.
|
13485
|
+
*/
|
13486
|
+
backendNodeId?: DOM.BackendNodeId;
|
13403
13487
|
}
|
13404
13488
|
|
13405
13489
|
/**
|
@@ -15199,6 +15283,11 @@ export namespace Protocol {
|
|
15199
15283
|
* Controls how the trace buffer stores data. (TraceConfigRecordMode enum)
|
15200
15284
|
*/
|
15201
15285
|
recordMode?: ('recordUntilFull' | 'recordContinuously' | 'recordAsMuchAsPossible' | 'echoToConsole');
|
15286
|
+
/**
|
15287
|
+
* Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value
|
15288
|
+
* of 200 MB would be used.
|
15289
|
+
*/
|
15290
|
+
traceBufferSizeInKb?: number;
|
15202
15291
|
/**
|
15203
15292
|
* Turns on JavaScript stack sampling.
|
15204
15293
|
*/
|