Improve correctness of Node.compareDocumentPosition and Range api.

Should fix a good chunk (~20K I think) of the recently broken WPT tests.
This commit is contained in:
Karl Seguin
2025-08-19 18:23:54 +08:00
parent d4d8773fd1
commit d51a03f1b6
5 changed files with 252 additions and 24 deletions

View File

@@ -3866,7 +3866,7 @@ const NamedFunction = struct {
// this can add as much as 10 seconds of compilation time.
fn logFunctionCallError(arena: Allocator, isolate: v8.Isolate, context: v8.Context, err: anyerror, function_name: []const u8, info: v8.FunctionCallbackInfo) void {
const args_dump = serializeFunctionArgs(arena, isolate, context, info) catch "failed to serialize args";
log.warn(.js, "function call error", .{
log.info(.js, "function call error", .{
.name = function_name,
.err = err,
.args = args_dump,