Index: test/mjsunit/wasm/js-api.js |
diff --git a/test/mjsunit/wasm/js-api.js b/test/mjsunit/wasm/js-api.js |
index 873f4ddff67e309de7cb4ffe19c8ef71413db69e..c2ec4d48af9686c26e368da78f4f340ee2297239 100644 |
--- a/test/mjsunit/wasm/js-api.js |
+++ b/test/mjsunit/wasm/js-api.js |
@@ -454,14 +454,13 @@ var mem = new Memory({initial:1, maximum:2}); |
var buf = mem.buffer; |
assertEq(buf.byteLength, kPageSize); |
assertEq(mem.grow(0), 1); |
-// TODO(gdeepti): Pending spec clarification |
-// assertTrue(buf !== mem.buffer); |
-// assertEq(buf.byteLength, 0); |
+assertTrue(buf !== mem.buffer); |
+assertEq(buf.byteLength, 0); |
buf = mem.buffer; |
assertEq(buf.byteLength, kPageSize); |
assertEq(mem.grow(1), 1); |
-// TODO(gdeepti): assertTrue(buf !== mem.buffer); |
-// TODO(gdeepti): assertEq(buf.byteLength, 0); |
+assertTrue(buf !== mem.buffer); |
+assertEq(buf.byteLength, 0); |
buf = mem.buffer; |
assertEq(buf.byteLength, 2 * kPageSize); |
assertErrorMessage(() => mem.grow(1), Error, /failed to grow memory/); |