Skip to content

Commit

Permalink
Fix Location-object navigate parameter declaration
Browse files Browse the repository at this point in the history
The default for historyHandling is declared as "auto", but "auto" is not a valid value for a history handling behavior. Fix it to be a NavigationHistoryBehavior instead.
  • Loading branch information
ADKaster committed Jan 25, 2024
1 parent 0c6f327 commit f406d8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -90072,9 +90072,9 @@ interface <dfn interface>Location</dfn> { // but see also <a href="#the-location
</ol>

<p>To <dfn><code>Location</code>-object navigate</dfn> a <code>Location</code> object
<var>location</var> to a <span>URL</span> <var>url</var>, optionally given a <span>history
handling behavior</span> <var>historyHandling</var> (default "<code
data-x="NavigationHistoryBehavior-auto">auto</code>"):</p>
<var>location</var> to a <span>URL</span> <var>url</var>, optionally given a <code
data-x="NavigationHistoryBehavior">NavigationHistoryBehavior</code> <var>historyHandling</var>
(default "<code data-x="NavigationHistoryBehavior-auto">auto</code>"):</p>

<ol>
<li><p>Let <var>navigable</var> be <var>location</var>'s <span>relevant global object</span>'s
Expand Down

0 comments on commit f406d8a

Please sign in to comment.