summaryrefslogtreecommitdiff
path: root/extensions/webgpu/01_webgpu.js
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2021-07-03 21:32:28 +0200
committerGitHub <noreply@github.com>2021-07-03 21:32:28 +0200
commitbf39b883d6b585a08abb4d272d9edc874545271a (patch)
treee1dfdd9a269226a40c946d151d209cdb30b8b15a /extensions/webgpu/01_webgpu.js
parent425b9a8228b62b68e3592771eda1538c9bc098d5 (diff)
refactor: introduce primordials for ext/web (#11228)
Diffstat (limited to 'extensions/webgpu/01_webgpu.js')
-rw-r--r--extensions/webgpu/01_webgpu.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/webgpu/01_webgpu.js b/extensions/webgpu/01_webgpu.js
index 5ff6cde46..b28e7a0e4 100644
--- a/extensions/webgpu/01_webgpu.js
+++ b/extensions/webgpu/01_webgpu.js
@@ -12,6 +12,7 @@
const core = window.Deno.core;
const webidl = window.__bootstrap.webidl;
const eventTarget = window.__bootstrap.eventTarget;
+ const { DOMException } = window.__bootstrap.domException;
/**
* @param {any} self