Event.composedPath and adjusted target when crossing shadowroot boundary

This commit is contained in:
Karl Seguin
2025-11-27 16:57:33 +08:00
parent 0d57356c11
commit f25b8fc7b0
4 changed files with 282 additions and 26 deletions

View File

@@ -144,7 +144,7 @@ pub fn callWithThis(self: *const Function, comptime T: type, this: anytype, args
const result = self.func.castToFunction().call(context.v8_context, js_this, js_args);
if (result == null) {
// std.debug.print("CB ERR: {s}\n", .{self.src() catch "???"});
std.debug.print("CB ERR: {s}\n", .{self.src() catch "???"});
return error.JSExecCallback;
}