WICG / navigation-api

The new navigation API provides a new interface for navigations and session history, with a focus on single-page application navigations.
https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-api
484 stars 30 forks source link

Fix updating the navigation API entries for HTML spec rewrite #253

Closed domenic closed 1 year ago

domenic commented 1 year ago

As noted in 12bd008b4579fdb1d8021c9ee1ea23d2a1b411fe and https://github.com/WICG/navigation-api/issues/221#issuecomment-1082260105, we were not correctly dealing with the fact that access to the session history entries is not possible from the main thread, where the Navigation API lives. This updates the spec to pass session history entries appropriately across in-parallel boundaries.

Still some parameter-threading TODOs left in this PR so I might not merge it right away, but uploading it now...


Preview | Diff