LibWeb: Don't load favicons twice for non-SVG documents

This seems to be a rebase mishap in bdb8af94ee.
This commit is contained in:
Andrew Kaster 2024-04-03 09:56:53 -06:00
commit 12fce55caf
Notes: sideshowbarker 2024-07-17 03:27:40 +09:00

View file

@ -2158,7 +2158,6 @@ void Document::update_readiness(HTML::DocumentReadyState readiness_value)
if (!is_decoded_svg()) {
HTML::HTMLLinkElement::load_fallback_favicon_if_needed(*this).release_value_but_fixme_should_propagate_errors();
}
HTML::HTMLLinkElement::load_fallback_favicon_if_needed(*this).release_value_but_fixme_should_propagate_errors();
navigable->traversable_navigable()->page().client().page_did_finish_loading(url());
} else {
m_needs_to_call_page_did_load = true;