Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b8bf2f7cf2baf3c29cddc44427915994e8b82ee2
      
https://github.com/WebKit/WebKit/commit/b8bf2f7cf2baf3c29cddc44427915994e8b82ee2
  Author: Rob Buis <[email protected]>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

  Changed paths:
    M Source/WebCore/page/Navigation.cpp

  Log Message:
  -----------
  [Navigation] Remove ASSERT added in r280167
https://bugs.webkit.org/show_bug.cgi?id=275737

Reviewed by Darin Adler.

In r280167 the behaviour change was implemented to use the ongoing promise 
information
as a fallback to determine the script execution context, since the script 
execution context
may be gone in detached state. However, tests such as 
navigate-event/intercept-detach.html
show that there is no guarantee that there is any ongoing promise at all, so 
remove the
ASSERT and just return early in that case.

* Source/WebCore/page/Navigation.cpp:
(WebCore::Navigation::abortOngoingNavigation):

Canonical link: https://commits.webkit.org/280305@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to