Skip to content

Commit

Permalink
also need to serialize in the encoding callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyroman committed Jan 15, 2024
1 parent fa97621 commit e399ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1740,7 +1740,7 @@ To <dfn>convert a modifier to a string</dfn> given a [=part/modifier=] |modifier
<p class="note">Note, we set the [=URL record=]'s [=url/scheme=] in order for the [=basic URL parser=] to recognize and normalize default port values.</p>
1. Let |parseResult| be the result of running [=basic URL parser=] given |portValue| with |dummyURL| as <i>[=basic URL parser/url=]</i> and [=port state=] as <i>[=basic URL parser/state override=]</i>.
1. If |parseResult| is failure, then throw a {{TypeError}}.
1. Return |dummyURL|'s [=url/port=] or empty string if it is null.
1. Return |dummyURL|'s [=url/port=], [=serialize an integer|serialized=], or empty string if it is null.
</div>

<div algorithm>
Expand Down

0 comments on commit e399ab0

Please sign in to comment.