Skip to content

Commit 50fc09a

Browse files
[HTML] Avoid unresolved promises in Navigation API traversal whatwg/html@d385982
1 parent a80f6d8 commit 50fc09a

1 file changed

Lines changed: 26 additions & 9 deletions

File tree

HTML-navigation-apis-ja.html

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@
145145

146146
●●options
147147

148-
spec_date:2026-01-16
149-
trans_update:2026-01-17
148+
spec_date:2026-02-26
149+
trans_update:2026-02-27
150150
source_checked: WINDOW
151151
page_state_key:HTML
152152
spec_status:LS
@@ -312,7 +312,6 @@
312312
遂げて:carry outして:~
313313
遂げら:carry outさ:~
314314
処する:dealする:~
315-
処した:dealした:~
316315
給され:supplyされ:~
317316
差挟まれ:interleaveされ:差し挟まれ
318317
追跡期間:duration:~
@@ -3870,20 +3869,38 @@ <h5 title="Initiating navigations">7.2.6.7. ~naviの起動-法</h5>
38703869
<p>
38713870
~IF[
38723871
%~target履歴~entry ~EQ %~navigable にて`作動中な~entry$nav
3873-
3872+
]:
3873+
3874+
If targetSHE is navigable's active session history entry, then:
3875+
</p>
3876+
<ol>
3877+
<li>
3878+
<p>
3879+
`大域~taskを~queueする$( `~naviと辿り~task~source$, %~navi に`関連な大域~obj$, 次の手続き )
3880+
3881+
Queue a global task on the navigation and traversal task source given navigation's relevant global object to\
3882+
</p>
3883+
3884+
<div class="algo">
3885+
手続きは
38743886
3887+
`完遂-時の~promiseを却下する$( %~API~method追跡子, `InvalidStateError$E 例外 )
3888+
3889+
reject the finished promise for apiMethodTracker with an "InvalidStateError" DOMException.
3890+
</div>
3891+
</li>
3892+
<li>
38753893
~RET
38763894
3877-
If targetSHE is navigable's active session history entry, then abort these steps.
3878-
</p>
3895+
Abort these steps.
3896+
</li>
3897+
</ol>
38793898

38803899
<p class="note">注記:
38813900
これが生じ得るのは、
38823901
以前に`~queueされ@~HTMLnav#tn-append-session-history-traversal-steps$た辿りが,すでに この`~session履歴~entry$へ連れて行った場合である。
3883-
その事例では、
3884-
以前の辿りが, %~API~method追跡子 をすでに処したことになる。
38853902
3886-
This can occur if a previously queued traversal already took us to this session history entry. In that case the previous traversal will have dealt with apiMethodTracker already.
3903+
This can occur if a previously queued traversal already took us to this session history entry.
38873904
</p>
38883905
</li>
38893906
<li>

0 commit comments

Comments
 (0)