mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 12:44:43 +00:00
Previously, the Session depended on the page to return a .navigate state when a secondary navigation should take place. There were a lot of places where the page returned .done rather than .navigate. To simplify the code, .navigate is no longer a WaitResult. The page now just has to return .done, and the Session will check if there's a queued sub-navigation. This will fix cases where sub-navigation is triggered by a script being executed as the last step of page loading.
50 KiB
50 KiB