Index: test/mjsunit/wasm/js-api.js |
diff --git a/test/mjsunit/wasm/js-api.js b/test/mjsunit/wasm/js-api.js |
index 812fb06b8dfa2d9dd0e53f74199bbe63c55ab8eb..d7a3ea1358629eaf664f7bc76b3ab5a3d02ad5f7 100644 |
--- a/test/mjsunit/wasm/js-api.js |
+++ b/test/mjsunit/wasm/js-api.js |
@@ -508,7 +508,6 @@ assertEq(tblGrowDesc.enumerable, false); |
assertEq(tblGrowDesc.configurable, true); |
// 'WebAssembly.Table.prototype.grow' method |
-if (false) { // TODO: Table.grow |
let tblGrow = tblGrowDesc.value; |
assertEq(tblGrow.length, 1); |
assertErrorMessage(() => tblGrow.call(), TypeError, /called on incompatible undefined/); |
@@ -522,7 +521,6 @@ assertEq(tbl.length, 1); |
assertEq(tbl.grow(1), 1); |
assertEq(tbl.length, 2); |
assertErrorMessage(() => tbl.grow(1), Error, /failed to grow table/); |
-} |
// 'WebAssembly.validate' function |
assertErrorMessage(() => WebAssembly.validate(), TypeError); |