f21291bc41
Extract commonly used instantiate() and evalWithUrl() functions. Bug: chromium:1093165 Change-Id: I14f8b49d556bc70d2092a80b41c5bbf678efd1a9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2245599 Commit-Queue: Kim-Anh Tran <kimanh@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Cr-Commit-Position: refs/heads/master@{#68356}
32 lines
653 B
Plaintext
32 lines
653 B
Plaintext
Tests stepping from javascript into wasm
|
|
Calling instantiate function.
|
|
Waiting for wasm scripts to be parsed.
|
|
Ignoring script with url v8://test/instantiate
|
|
Got wasm script: wasm://wasm/7d022e0e
|
|
Setting breakpoint on i32.const
|
|
{
|
|
columnNumber : 37
|
|
lineNumber : 0
|
|
scriptId : <scriptId>
|
|
}
|
|
paused
|
|
function test() {
|
|
#debugger;
|
|
instance.exports.main(1);
|
|
|
|
Debugger.stepInto
|
|
paused
|
|
debugger;
|
|
#instance.exports.main(1);
|
|
}
|
|
|
|
Debugger.stepInto
|
|
paused
|
|
Script wasm://wasm/7d022e0e byte offset 35: Wasm opcode 0x20
|
|
Debugger.resume
|
|
paused
|
|
Script wasm://wasm/7d022e0e byte offset 37: Wasm opcode 0x41
|
|
Debugger.resume
|
|
exports.main returned!
|
|
Finished!
|