1// Copyright 2015 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Flags: --expose-wasm
6
7assertFalse(undefined === Wasm);
8assertFalse(undefined == Wasm);
9assertEquals("function", typeof Wasm.verifyModule);
10assertEquals("function", typeof Wasm.verifyFunction);
11assertEquals("function", typeof Wasm.instantiateModule);
12assertEquals("function", typeof Wasm.instantiateModuleFromAsm);
13assertFalse(undefined == Wasm.experimentalVersion);
14
15assertEquals('object', typeof WebAssembly);
16assertEquals('function', typeof WebAssembly.Module);
17assertEquals('function', typeof WebAssembly.Instance);
18assertEquals('function', typeof WebAssembly.compile);
19