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

Unified Diff: test/mjsunit/wasm/js-api.js

Issue 2808403002: [wasm] Bumped DEPS for public js api tests, fixed failures. (Closed)
Patch Set: [wasm] Bumped DEPS for public js api tests, fixed failures. Created 3 years, 8 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/errors.js ('k') | test/mjsunit/wasm/jsapi-harness.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/js-api.js
diff --git a/test/mjsunit/wasm/js-api.js b/test/mjsunit/wasm/js-api.js
index 3ab14d2d2d222dd91b8e208e9c7890c30e529c2b..689a0adbc4e187ed70067d9a1c69f606df95115d 100644
--- a/test/mjsunit/wasm/js-api.js
+++ b/test/mjsunit/wasm/js-api.js
@@ -365,7 +365,7 @@ assertErrorMessage(
assertErrorMessage(
() => new Instance(importingModule, {'': {g: () => {}}}), LinkError, '');
assertErrorMessage(
- () => new Instance(importingModule, {t: {f: () => {}}}), LinkError, '');
+ () => new Instance(importingModule, {t: {f: () => {}}}), TypeError, '');
assertTrue(new Instance(emptyModule) instanceof Instance);
assertTrue(new Instance(emptyModule, {}) instanceof Instance);
@@ -793,12 +793,12 @@ assertInstantiateError(
assertInstantiateError(
[importingModuleBinary, undefined], TypeError, /TODO: error messages?/);
assertInstantiateError(
- [importingModuleBinary, {}], LinkError, /TODO: error messages?/);
+ [importingModuleBinary, {}], TypeError, /TODO: error messages?/);
assertInstantiateError(
[importingModuleBinary, {'': {g: () => {}}}], LinkError,
/TODO: error messages?/);
assertInstantiateError(
- [importingModuleBinary, {t: {f: () => {}}}], LinkError,
+ [importingModuleBinary, {t: {f: () => {}}}], TypeError,
/TODO: error messages?/);
assertInstantiateError(
[memoryImportingModuleBinary, null], TypeError, /TODO: error messages?/);
@@ -806,10 +806,10 @@ assertInstantiateError(
[memoryImportingModuleBinary, undefined], TypeError,
/TODO: error messages?/);
assertInstantiateError(
- [memoryImportingModuleBinary, {}], LinkError, /TODO: error messages?/);
+ [memoryImportingModuleBinary, {}], TypeError, /TODO: error messages?/);
assertInstantiateError(
[memoryImportingModuleBinary, {'mod': {'my_memory': scratch_memory}}],
- LinkError, /TODO: error messages?/);
+ TypeError, /TODO: error messages?/);
assertInstantiateError(
[memoryImportingModuleBinary, {'': {'memory': scratch_memory}}], LinkError,
/TODO: error messages?/);
« no previous file with comments | « test/mjsunit/wasm/errors.js ('k') | test/mjsunit/wasm/jsapi-harness.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698