2015-12-11 12:26:16 +00:00
|
|
|
// Copyright 2015 the V8 project authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2015-12-17 10:54:08 +00:00
|
|
|
// Flags: --expose-wasm
|
|
|
|
|
2016-03-08 14:46:54 +00:00
|
|
|
assertFalse(undefined === Wasm);
|
|
|
|
assertFalse(undefined == Wasm);
|
|
|
|
assertEquals("function", typeof Wasm.verifyModule);
|
|
|
|
assertEquals("function", typeof Wasm.verifyFunction);
|
|
|
|
assertEquals("function", typeof Wasm.instantiateModule);
|
|
|
|
assertEquals("function", typeof Wasm.instantiateModuleFromAsm);
|
2016-04-29 09:15:26 +00:00
|
|
|
assertFalse(undefined == Wasm.experimentalVersion);
|
2016-06-21 12:52:57 +00:00
|
|
|
|
|
|
|
assertEquals('object', typeof WebAssembly);
|
|
|
|
assertEquals('function', typeof WebAssembly.Module);
|
|
|
|
assertEquals('function', typeof WebAssembly.Instance);
|
|
|
|
assertEquals('function', typeof WebAssembly.compile);
|