aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/test-opfs-vfs.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/wasm/test-opfs-vfs.js')
-rw-r--r--ext/wasm/test-opfs-vfs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/test-opfs-vfs.js b/ext/wasm/test-opfs-vfs.js
index 292d77af1..96d0eacfc 100644
--- a/ext/wasm/test-opfs-vfs.js
+++ b/ext/wasm/test-opfs-vfs.js
@@ -22,7 +22,7 @@ const tryOpfsVfs = async function(sqlite3){
const opfs = sqlite3.opfs;
log("tryOpfsVfs()");
if(!sqlite3.opfs){
- const e = toss("OPFS is not available.");
+ const e = new Error("OPFS is not available.");
error(e);
throw e;
}