Index: test/mjsunit/wasm/js-api.js |
diff --git a/test/mjsunit/wasm/js-api.js b/test/mjsunit/wasm/js-api.js |
index 128c20451b088de90142daeb6358d814fbb4fd25..3c195dc130a3cad7cbd98d91ac4246ced3817ac7 100644 |
--- a/test/mjsunit/wasm/js-api.js |
+++ b/test/mjsunit/wasm/js-api.js |
@@ -371,6 +371,12 @@ assertTrue(instanceExportsDesc.writable); |
assertTrue(instanceExportsDesc.enumerable); |
assertTrue(instanceExportsDesc.configurable); |
+exportsObj = exportingInstance.exports; |
+assertEq(typeof exportsObj, 'object'); |
+assertFalse(Object.isExtensible(exportsObj)); |
+assertEq(Object.getPrototypeOf(exportsObj), null); |
+assertEq(Object.keys(exportsObj).join(), 'f'); |
+ |
// Exported WebAssembly functions |
let f = exportingInstance.exports.f; |
assertTrue(f instanceof Function); |