WebPlatformForEmbedded / WPEWebKit

WPE WebKit port (downstream)
210 stars 135 forks source link

Fragment navigation should be cancelled if there is ongoing navigation #1357

Closed pgorszkowski-igalia closed 1 week ago

pgorszkowski-igalia commented 1 week ago

Fragment navigation is synchronous, while navigation is asynchronous. It can happen that fragment navigation starts when navigation is in the policy or provisional step of loading. In that case, we should cancel the requested fragment navigation and make the navigation finish.

pgorszkowski-igalia commented 1 week ago

The fix was tested.