Skip to content

Commit 5a65f36

Browse files
committed
bump protocol
1 parent 8b79530 commit 5a65f36

File tree

7 files changed

+215
-27
lines changed

7 files changed

+215
-27
lines changed

pages/_data/1-3.json

Lines changed: 38 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,12 @@
252252
"optional": true,
253253
"$ref": "PseudoType"
254254
},
255+
{
256+
"name": "pseudoIdentifier",
257+
"description": "Pseudo element identifier for this node. Only present if there is a\nvalid pseudoType.",
258+
"optional": true,
259+
"type": "string"
260+
},
255261
{
256262
"name": "shadowRootType",
257263
"description": "Shadow root type.",
@@ -5022,12 +5028,6 @@
50225028
"experimental": true,
50235029
"$ref": "FrameId"
50245030
},
5025-
{
5026-
"name": "backendNodeId",
5027-
"description": "Input node id.",
5028-
"experimental": true,
5029-
"$ref": "DOM.BackendNodeId"
5030-
},
50315031
{
50325032
"name": "mode",
50335033
"description": "Input mode.",
@@ -5036,6 +5036,13 @@
50365036
"selectSingle",
50375037
"selectMultiple"
50385038
]
5039+
},
5040+
{
5041+
"name": "backendNodeId",
5042+
"description": "Input node id. Only present for file choosers opened via an <input type=\"file\"> element.",
5043+
"experimental": true,
5044+
"optional": true,
5045+
"$ref": "DOM.BackendNodeId"
50395046
}
50405047
]
50415048
},
@@ -6784,7 +6791,7 @@
67846791
},
67856792
{
67866793
"name": "setScriptSource",
6787-
"description": "Edits JavaScript source live.",
6794+
"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.",
67886795
"parameters": [
67896796
{
67906797
"name": "scriptId",
@@ -6801,12 +6808,20 @@
68016808
"description": "If true the change will not actually be applied. Dry run may be used to get result\ndescription without actually modifying the code.",
68026809
"optional": true,
68036810
"type": "boolean"
6811+
},
6812+
{
6813+
"name": "allowTopFrameEditing",
6814+
"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.",
6815+
"experimental": true,
6816+
"optional": true,
6817+
"type": "boolean"
68046818
}
68056819
],
68066820
"returns": [
68076821
{
68086822
"name": "callFrames",
68096823
"description": "New stack trace in case editing has happened while VM was stopped.",
6824+
"deprecated": true,
68106825
"optional": true,
68116826
"type": "array",
68126827
"items": {
@@ -6816,25 +6831,39 @@
68166831
{
68176832
"name": "stackChanged",
68186833
"description": "Whether current call stack was modified after applying the changes.",
6834+
"deprecated": true,
68196835
"optional": true,
68206836
"type": "boolean"
68216837
},
68226838
{
68236839
"name": "asyncStackTrace",
68246840
"description": "Async stack trace, if any.",
6841+
"deprecated": true,
68256842
"optional": true,
68266843
"$ref": "Runtime.StackTrace"
68276844
},
68286845
{
68296846
"name": "asyncStackTraceId",
68306847
"description": "Async stack trace, if any.",
6831-
"experimental": true,
6848+
"deprecated": true,
68326849
"optional": true,
68336850
"$ref": "Runtime.StackTraceId"
68346851
},
6852+
{
6853+
"name": "status",
6854+
"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.",
6855+
"experimental": true,
6856+
"type": "string",
6857+
"enum": [
6858+
"Ok",
6859+
"CompileError",
6860+
"BlockedByActiveGenerator",
6861+
"BlockedByActiveFunction"
6862+
]
6863+
},
68356864
{
68366865
"name": "exceptionDetails",
6837-
"description": "Exception details if any.",
6866+
"description": "Exception details if any. Only present when `status` is `CompileError`.",
68386867
"optional": true,
68396868
"$ref": "Runtime.ExceptionDetails"
68406869
}

0 commit comments

Comments
 (0)