You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think spec "switches" are defined rigorously enough to say whether they must be exhaustive or not. It's reasonable to interpret the current text as just not performing any steps when the value doesn't hit any of the cases.
However, if there is a reasonable thing to assert in the null case (which occurs for navigable creation/destruction updates), then we could add a clause there.
What is the issue with the HTML Standard?
In #9856 @noamr added the activation API to
navigation
.Part of that update was the addition of a few assertions as step 12.5 of apply the history step:
https://html.spec.whatwg.org/multipage/browsing-the-web.html#apply-the-history-step
However, the navigationType variable is passed in as a
NavigationType-or-null
.Is there a standard practice for switching on
or-null
variables where the null state is simply ignored?Or is there a missing update to the rest of the spec to always pass a navigation type? or a missing default value?
The text was updated successfully, but these errors were encountered: