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
Hopefully an easier question: if I'm reading the WebIDL definition correctly, you could potentially call appHistory.update() without any parameters, correct? (Also note that the definition for update appears to match push exactly, and it is explicitly stated that push can be called without a parameter)
Oh, I remember the issue now. Web IDL enforces a rule that any trailing dictionaries with non-required members be marked optional. This works poorly for cases like this, where we want to require "the dictionary must contain at least one value". That has to be specified in prose, not IDL. See whatwg/webidl#903.
I'll add a comment to the IDL to remind us of this, and it'll become much clearer when it's fully specced.
Hopefully an easier question: if I'm reading the WebIDL definition correctly, you could potentially call
appHistory.update()
without any parameters, correct? (Also note that the definition forupdate
appears to matchpush
exactly, and it is explicitly stated thatpush
can be called without a parameter)In this case, what is the expected behavior of
appHistory.update()
(regarding updates tourl
and/orstate
, as well as event listeners)?The text was updated successfully, but these errors were encountered: