Files
Kmake/test/wasm-allocation/test-wasm-allocation.js

8 lines
263 B
JavaScript
Raw Permalink Normal View History

2026-05-26 23:36:42 -07:00
// Flags: --disable-wasm-trap-handler
// Test that with limited virtual memory space, --disable-wasm-trap-handler
// allows WASM to at least run with inline bound checks.
'use strict';
require('../common');
new WebAssembly.Memory({ initial: 10, maximum: 100 });