summaryrefslogtreecommitdiff
path: root/extensions/web/12_location.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/web/12_location.js
parent425b9a8228b62b68e3592771eda1538c9bc098d5 (diff)
refactor: introduce primordials for ext/web (#11228)
Diffstat (limited to 'extensions/web/12_location.js')
-rw-r--r--extensions/web/12_location.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/web/12_location.js b/extensions/web/12_location.js
index 75012396a..dd56fb47b 100644
--- a/extensions/web/12_location.js
+++ b/extensions/web/12_location.js
@@ -3,6 +3,8 @@
((window) => {
const { URL } = window.__bootstrap.url;
+ const { DOMException } = window.__bootstrap.domException;
+
const locationConstructorKey = Symbol("locationConstuctorKey");
// The differences between the definitions of `Location` and `WorkerLocation`