summaryrefslogtreecommitdiff
path: root/ext/url/00_url.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/url/00_url.js')
-rw-r--r--ext/url/00_url.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/url/00_url.js b/ext/url/00_url.js
index 49dd2c46f..2a238eae1 100644
--- a/ext/url/00_url.js
+++ b/ext/url/00_url.js
@@ -731,14 +731,14 @@ class URL {
get username() {
webidl.assertBranded(this, URLPrototype);
// https://github.com/servo/rust-url/blob/1d307ae51a28fecc630ecec03380788bfb03a643/url/src/lib.rs#L881
- const schemeSeperatorLen = 3; /* :// */
+ const schemeSeparatorLen = 3; /* :// */
if (
this.#hasAuthority() &&
- this.#usernameEnd > this.#schemeEnd + schemeSeperatorLen
+ this.#usernameEnd > this.#schemeEnd + schemeSeparatorLen
) {
return StringPrototypeSlice(
this.#serialization,
- this.#schemeEnd + schemeSeperatorLen,
+ this.#schemeEnd + schemeSeparatorLen,
this.#usernameEnd,
);
} else {