Skip to content

Commit d22a02d

Browse files
[urlpattern] Fix unexpected stripping of default port substrings during compilation whatwg/urlpattern@aeb2019
1 parent 9733517 commit d22a02d

1 file changed

Lines changed: 14 additions & 12 deletions

File tree

urlpattern-ja.html

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@
123123
●●options
124124

125125
spec_title:URL
126-
spec_date:2026-03-20
127-
trans_update:2026-03-20
126+
spec_date:2026-06-15
127+
trans_update:2026-06-17
128128
source_checked:250812
129129
spec_status:LS
130130
original_url:https://urlpattern.spec.whatwg.org/
@@ -953,7 +953,7 @@
953953
<a href="https://whatwg.org/chat">Chat on Matrix</a>
954954
Commits:
955955
<a href="https://github.com/whatwg/urlpattern/commits">GitHub whatwg/urlpattern/commits</a>
956-
<a href="/commit-snapshots/203d435c32272a10bdccc2c6dfa8a51ee5c6b92c/" id="commit-snapshot-link">Snapshot as of this commit</a>
956+
<a href="/commit-snapshots/aeb2019cf3aa1fb31af134a682c0255302a41297/" id="commit-snapshot-link">Snapshot as of this commit</a>
957957
<a href="https://twitter.com/urlpatterns">@urlpatterns</a>
958958
Tests:
959959
<a href="https://github.com/web-platform-tests/wpt/tree/master/urlpattern">web-platform-tests urlpattern/</a> (<a href="https://github.com/web-platform-tests/wpt/labels/urlpattern">ongoing work</a>)
@@ -8733,23 +8733,25 @@ <h3 title="Encoding callbacks">3.1. 符号化~callback</h3>
87338733
</li>
87348734
<li>
87358735
<p>
8736-
~IF[
8737-
%~protocol値 ~NEQ ε
8738-
8739-
8740-
%~dummy~URL の`~scheme$url ~SET %~protocol値
8741-
8742-
If protocolValue was given, then set dummyURL’s scheme to protocolValue.
8736+
%~dummy~URL の`~scheme$url ~SET %~protocol値 に応じて
8737+
⇒#
8738+
ε ならば空~文字列 /
8739+
~ELSE_ %~protocol値
87438740
</p>
87448741

87458742
<p class="note">注記:
87468743
ここで`~scheme$urlを設定するのは、[
87478744
`基本~URL構文解析器$が`既定~port$を認識して正規化する
87488745
]ようにするためである。
8746+
</p>
8747+
8748+
8749+
If protocolValue was given, then set dummyURL’s scheme to protocolValue.
87498750
87508751
Note, we set the URL record’s scheme in order for the basic URL parser to recognize and normalize default port values.
8751-
</p>
8752-
</li>
8752+
8753+
Otherwise, set dummyURL’s scheme to the empty string.
8754+
</li>
87538755
<li>
87548756
%構文解析-結果 ~LET `~API用に~URL構文解析する$( %~port値, %~dummy~URL, `~port$st )
87558757

0 commit comments

Comments
 (0)