From b6bd793edea78e2a1d639574fc4dcd9749683cbe Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 5 Aug 2022 01:06:29 +0200 Subject: [PATCH] LibWeb: Clear the "is initial about:blank" flag in Document.write() --- Userland/Libraries/LibWeb/DOM/Document.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/DOM/Document.cpp b/Userland/Libraries/LibWeb/DOM/Document.cpp index 7afdbb91c9..651783c6ac 100644 --- a/Userland/Libraries/LibWeb/DOM/Document.cpp +++ b/Userland/Libraries/LibWeb/DOM/Document.cpp @@ -458,7 +458,8 @@ ExceptionOr Document::open(String const&, String const&) // FIXME: 3. Run the URL and history update steps with document and newURL. } - // FIXME: 13. Set document's is initial about:blank to false. + // 13. Set document's is initial about:blank to false. + set_is_initial_about_blank(false); // FIXME: 14. If document's iframe load in progress flag is set, then set document's mute iframe load flag.