Skip to content

Commit ff5c725

Browse files
committed
Incorporate credentials error change from whatwg/url#793
1 parent ab0f586 commit ff5c725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/url-state-machine.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ URLStateMachine.prototype["parse authority"] = function parseAuthority(c, cStr)
755755
} else if (isNaN(c) || c === p("/") || c === p("?") || c === p("#") ||
756756
(isSpecial(this.url) && c === p("\\"))) {
757757
if (this.atFlag && this.buffer === "") {
758-
this.validationErrors.push("invalid-credentials");
758+
this.validationErrors.push("host-missing");
759759
return failure;
760760
}
761761
this.pointer -= countSymbols(this.buffer) + 1;

0 commit comments

Comments
 (0)