LibWeb: Store a SpeculativeHTMLParser on the HTML Parser

The parser was previously added, but unused. Actually attaching one to
the HTML Parser will let us test the limits of Swift interop.
This commit is contained in:
Andrew Kaster 2025-04-04 09:20:27 -06:00 committed by Andrew Kaster
parent 3c45d155a6
commit 8cfac6ed71
Notes: github-actions[bot] 2025-04-16 15:03:28 +00:00
3 changed files with 39 additions and 4 deletions

View file

@ -57,4 +57,8 @@ public final class SpeculativeHTMLParser: HeapAllocatable {
public func visitEdges(_ visitor: GC.Cell.Visitor) {
visitor.visit(parser)
}
public func poke() {
print("Hello from SpeculativeHTMLParser")
}
}