()
| 73 | } |
| 74 | |
| 75 | async function waitForWasmScript() { |
| 76 | InspectorTest.log('Waiting for wasm scripts to be parsed.'); |
| 77 | while (true) { |
| 78 | let msg = await Protocol.Debugger.onceScriptParsed(); |
| 79 | let url = msg.params.url; |
| 80 | if (!url.startsWith('wasm://')) { |
| 81 | InspectorTest.log('Ignoring script with url ' + url); |
| 82 | continue; |
| 83 | } |
| 84 | let scriptId = msg.params.scriptId; |
| 85 | InspectorTest.log('Got wasm script: ' + url); |
| 86 | return scriptId; |
| 87 | } |
| 88 | } |
no test coverage detected