Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit534692e

Browse files
authored
Editorial: replace error with reason in "abort a NavigateEvent"
The input parameter is named reason, not error as it used to be named before this algorithm was extracted from "abort the ongoing navigation".Fixes#11966.
1 parent5c9a43e commit534692e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎source‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100223,7 +100223,7 @@ const p2 = navigation.navigate(url2).finished;</code></pre>
100223100223

100224100224
<li><p>If <var>navigation</var>'s <span>ongoing API method tracker</span> is non-null, then
100225100225
<span>reject the finished promise</span> for <var>apiMethodTracker</var> with
100226-
<var>error</var>.</p></li>
100226+
<var>reason</var>.</p></li>
100227100227

100228100228
<li><p><span data-x="concept-event-fire">Fire an event</span> named <code
100229100229
data-x="event-navigateerror">navigateerror</code> at <var>navigation</var> using
@@ -100236,12 +100236,12 @@ const p2 = navigation.navigate(url2).finished;</code></pre>
100236100236
<li><p>Reject <var>navigation</var>'s <span
100237100237
data-x="concept-Navigation-transition">transition</span>'s <span
100238100238
data-x="concept-NavigationTransition-committed">committed promise</span> with
100239-
<var>error</var>.</p></li>
100239+
<var>reason</var>.</p></li>
100240100240

100241100241
<li><p>Reject <var>navigation</var>'s <span
100242100242
data-x="concept-Navigation-transition">transition</span>'s <span
100243100243
data-x="concept-NavigationTransition-finished">finished promise</span> with
100244-
<var>error</var>.</p></li>
100244+
<var>reason</var>.</p></li>
100245100245

100246100246
<li><p>Set <var>navigation</var>'s <span data-x="concept-Navigation-transition">transition</span>
100247100247
to null.</p></li>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp