wasm-import-wasm-export.tentative.html (418B)
1 <!doctype html> 2 <title>Check import and export between WebAssembly modules</title> 3 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 <script type=module> 7 setup({ single_test: true }); 8 window.log = []; 9 import { logExec } from "./resources/wasm-import-from-wasm.wasm"; 10 logExec(); 11 assert_equals(log.length, 1); 12 assert_equals(log[0], "executed"); 13 done(); 14 </script>