1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00

LibWeb: Abort the active document when navigating a browsing context

This commit is contained in:
Andreas Kling 2022-09-21 01:40:31 +02:00
parent 51d7ea7ece
commit 68d0f30368

View file

@ -953,7 +953,8 @@ DOM::ExceptionOr<void> BrowsingContext::navigate(
// FIXME: 13. If unloadPromptResult is "refuse", then return a new WebDriver BiDi navigation status whose id is navigationId and status is "canceled".
// FIXME: 14. Abort the active document of browsingContext.
// 14. Abort the active document of browsingContext.
active_document()->abort();
// FIXME: 15. If browsingContext is a child browsing context, then put it in the delaying load events mode.
// The user agent must take this child browsing context out of the delaying load events mode when this navigation algorithm later matures,