Update src/browser/webapi/element/Attribute.zig

Co-authored-by: Karl Seguin <karlseguin@users.noreply.github.com>
This commit is contained in:
Francis BouvierandKarl Seguin authored and GitHub committed 2026-07-14 14:35:58 +02:00
1 parent 2bf5c4abb3
commit 5f553144fb
1 file changed
+1 -1
+1 -1
View File
@@ -633,7 +633,7 @@ pub const NamedNodeMap = struct {
}
fn getNames(self: *const NamedNodeMap, exec: *const js.Execution) !js.Array {
const names = try self.list().getNames(exec.call_arena);
const names = try self.list().getNames(exec.local_arena);
var arr = exec.js.local.?.newArray(@intCast(names.len));
for (names, 0..) |name, i| {
_ = try arr.set(@intCast(i), name, .{});