devtools-protocol 0.0.1011705 → 0.0.1019158
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/json/browser_protocol.json +122 -7
- package/json/js_protocol.json +25 -3
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +55 -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 +93 -8
@@ -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.",
|
@@ -3994,6 +4042,32 @@
|
|
3994
4042
|
}
|
3995
4043
|
]
|
3996
4044
|
},
|
4045
|
+
{
|
4046
|
+
"name": "setScopeText",
|
4047
|
+
"description": "Modifies the expression of a scope at-rule.",
|
4048
|
+
"experimental": true,
|
4049
|
+
"parameters": [
|
4050
|
+
{
|
4051
|
+
"name": "styleSheetId",
|
4052
|
+
"$ref": "StyleSheetId"
|
4053
|
+
},
|
4054
|
+
{
|
4055
|
+
"name": "range",
|
4056
|
+
"$ref": "SourceRange"
|
4057
|
+
},
|
4058
|
+
{
|
4059
|
+
"name": "text",
|
4060
|
+
"type": "string"
|
4061
|
+
}
|
4062
|
+
],
|
4063
|
+
"returns": [
|
4064
|
+
{
|
4065
|
+
"name": "scope",
|
4066
|
+
"description": "The resulting CSS Scope rule after modification.",
|
4067
|
+
"$ref": "CSSScope"
|
4068
|
+
}
|
4069
|
+
]
|
4070
|
+
},
|
3997
4071
|
{
|
3998
4072
|
"name": "setRuleSelector",
|
3999
4073
|
"description": "Modifies the rule selector.",
|
@@ -4731,6 +4805,12 @@
|
|
4731
4805
|
"optional": true,
|
4732
4806
|
"$ref": "PseudoType"
|
4733
4807
|
},
|
4808
|
+
{
|
4809
|
+
"name": "pseudoIdentifier",
|
4810
|
+
"description": "Pseudo element identifier for this node. Only present if there is a\nvalid pseudoType.",
|
4811
|
+
"optional": true,
|
4812
|
+
"type": "string"
|
4813
|
+
},
|
4734
4814
|
{
|
4735
4815
|
"name": "shadowRootType",
|
4736
4816
|
"description": "Shadow root type.",
|
@@ -5619,6 +5699,21 @@
|
|
5619
5699
|
}
|
5620
5700
|
]
|
5621
5701
|
},
|
5702
|
+
{
|
5703
|
+
"name": "getTopLayerElements",
|
5704
|
+
"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.",
|
5705
|
+
"experimental": true,
|
5706
|
+
"returns": [
|
5707
|
+
{
|
5708
|
+
"name": "nodeIds",
|
5709
|
+
"description": "NodeIds of top layer elements",
|
5710
|
+
"type": "array",
|
5711
|
+
"items": {
|
5712
|
+
"$ref": "NodeId"
|
5713
|
+
}
|
5714
|
+
}
|
5715
|
+
]
|
5716
|
+
},
|
5622
5717
|
{
|
5623
5718
|
"name": "redo",
|
5624
5719
|
"description": "Re-does the last undone action.",
|
@@ -6160,6 +6255,11 @@
|
|
6160
6255
|
}
|
6161
6256
|
]
|
6162
6257
|
},
|
6258
|
+
{
|
6259
|
+
"name": "topLayerElementsUpdated",
|
6260
|
+
"description": "Called when top layer elements are changed.",
|
6261
|
+
"experimental": true
|
6262
|
+
},
|
6163
6263
|
{
|
6164
6264
|
"name": "pseudoElementRemoved",
|
6165
6265
|
"description": "Called when a pseudo element is removed from an element.",
|
@@ -7074,6 +7174,12 @@
|
|
7074
7174
|
"optional": true,
|
7075
7175
|
"$ref": "RareStringData"
|
7076
7176
|
},
|
7177
|
+
{
|
7178
|
+
"name": "pseudoIdentifier",
|
7179
|
+
"description": "Pseudo element identifier for this node. Only present if there is a\nvalid pseudoType.",
|
7180
|
+
"optional": true,
|
7181
|
+
"$ref": "RareStringData"
|
7182
|
+
},
|
7077
7183
|
{
|
7078
7184
|
"name": "isClickable",
|
7079
7185
|
"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 +15163,7 @@
|
|
15057
15163
|
"encrypted-media",
|
15058
15164
|
"execution-while-out-of-viewport",
|
15059
15165
|
"execution-while-not-rendered",
|
15166
|
+
"federated-credentials",
|
15060
15167
|
"focus-without-user-activation",
|
15061
15168
|
"fullscreen",
|
15062
15169
|
"frobulate",
|
@@ -15098,7 +15205,8 @@
|
|
15098
15205
|
"enum": [
|
15099
15206
|
"Header",
|
15100
15207
|
"IframeAttribute",
|
15101
|
-
"InFencedFrameTree"
|
15208
|
+
"InFencedFrameTree",
|
15209
|
+
"InIsolatedApp"
|
15102
15210
|
]
|
15103
15211
|
},
|
15104
15212
|
{
|
@@ -17315,12 +17423,6 @@
|
|
17315
17423
|
"experimental": true,
|
17316
17424
|
"$ref": "FrameId"
|
17317
17425
|
},
|
17318
|
-
{
|
17319
|
-
"name": "backendNodeId",
|
17320
|
-
"description": "Input node id.",
|
17321
|
-
"experimental": true,
|
17322
|
-
"$ref": "DOM.BackendNodeId"
|
17323
|
-
},
|
17324
17426
|
{
|
17325
17427
|
"name": "mode",
|
17326
17428
|
"description": "Input mode.",
|
@@ -17329,6 +17431,13 @@
|
|
17329
17431
|
"selectSingle",
|
17330
17432
|
"selectMultiple"
|
17331
17433
|
]
|
17434
|
+
},
|
17435
|
+
{
|
17436
|
+
"name": "backendNodeId",
|
17437
|
+
"description": "Input node id. Only present for file choosers opened via an <input type=\"file\"> element.",
|
17438
|
+
"experimental": true,
|
17439
|
+
"optional": true,
|
17440
|
+
"$ref": "DOM.BackendNodeId"
|
17332
17441
|
}
|
17333
17442
|
]
|
17334
17443
|
},
|
@@ -20193,6 +20302,12 @@
|
|
20193
20302
|
"echoToConsole"
|
20194
20303
|
]
|
20195
20304
|
},
|
20305
|
+
{
|
20306
|
+
"name": "traceBufferSizeInKb",
|
20307
|
+
"description": "Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value\nof 200 MB would be used.",
|
20308
|
+
"optional": true,
|
20309
|
+
"type": "number"
|
20310
|
+
},
|
20196
20311
|
{
|
20197
20312
|
"name": "enableSampling",
|
20198
20313
|
"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.
|
@@ -1889,6 +1909,16 @@ experimental domain CSS
|
|
1889
1909
|
# The resulting CSS Supports rule after modification.
|
1890
1910
|
CSSSupports supports
|
1891
1911
|
|
1912
|
+
# Modifies the expression of a scope at-rule.
|
1913
|
+
experimental command setScopeText
|
1914
|
+
parameters
|
1915
|
+
StyleSheetId styleSheetId
|
1916
|
+
SourceRange range
|
1917
|
+
string text
|
1918
|
+
returns
|
1919
|
+
# The resulting CSS Scope rule after modification.
|
1920
|
+
CSSScope scope
|
1921
|
+
|
1892
1922
|
# Modifies the rule selector.
|
1893
1923
|
command setRuleSelector
|
1894
1924
|
parameters
|
@@ -2248,6 +2278,9 @@ domain DOM
|
|
2248
2278
|
optional string value
|
2249
2279
|
# Pseudo element type for this node.
|
2250
2280
|
optional PseudoType pseudoType
|
2281
|
+
# Pseudo element identifier for this node. Only present if there is a
|
2282
|
+
# valid pseudoType.
|
2283
|
+
optional string pseudoIdentifier
|
2251
2284
|
# Shadow root type.
|
2252
2285
|
optional ShadowRootType shadowRootType
|
2253
2286
|
# Frame ID for frame owner elements.
|
@@ -2643,6 +2676,14 @@ domain DOM
|
|
2643
2676
|
# Query selector result.
|
2644
2677
|
array of NodeId nodeIds
|
2645
2678
|
|
2679
|
+
# Returns NodeIds of current top layer elements.
|
2680
|
+
# Top layer is rendered closest to the user within a viewport, therefore its elements always
|
2681
|
+
# appear on top of all other content.
|
2682
|
+
experimental command getTopLayerElements
|
2683
|
+
returns
|
2684
|
+
# NodeIds of top layer elements
|
2685
|
+
array of NodeId nodeIds
|
2686
|
+
|
2646
2687
|
# Re-does the last undone action.
|
2647
2688
|
experimental command redo
|
2648
2689
|
|
@@ -2903,6 +2944,9 @@ domain DOM
|
|
2903
2944
|
# The added pseudo element.
|
2904
2945
|
Node pseudoElement
|
2905
2946
|
|
2947
|
+
# Called when top layer elements are changed.
|
2948
|
+
experimental event topLayerElementsUpdated
|
2949
|
+
|
2906
2950
|
# Called when a pseudo element is removed from an element.
|
2907
2951
|
experimental event pseudoElementRemoved
|
2908
2952
|
parameters
|
@@ -3280,6 +3324,9 @@ experimental domain DOMSnapshot
|
|
3280
3324
|
optional RareIntegerData contentDocumentIndex
|
3281
3325
|
# Type of a pseudo element node.
|
3282
3326
|
optional RareStringData pseudoType
|
3327
|
+
# Pseudo element identifier for this node. Only present if there is a
|
3328
|
+
# valid pseudoType.
|
3329
|
+
optional RareStringData pseudoIdentifier
|
3283
3330
|
# Whether this DOM node responds to mouse clicks. This includes nodes that have had click
|
3284
3331
|
# event listeners attached via JavaScript as well as anchor tags that naturally navigate when
|
3285
3332
|
# clicked.
|
@@ -7036,6 +7083,7 @@ domain Page
|
|
7036
7083
|
encrypted-media
|
7037
7084
|
execution-while-out-of-viewport
|
7038
7085
|
execution-while-not-rendered
|
7086
|
+
federated-credentials
|
7039
7087
|
focus-without-user-activation
|
7040
7088
|
fullscreen
|
7041
7089
|
frobulate
|
@@ -7077,6 +7125,8 @@ domain Page
|
|
7077
7125
|
IframeAttribute
|
7078
7126
|
# Inside fenced frame.
|
7079
7127
|
InFencedFrameTree
|
7128
|
+
# Inside an Isolated Application.
|
7129
|
+
InIsolatedApp
|
7080
7130
|
|
7081
7131
|
experimental type PermissionsPolicyBlockLocator extends object
|
7082
7132
|
properties
|
@@ -7982,12 +8032,12 @@ domain Page
|
|
7982
8032
|
parameters
|
7983
8033
|
# Id of the frame containing input node.
|
7984
8034
|
experimental FrameId frameId
|
7985
|
-
# Input node id.
|
7986
|
-
experimental DOM.BackendNodeId backendNodeId
|
7987
8035
|
# Input mode.
|
7988
8036
|
enum mode
|
7989
8037
|
selectSingle
|
7990
8038
|
selectMultiple
|
8039
|
+
# Input node id. Only present for file choosers opened via an <input type="file"> element.
|
8040
|
+
experimental optional DOM.BackendNodeId backendNodeId
|
7991
8041
|
|
7992
8042
|
# Fired when frame has been attached to its parent.
|
7993
8043
|
event frameAttached
|
@@ -9493,6 +9543,9 @@ experimental domain Tracing
|
|
9493
9543
|
recordContinuously
|
9494
9544
|
recordAsMuchAsPossible
|
9495
9545
|
echoToConsole
|
9546
|
+
# Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value
|
9547
|
+
# of 200 MB would be used.
|
9548
|
+
optional number traceBufferSizeInKb
|
9496
9549
|
# Turns on JavaScript stack sampling.
|
9497
9550
|
optional boolean enableSampling
|
9498
9551
|
# 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
|
*/
|
@@ -4912,6 +4962,19 @@ export namespace Protocol {
|
|
4912
4962
|
supports: CSSSupports;
|
4913
4963
|
}
|
4914
4964
|
|
4965
|
+
export interface SetScopeTextRequest {
|
4966
|
+
styleSheetId: StyleSheetId;
|
4967
|
+
range: SourceRange;
|
4968
|
+
text: string;
|
4969
|
+
}
|
4970
|
+
|
4971
|
+
export interface SetScopeTextResponse {
|
4972
|
+
/**
|
4973
|
+
* The resulting CSS Scope rule after modification.
|
4974
|
+
*/
|
4975
|
+
scope: CSSScope;
|
4976
|
+
}
|
4977
|
+
|
4915
4978
|
export interface SetRuleSelectorRequest {
|
4916
4979
|
styleSheetId: StyleSheetId;
|
4917
4980
|
range: SourceRange;
|
@@ -5363,6 +5426,11 @@ export namespace Protocol {
|
|
5363
5426
|
* Pseudo element type for this node.
|
5364
5427
|
*/
|
5365
5428
|
pseudoType?: PseudoType;
|
5429
|
+
/**
|
5430
|
+
* Pseudo element identifier for this node. Only present if there is a
|
5431
|
+
* valid pseudoType.
|
5432
|
+
*/
|
5433
|
+
pseudoIdentifier?: string;
|
5366
5434
|
/**
|
5367
5435
|
* Shadow root type.
|
5368
5436
|
*/
|
@@ -5963,6 +6031,13 @@ export namespace Protocol {
|
|
5963
6031
|
nodeIds: NodeId[];
|
5964
6032
|
}
|
5965
6033
|
|
6034
|
+
export interface GetTopLayerElementsResponse {
|
6035
|
+
/**
|
6036
|
+
* NodeIds of top layer elements
|
6037
|
+
*/
|
6038
|
+
nodeIds: NodeId[];
|
6039
|
+
}
|
6040
|
+
|
5966
6041
|
export interface RemoveAttributeRequest {
|
5967
6042
|
/**
|
5968
6043
|
* Id of the element to remove attribute from.
|
@@ -6944,6 +7019,11 @@ export namespace Protocol {
|
|
6944
7019
|
* Type of a pseudo element node.
|
6945
7020
|
*/
|
6946
7021
|
pseudoType?: RareStringData;
|
7022
|
+
/**
|
7023
|
+
* Pseudo element identifier for this node. Only present if there is a
|
7024
|
+
* valid pseudoType.
|
7025
|
+
*/
|
7026
|
+
pseudoIdentifier?: RareStringData;
|
6947
7027
|
/**
|
6948
7028
|
* Whether this DOM node responds to mouse clicks. This includes nodes that have had click
|
6949
7029
|
* event listeners attached via JavaScript as well as anchor tags that naturally navigate when
|
@@ -12123,12 +12203,12 @@ export namespace Protocol {
|
|
12123
12203
|
* All Permissions Policy features. This enum should match the one defined
|
12124
12204
|
* in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
12125
12205
|
*/
|
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');
|
12206
|
+
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
12207
|
|
12128
12208
|
/**
|
12129
12209
|
* Reason for a permissions policy feature to be disabled.
|
12130
12210
|
*/
|
12131
|
-
export type PermissionsPolicyBlockReason = ('Header' | 'IframeAttribute' | 'InFencedFrameTree');
|
12211
|
+
export type PermissionsPolicyBlockReason = ('Header' | 'IframeAttribute' | 'InFencedFrameTree' | 'InIsolatedApp');
|
12132
12212
|
|
12133
12213
|
export interface PermissionsPolicyBlockLocator {
|
12134
12214
|
frameId: FrameId;
|
@@ -13392,14 +13472,14 @@ export namespace Protocol {
|
|
13392
13472
|
* Id of the frame containing input node.
|
13393
13473
|
*/
|
13394
13474
|
frameId: FrameId;
|
13395
|
-
/**
|
13396
|
-
* Input node id.
|
13397
|
-
*/
|
13398
|
-
backendNodeId: DOM.BackendNodeId;
|
13399
13475
|
/**
|
13400
13476
|
* Input mode. (FileChooserOpenedEventMode enum)
|
13401
13477
|
*/
|
13402
13478
|
mode: ('selectSingle' | 'selectMultiple');
|
13479
|
+
/**
|
13480
|
+
* Input node id. Only present for file choosers opened via an <input type="file"> element.
|
13481
|
+
*/
|
13482
|
+
backendNodeId?: DOM.BackendNodeId;
|
13403
13483
|
}
|
13404
13484
|
|
13405
13485
|
/**
|
@@ -15199,6 +15279,11 @@ export namespace Protocol {
|
|
15199
15279
|
* Controls how the trace buffer stores data. (TraceConfigRecordMode enum)
|
15200
15280
|
*/
|
15201
15281
|
recordMode?: ('recordUntilFull' | 'recordContinuously' | 'recordAsMuchAsPossible' | 'echoToConsole');
|
15282
|
+
/**
|
15283
|
+
* Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value
|
15284
|
+
* of 200 MB would be used.
|
15285
|
+
*/
|
15286
|
+
traceBufferSizeInKb?: number;
|
15202
15287
|
/**
|
15203
15288
|
* Turns on JavaScript stack sampling.
|
15204
15289
|
*/
|