Index: test/mjsunit/wasm/import-memory.js |
diff --git a/test/mjsunit/wasm/import-memory.js b/test/mjsunit/wasm/import-memory.js |
index b5dd620546798b1c60a5ec55c49907f2132523ab..178febdff471472d6bace5c9c935efdcd0416f33 100644 |
--- a/test/mjsunit/wasm/import-memory.js |
+++ b/test/mjsunit/wasm/import-memory.js |
@@ -149,7 +149,6 @@ |
(function TestGrowMemoryZeroInitialMemory() { |
print("ZeroInitialMemory"); |
- let kV8MaxPages = 32767; |
let memory = new WebAssembly.Memory({initial: 0}); |
assertEquals(0, memory.buffer.byteLength); |
let i32 = new Int32Array(memory.buffer); |
@@ -177,7 +176,7 @@ |
for (offset = 5 * kPageSize; offset < 5 * kPageSize + 4; offset++) { |
assertThrows(load); |
} |
- assertThrows(() => memory.grow(kV8MaxPages - 3)); |
+ assertThrows(() => memory.grow(16381)); |
})(); |
(function ImportedMemoryBufferLength() { |