Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 344c9a838c7845d49b57c311662a0924a0101927
https://github.com/WebKit/WebKit/commit/344c9a838c7845d49b57c311662a0924a0101927
Author: Rob Buis <[email protected]>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/traverseTo-detach-same-document-expected.txt
M Source/WebCore/page/Navigation.cpp
Log Message:
-----------
[Navigation] Abort ongoing navigation correctly when in detached state
https://bugs.webkit.org/show_bug.cgi?id=275496
Reviewed by Alex Christensen.
When dispaching the navigate event the frame may be detached and there is no
script execution context left.
In that case, fall back to the script execution context the JS promise is
created in.
*
LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/traverseTo-detach-same-document-expected.txt:
* Source/WebCore/page/Navigation.cpp:
(WebCore::Navigation::abortOngoingNavigation):
(WebCore::Navigation::innerDispatchNavigateEvent):
Canonical link: https://commits.webkit.org/280167@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