2017-05-19 00:35:45 +00:00
|
|
|
Tests how wasm scripts are reported
|
2019-09-18 11:54:05 +00:00
|
|
|
Check that each inspector gets two wasm scripts at module creation time.
|
2019-09-24 19:46:49 +00:00
|
|
|
Session #1: Script #0 parsed. URL: wasm://wasm/wasm-77a937ae/wasm-77a937ae-0
|
|
|
|
Session #1: Script #1 parsed. URL: wasm://wasm/wasm-77a937ae/wasm-77a937ae-1
|
|
|
|
Session #2: Script #0 parsed. URL: wasm://wasm/wasm-77a937ae/wasm-77a937ae-0
|
|
|
|
Session #2: Script #1 parsed. URL: wasm://wasm/wasm-77a937ae/wasm-77a937ae-1
|
|
|
|
Session #3: Script #0 parsed. URL: wasm-77a937ae
|
|
|
|
Session #1: Source for wasm://wasm/wasm-77a937ae/wasm-77a937ae-0:
|
2016-12-06 13:20:07 +00:00
|
|
|
func $nopFunction
|
2017-01-15 21:18:53 +00:00
|
|
|
nop
|
|
|
|
end
|
2016-12-06 13:20:07 +00:00
|
|
|
|
2019-09-24 19:46:49 +00:00
|
|
|
Session #1: Source for wasm://wasm/wasm-77a937ae/wasm-77a937ae-1:
|
2016-12-06 13:20:07 +00:00
|
|
|
func $main
|
2017-01-15 21:18:53 +00:00
|
|
|
block
|
|
|
|
i32.const 2
|
|
|
|
drop
|
|
|
|
end
|
2016-12-06 13:20:07 +00:00
|
|
|
end
|
|
|
|
|
2019-09-24 19:46:49 +00:00
|
|
|
Session #2: Source for wasm://wasm/wasm-77a937ae/wasm-77a937ae-0:
|
2019-09-18 11:54:05 +00:00
|
|
|
func $nopFunction
|
|
|
|
nop
|
|
|
|
end
|
|
|
|
|
2019-09-24 19:46:49 +00:00
|
|
|
Session #2: Source for wasm://wasm/wasm-77a937ae/wasm-77a937ae-1:
|
2019-09-18 11:54:05 +00:00
|
|
|
func $main
|
|
|
|
block
|
|
|
|
i32.const 2
|
|
|
|
drop
|
|
|
|
end
|
|
|
|
end
|
2019-09-24 19:46:49 +00:00
|
|
|
|
|
|
|
Session #3: Source for wasm-77a937ae:
|
|
|
|
Raw: 00 61 73 6d 01 00 00 00 01 07 02 60 00 00 60 00 00 03 03 02 00 01 07 08 01 04 6d 61 69 6e 00 01 0a 0e 02 03 00 01 0b 08 00 02 40 41 02 1a 0b 0b 00 0c 0b 2e 64 65 62 75 67 5f 69 6e 66 6f 00 1b 04 6e 61 6d 65 01 14 02 00 0b 6e 6f 70 46 75 6e 63 74 69 6f 6e 01 04 6d 61 69 6e
|
|
|
|
Imports: []
|
|
|
|
Exports: [main: function]
|