blob: 510b571fd8d5763b7fc2aff955b5be8e5c42b117 [file] [log] [blame]
Ben Murdoch4a90d5f2016-03-22 12:00:34 +00001// 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
Ben Murdochda12d292016-06-02 14:46:10 +01007assertFalse(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);
Ben Murdochc5610432016-08-08 18:44:38 +010013assertFalse(undefined == Wasm.experimentalVersion);
Ben Murdoch61f157c2016-09-16 13:49:30 +010014
15assertEquals('object', typeof WebAssembly);
16assertEquals('function', typeof WebAssembly.Module);
17assertEquals('function', typeof WebAssembly.Instance);
18assertEquals('function', typeof WebAssembly.compile);