Skip to content

Commit d04f841

Browse files
devtools-botpaulirish
authored andcommitted
bump protocol
1 parent d7d4403 commit d04f841

File tree

5 files changed

+161
-4
lines changed

5 files changed

+161
-4
lines changed

pages/_data/tot.json

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1556,6 +1556,7 @@
15561556
"DeprecationExample",
15571557
"DocumentDomainSettingWithoutOriginAgentClusterHeader",
15581558
"EventPath",
1559+
"ExpectCTHeader",
15591560
"GeolocationInsecureOrigin",
15601561
"GeolocationInsecureOriginDeprecatedNotRemoved",
15611562
"GetUserMediaInsecureOrigin",
@@ -22348,6 +22349,29 @@
2234822349
}
2234922350
]
2235022351
},
22352+
{
22353+
"id": "WasmDisassemblyChunk",
22354+
"experimental": true,
22355+
"type": "object",
22356+
"properties": [
22357+
{
22358+
"name": "lines",
22359+
"description": "The next chunk of disassembled lines.",
22360+
"type": "array",
22361+
"items": {
22362+
"type": "string"
22363+
}
22364+
},
22365+
{
22366+
"name": "bytecodeOffsets",
22367+
"description": "The bytecode offsets describing the start of each line.",
22368+
"type": "array",
22369+
"items": {
22370+
"type": "integer"
22371+
}
22372+
}
22373+
]
22374+
},
2235122375
{
2235222376
"id": "ScriptLanguage",
2235322377
"description": "Enum of possible script languages.",
@@ -22558,6 +22582,61 @@
2255822582
}
2255922583
]
2256022584
},
22585+
{
22586+
"name": "disassembleWasmModule",
22587+
"experimental": true,
22588+
"parameters": [
22589+
{
22590+
"name": "scriptId",
22591+
"description": "Id of the script to disassemble",
22592+
"$ref": "Runtime.ScriptId"
22593+
}
22594+
],
22595+
"returns": [
22596+
{
22597+
"name": "streamId",
22598+
"description": "For large modules, return a stream from which additional chunks of\ndisassembly can be read successively.",
22599+
"optional": true,
22600+
"type": "string"
22601+
},
22602+
{
22603+
"name": "totalNumberOfLines",
22604+
"description": "The total number of lines in the disassembly text.",
22605+
"type": "integer"
22606+
},
22607+
{
22608+
"name": "functionBodyOffsets",
22609+
"description": "The offsets of all function bodies plus one additional entry pointing\none by past the end of the last function.",
22610+
"type": "array",
22611+
"items": {
22612+
"type": "integer"
22613+
}
22614+
},
22615+
{
22616+
"name": "chunk",
22617+
"description": "The first chunk of disassembly.",
22618+
"$ref": "WasmDisassemblyChunk"
22619+
}
22620+
]
22621+
},
22622+
{
22623+
"name": "nextWasmDisassemblyChunk",
22624+
"description": "Disassemble the next chunk of lines for the module corresponding to the\nstream. If disassembly is complete, this API will invalidate the streamId\nand return an empty chunk. Any subsequent calls for the now invalid stream\nwill return errors.",
22625+
"experimental": true,
22626+
"parameters": [
22627+
{
22628+
"name": "streamId",
22629+
"type": "string"
22630+
}
22631+
],
22632+
"returns": [
22633+
{
22634+
"name": "chunk",
22635+
"description": "The next chunk of disassembly.",
22636+
"$ref": "WasmDisassemblyChunk"
22637+
}
22638+
]
22639+
},
2256122640
{
2256222641
"name": "getWasmBytecode",
2256322642
"description": "This command is deprecated. Use getScriptSource instead.",

pages/_data/v8.json

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,29 @@
332332
}
333333
]
334334
},
335+
{
336+
"id": "WasmDisassemblyChunk",
337+
"experimental": true,
338+
"type": "object",
339+
"properties": [
340+
{
341+
"name": "lines",
342+
"description": "The next chunk of disassembled lines.",
343+
"type": "array",
344+
"items": {
345+
"type": "string"
346+
}
347+
},
348+
{
349+
"name": "bytecodeOffsets",
350+
"description": "The bytecode offsets describing the start of each line.",
351+
"type": "array",
352+
"items": {
353+
"type": "integer"
354+
}
355+
}
356+
]
357+
},
335358
{
336359
"id": "ScriptLanguage",
337360
"description": "Enum of possible script languages.",
@@ -542,6 +565,61 @@
542565
}
543566
]
544567
},
568+
{
569+
"name": "disassembleWasmModule",
570+
"experimental": true,
571+
"parameters": [
572+
{
573+
"name": "scriptId",
574+
"description": "Id of the script to disassemble",
575+
"$ref": "Runtime.ScriptId"
576+
}
577+
],
578+
"returns": [
579+
{
580+
"name": "streamId",
581+
"description": "For large modules, return a stream from which additional chunks of\ndisassembly can be read successively.",
582+
"optional": true,
583+
"type": "string"
584+
},
585+
{
586+
"name": "totalNumberOfLines",
587+
"description": "The total number of lines in the disassembly text.",
588+
"type": "integer"
589+
},
590+
{
591+
"name": "functionBodyOffsets",
592+
"description": "The offsets of all function bodies plus one additional entry pointing\none by past the end of the last function.",
593+
"type": "array",
594+
"items": {
595+
"type": "integer"
596+
}
597+
},
598+
{
599+
"name": "chunk",
600+
"description": "The first chunk of disassembly.",
601+
"$ref": "WasmDisassemblyChunk"
602+
}
603+
]
604+
},
605+
{
606+
"name": "nextWasmDisassemblyChunk",
607+
"description": "Disassemble the next chunk of lines for the module corresponding to the\nstream. If disassembly is complete, this API will invalidate the streamId\nand return an empty chunk. Any subsequent calls for the now invalid stream\nwill return errors.",
608+
"experimental": true,
609+
"parameters": [
610+
{
611+
"name": "streamId",
612+
"type": "string"
613+
}
614+
],
615+
"returns": [
616+
{
617+
"name": "chunk",
618+
"description": "The next chunk of disassembly.",
619+
"$ref": "WasmDisassemblyChunk"
620+
}
621+
]
622+
},
545623
{
546624
"name": "getWasmBytecode",
547625
"description": "This command is deprecated. Use getScriptSource instead.",

pages/tot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ There is no backwards compatibility support guaranteed for the capabilities it i
1010

1111
<h5 browser>Latest <a
1212
href="https://github.com/ChromeDevTools/devtools-protocol/blob/master/json/browser_protocol.json">browser_protocol.json</a> version updated:</h5>
13-
<code browser>Date: 2022-07-19 04:49:30 +0000
13+
<code browser>Date: 2022-07-20 04:34:23 +0000
1414
</code>
1515

1616
<h5 js>Latest <a
1717
href="https://github.com/ChromeDevTools/devtools-protocol/blob/master/json/js_protocol.json">js_protocol.json</a> version updated:</h5>
18-
<code js>Date: 2022-06-29 08:28:08 -0700
18+
<code js>Date: 2022-07-20 04:34:23 +0000
1919
</code>

search_index/tot.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

search_index/v8.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)