summaryrefslogtreecommitdiff
path: root/op_crates/web/11_url.js
diff options
context:
space:
mode:
Diffstat (limited to 'op_crates/web/11_url.js')
-rw-r--r--op_crates/web/11_url.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/op_crates/web/11_url.js b/op_crates/web/11_url.js
index d60f9769a..af70dad21 100644
--- a/op_crates/web/11_url.js
+++ b/op_crates/web/11_url.js
@@ -593,7 +593,9 @@
try {
const isSpecial = specialSchemes.includes(parts.get(this).protocol);
parts.get(this).hostname = encodeHostname(value, isSpecial);
- } catch {}
+ } catch {
+ // pass
+ }
}
get href() {