summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/wasm/jsapi-harness.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/wasm/jsapi-harness.js')
-rw-r--r--deps/v8/test/mjsunit/wasm/jsapi-harness.js14
1 files changed, 13 insertions, 1 deletions
diff --git a/deps/v8/test/mjsunit/wasm/jsapi-harness.js b/deps/v8/test/mjsunit/wasm/jsapi-harness.js
index 4f0331d427..3506b592a4 100644
--- a/deps/v8/test/mjsunit/wasm/jsapi-harness.js
+++ b/deps/v8/test/mjsunit/wasm/jsapi-harness.js
@@ -14,6 +14,10 @@ const known_failures = {
'https://bugs.chromium.org/p/v8/issues/detail?id=5507',
"'WebAssembly.Table.prototype.set' method":
'https://bugs.chromium.org/p/v8/issues/detail?id=5507',
+ "'WebAssembly.Instance.prototype.exports' accessor property":
+ 'https://bugs.chromium.org/p/v8/issues/detail?id=5507',
+ "'WebAssembly.Memory.prototype.grow' method":
+ 'https://bugs.chromium.org/p/v8/issues/detail?id=6546'
};
let failures = [];
@@ -59,6 +63,7 @@ function promise_test(func, description) {
}
let assert_equals = assertEquals;
+let assert_not_equals = assertNotEquals;
let assert_true = assertEquals.bind(null, true);
let assert_false = assertEquals.bind(null, false);
@@ -102,7 +107,14 @@ assertPromiseResult(last_promise, _ => {
"the bug, please remove the test from the known failures list.")
}
if (unexpected) {
- quit(1);
+ print("\n");
+ print(" #############################################################");
+ print(" # #");
+ print(" # Unexpected outcome. Did you forget to run 'gclient sync'? #");
+ print(" # #");
+ print(" #############################################################");
+ print("\n");
+ assertUnreachable("Unexpected outcome");
}
}
});