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

Unified Diff: src/wasm/wasm-module.cc

Issue 2640403004: [wasm] Instance exports object should be iterable (Closed)
Patch Set: Created 3 years, 11 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: src/wasm/wasm-module.cc
diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc
index bc91910aed5e3c718d4117fce34bdb88a37e7da3..9015b2d541a2c31366c4f81966bbe401d722a6cc 100644
--- a/src/wasm/wasm-module.cc
+++ b/src/wasm/wasm-module.cc
@@ -1882,6 +1882,7 @@ class WasmInstanceBuilder {
PropertyDescriptor desc;
desc.set_writable(false);
+ desc.set_enumerable(true);
// Count up export indexes.
int export_index = 0;
« no previous file with comments | « no previous file | test/mjsunit/regress/wasm/regression-5863.js » ('j') | test/mjsunit/regress/wasm/regression-5863.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698