mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-16 05:51:55 +00:00
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:
parent
3c45d155a6
commit
8cfac6ed71
Notes:
github-actions[bot]
2025-04-16 15:03:28 +00:00
Author: https://github.com/ADKaster
Commit: 8cfac6ed71
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4373
3 changed files with 39 additions and 4 deletions
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue