Skip to content

Commit

Permalink
Make all same-document navigations sync
Browse files Browse the repository at this point in the history
This includes ones generated by intercepting the navigate event with event.respondWith(). However, the promise passed to event.respondWith() is still useful for signaling the navigation's successful or unsuccessful completion. That is used to fuel browser UI, such as the loading spinner, as well as promises and events. And a rejected promise passed to event.respondWith() will roll back the navigation.

Closes #19. Closes #44.
  • Loading branch information
domenic committed Feb 25, 2021
1 parent e2c4bf3 commit ca232c2
Show file tree
Hide file tree
Showing 2 changed files with 296 additions and 59 deletions.
Loading

0 comments on commit ca232c2

Please sign in to comment.