xhr: fix unit tests for 0.12.1

This commit is contained in:
Pierre Tachoire
2024-06-18 09:11:56 +02:00
parent 25ee34e65d
commit 9cdf1f5762
6 changed files with 24 additions and 17 deletions

View File

@@ -25,7 +25,7 @@ const Case = jsruntime.test_utils.Case;
const checkCases = jsruntime.test_utils.checkCases;
const parser = @import("netsurf");
const event_handler = @import("../events/event.zig").event_handler;
const EventHandler = @import("../events/event.zig").EventHandler;
const DOMException = @import("exceptions.zig").DOMException;
const Nod = @import("node.zig");
@@ -75,7 +75,7 @@ pub const EventTarget = struct {
eventType,
cbk,
capture orelse false,
event_handler,
EventHandler,
);
}