()
| 64 | } |
| 65 | |
| 66 | async function waitForWasmScript() { |
| 67 | InspectorTest.log('Waiting for wasm scripts to be parsed.'); |
| 68 | while (true) { |
| 69 | let msg = await Protocol.Debugger.onceScriptParsed(); |
| 70 | let url = msg.params.url; |
| 71 | if (!url.startsWith('wasm://')) { |
| 72 | InspectorTest.log('Ignoring script with url ' + url); |
| 73 | continue; |
| 74 | } |
| 75 | let scriptId = msg.params.scriptId; |
| 76 | InspectorTest.log('Got wasm script: ' + url); |
| 77 | return scriptId; |
| 78 | } |
| 79 | } |
no test coverage detected