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
The URL specification changed in 2016 [1] [2] such that now the origin's port
should be the same as the URL's port. This means that the port can
`None` in the case that it is the default port for a scheme.
1. whatwg/url@b0e4def
2. whatwg/html#870Fixes#821.
According to https://html.spec.whatwg.org/multipage/browsers.html#concept-origin, the port part of a tuple origin can be
null
, so it seems thatOrigin::Tuple(String, Host<String>, u16)
should beOrigin::Tuple(String, Host<String>, Option<u16>)
The text was updated successfully, but these errors were encountered: