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

Unified Diff: test/mjsunit/wasm/verify-function-basic-errors.js

Issue 2417773004: [wasm] Reduce usage of old Wasm.* API in JS tests. (Closed)
Patch Set: Created 4 years, 2 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/instantiate-module-basic.js ('k') | test/mjsunit/wasm/verify-function-simple.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/verify-function-basic-errors.js
diff --git a/test/mjsunit/wasm/verify-function-basic-errors.js b/test/mjsunit/wasm/verify-function-basic-errors.js
deleted file mode 100644
index 74c9a96d6816a5cf637cefe664093bce4f98c084..0000000000000000000000000000000000000000
--- a/test/mjsunit/wasm/verify-function-basic-errors.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright 2015 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Flags: --expose-wasm
-
-function Foo() { }
-
-assertThrows(function() { Wasm.verifyFunction(); })
-assertThrows(function() { Wasm.verifyFunction(0); })
-assertThrows(function() { Wasm.verifyFunction("s"); })
-assertThrows(function() { Wasm.verifyFunction(undefined); })
-assertThrows(function() { Wasm.verifyFunction(1.1); })
-assertThrows(function() { Wasm.verifyFunction(1/0); })
-assertThrows(function() { Wasm.verifyFunction(null); })
-assertThrows(function() { Wasm.verifyFunction(new Foo()); })
-assertThrows(function() { Wasm.verifyFunction(new ArrayBuffer(0)); })
-assertThrows(function() { Wasm.verifyFunction(new ArrayBuffer(140000)); })
« no previous file with comments | « test/mjsunit/wasm/instantiate-module-basic.js ('k') | test/mjsunit/wasm/verify-function-simple.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698