Lines Matching defs:module
34 var module = _WASMEXP_.instantiateModule(data);
36 // Check the module exists.
37 assertFalse(module === undefined);
38 assertFalse(module === null);
39 assertFalse(module === 0);
40 assertEquals("object", typeof module);
43 var mem = module.memory;
50 module.memory = 0; // should be ignored
51 assertEquals(mem, module.memory);
54 assertEquals(1024, module.memory.byteLength);
57 assertFalse(module.main === undefined);
58 assertFalse(module.main === null);
59 assertFalse(module.main === 0);
60 assertEquals("function", typeof module.main);
62 assertEquals(kReturnValue, module.main());