LibWeb: Inherit BrowsingContext from AbstractBrowsingContext

This commit is contained in:
Aliaksandr Kalenik 2023-03-14 12:40:03 +03:00 committed by Tim Flynn
parent c4f94b0846
commit 40ec976781
Notes: sideshowbarker 2024-07-17 02:08:15 +09:00
3 changed files with 14 additions and 25 deletions

View file

@ -537,7 +537,7 @@ void HTMLHyperlinkElementUtils::follow_the_hyperlink(Optional<DeprecatedString>
// FIXME: "navigate" means implementing the navigation algorithm here:
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigate
hyperlink_element_utils_queue_an_element_task(Task::Source::DOMManipulation, [url_string, target] {
target->loader().load(url_string, FrameLoader::Type::Navigation);
verify_cast<BrowsingContext>(*target).loader().load(url_string, FrameLoader::Type::Navigation);
});
}