Since this branch requires that atSignSeen is true, we must have already emitted an invalid-credentials validation error and this emission must be a duplicate.
What this check is actually doing is confirming that the host is not empty before it begins parsing it, so host-missing is a more appropriate error to emit.
[ ] At least two implementers are interested (and none opposed):
…
…
[ ] Tests are written and can be reviewed and commented upon at:
Since this branch requires that
atSignSeen
is true, we must have already emitted aninvalid-credentials
validation error and this emission must be a duplicate.What this check is actually doing is confirming that the host is not empty before it begins parsing it, so
host-missing
is a more appropriate error to emit.(See WHATWG Working Mode: Changes for more details.)
Preview | Diff