LibWeb+LibGC: Import GC swift module into LibWeb and an initial user

Start work on a speculative HTML Parser in Swift. This component will
walk ahead of the normal HTML parser looking for fetch() requests to
make while the normal parser is blocked. This work exposed many holes in
the Swift C++ interop component, which have been reported upstream.
This commit is contained in:
Andrew Kaster 2025-03-22 19:12:30 -06:00 committed by Andrew Kaster
commit 9ee2473aa4
Notes: github-actions[bot] 2025-04-03 22:49:20 +00:00
5 changed files with 70 additions and 4 deletions

View file

@ -9,6 +9,7 @@
#include <AK/ByteString.h>
#include <AK/Error.h>
#include <AK/Function.h>
#include <AK/Swift.h>
namespace Web {
@ -22,6 +23,6 @@ public:
private:
ByteString m_path {};
};
} SWIFT_UNSAFE_REFERENCE; // FIXME: This type is actually move-only, not unsafe
}