diff options
author | Martin Fischer <martin@push-f.com> | 2023-06-26 15:10:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-26 09:10:27 -0400 |
commit | 801b9ec62d94f201e67d053ee90dae0b70e50a42 (patch) | |
tree | 145f840c570dd72258ef309e9d31f100a5aa5786 /ext/url/00_url.js | |
parent | ad3c494b46c97f0cf91098b7ec2afa576ea7a3dd (diff) |
chore: fix typos (#19572)
Diffstat (limited to 'ext/url/00_url.js')
-rw-r--r-- | ext/url/00_url.js | 6 |
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 { |