blob: 15b33288c8ade1e5f45a61d5b8d586d9f9caba1c (
plain)
1
2
3
4
5
6
7
8
9
10
|
// |jit-test| skip-if: !wasmDebuggingEnabled()
fullcompartmentchecks(true);
var g = newGlobal({newCompartment: true});
var dbg = new Debugger(g);
dbg.onNewScript = (function(script) {
s = script;
})
g.eval(`new WebAssembly.Instance(new WebAssembly.Module(wasmTextToBinary('(module (func) (export "" (func 0)))')));`);
s.source;
|