7bbea08f66
This refactoring makes it easier to write advanced tests and gives full control over what's happening to the test code. It also forces description for every test. BUG=none Review-Url: https://codereview.chromium.org/2891213002 Cr-Commit-Position: refs/heads/master@{#45412}
26 lines
530 B
Plaintext
26 lines
530 B
Plaintext
Tests imports in wasm
|
|
Installing code and global variable.
|
|
Calling instantiate function for module A.
|
|
Waiting for wasm script to be parsed.
|
|
Got wasm script!
|
|
Setting breakpoint in line 1:
|
|
func $func
|
|
#nop
|
|
end
|
|
|
|
Calling instantiate function for module B.
|
|
Calling main function on module B.
|
|
Paused at 1:2.
|
|
func $func
|
|
#nop
|
|
end
|
|
|
|
Getting current stack trace via "new Error().stack".
|
|
Error
|
|
at v8://test/getStack:1:1
|
|
at func (<WASM>[0]+1)
|
|
at main (<WASM>[1]+1)
|
|
at v8://test/runWasm:1:22
|
|
exports.main returned.
|
|
Finished.
|