Everywhere: Abandon Swift adoption

After making no progress on this for a very long time, let's acknowledge
it's not going anywhere and remove it from the codebase.
This commit is contained in:
Andreas Kling 2026-02-17 14:23:39 +01:00 committed by Tim Flynn
parent b3231ea2a0
commit e87f889e31
Notes: github-actions[bot] 2026-02-17 15:49:30 +00:00
84 changed files with 22 additions and 4747 deletions

View file

@ -51,10 +51,6 @@
#include <LibWeb/SVG/SVGScriptElement.h>
#include <LibWeb/SVG/TagNames.h>
#ifdef LIBWEB_USE_SWIFT
# include <LibWeb-Swift.h>
#endif
namespace Web::HTML {
GC_DEFINE_ALLOCATOR(HTMLParser);
@ -205,10 +201,6 @@ void HTMLParser::visit_edges(Cell::Visitor& visitor)
void HTMLParser::initialize(JS::Realm& realm)
{
Base::initialize(realm);
#if defined(LIBWEB_USE_SWIFT)
m_speculative_parser = GC::ForeignRef<Web::SpeculativeHTMLParser>::allocate(realm.heap(), this);
#endif
}
void HTMLParser::run(HTMLTokenizer::StopAtInsertionPoint stop_at_insertion_point)