Closed stephenmcgruer closed 4 years ago
I am assuming from scanning the spec that it intends to extend https://html.spec.whatwg.org/multipage/history.html#the-location-interface, which should be done via a partial interface (https://heycam.github.io/webidl/#dfn-partial-interface) rather than just re-declaring Location. Something like:
partial interface Location { readonly attribute FragmentDirective fragmentDirective; }
This came up when we tried to add the spec to WPT: https://github.com/web-platform-tests/wpt/pull/23828
I am assuming from scanning the spec that it intends to extend https://html.spec.whatwg.org/multipage/history.html#the-location-interface, which should be done via a partial interface (https://heycam.github.io/webidl/#dfn-partial-interface) rather than just re-declaring Location. Something like:
This came up when we tried to add the spec to WPT: https://github.com/web-platform-tests/wpt/pull/23828