Skip to content

Commit efcca70

Browse files
committed
test: test wasm trap handler is not enabled if there's not enough vmem
1 parent b3de1cb commit efcca70

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Test that with limited virtual memory space, WASM can still allocate memory
2+
// even without --disable-wasm-trap-handler.
3+
'use strict';
4+
5+
require('../common');
6+
new WebAssembly.Memory({ initial: 10, maximum: 100 });

0 commit comments

Comments
 (0)