| Index: test/mjsunit/wasm/wasm-object-api.js
|
| diff --git a/test/mjsunit/wasm/wasm-object-api.js b/test/mjsunit/wasm/wasm-object-api.js
|
| index 2fa57b033bf73cd83e2a65223570ea6e37e94840..3888e3638ba61c5ef939b4ebdbc21b4dbeb81257 100644
|
| --- a/test/mjsunit/wasm/wasm-object-api.js
|
| +++ b/test/mjsunit/wasm/wasm-object-api.js
|
| @@ -4,20 +4,10 @@
|
|
|
| // Flags: --expose-wasm
|
|
|
| -var oldApi = true;
|
| -
|
| -if (oldApi) {
|
| - assertFalse(undefined === Wasm);
|
| - assertFalse(undefined == Wasm);
|
| - assertEquals("function", typeof Wasm.verifyModule);
|
| - assertEquals("function", typeof Wasm.verifyFunction);
|
| - assertEquals("function", typeof Wasm.instantiateModule);
|
| - assertFalse(undefined == Wasm.experimentalVersion);
|
| -} else {
|
| - assertTrue(undefined === Wasm);
|
| - assertTrue(undefined == Wasm);
|
| -}
|
| +// Old API should be gone.
|
| +assertEquals("undefined", typeof Wasm);
|
|
|
| +// New API should rule.
|
| assertEquals('object', typeof WebAssembly);
|
| assertEquals('function', typeof WebAssembly.Module);
|
| assertEquals('function', typeof WebAssembly.Instance);
|
|
|