When a navigation occurs during unload of a page (or a next navigation), it's taking over the navigation history improperly. I think this observer needs to be reworked, but this fix will at least only make an in-page navigation "top" if it's for the same domain as the current top.
Since I don't have time to properly write unit tests, I'm putting this out here as a branch until I can do so.
When a navigation occurs during unload of a page (or a next navigation), it's taking over the navigation history improperly. I think this observer needs to be reworked, but this fix will at least only make an in-page navigation "top" if it's for the same domain as the current top.
Since I don't have time to properly write unit tests, I'm putting this out here as a branch until I can do so.