Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2947)

Unified Diff: test/mjsunit/wasm/import-memory.js

Issue 2903153002: [wasm] Increase WebAssembly.Memory maximum size to ~2GB (Closed)
Patch Set: Fix status again Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/mjsunit/wasm/import-memory.js
diff --git a/test/mjsunit/wasm/import-memory.js b/test/mjsunit/wasm/import-memory.js
index 178febdff471472d6bace5c9c935efdcd0416f33..fd310a7f737433e8822751b4a1665459ba9996b0 100644
--- a/test/mjsunit/wasm/import-memory.js
+++ b/test/mjsunit/wasm/import-memory.js
@@ -176,7 +176,7 @@ load("test/mjsunit/wasm/wasm-module-builder.js");
for (offset = 5 * kPageSize; offset < 5 * kPageSize + 4; offset++) {
assertThrows(load);
}
- assertThrows(() => memory.grow(16381));
+ assertThrows(() => memory.grow(32765));
Eric Holk 2017/06/13 16:19:48 Maybe add a comment for why this number was chosen
gdeepti 2017/06/13 21:25:43 Used max memory limits here instead, and fine tune
})();
(function ImportedMemoryBufferLength() {

Powered by Google App Engine
This is Rietveld 408576698