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

Unified Diff: test/mjsunit/wasm/unicode-validation.js

Issue 2350643003: [wasm] Set up Table and Memory constructors (Closed)
Patch Set: Address comments Created 4 years, 3 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
« no previous file with comments | « test/mjsunit/wasm/table.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/unicode-validation.js
diff --git a/test/mjsunit/wasm/unicode-validation.js b/test/mjsunit/wasm/unicode-validation.js
index b2e46030877ccd1223de013cafe83d73a1d7babb..ceaed0364fbee8fa690c5726d8b93bd59742660e 100644
--- a/test/mjsunit/wasm/unicode-validation.js
+++ b/test/mjsunit/wasm/unicode-validation.js
@@ -79,6 +79,7 @@ function checkImportsAndExports(imported_module_name, imported_function_name,
} catch (err) {
if (!shouldThrow) print(err);
assertTrue(shouldThrow, "Should not throw error on valid names");
+ assertTrue(err instanceof Error, "exception should be an Error");
assertContains("UTF-8", err.toString());
}
assertEquals(shouldThrow, hasThrown,
« no previous file with comments | « test/mjsunit/wasm/table.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698