mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-07-30 17:25:58 -04:00
Update src/browser/webapi/element/Attribute.zig
Co-authored-by: Karl Seguin <karlseguin@users.noreply.github.com>
This commit is contained in:
@@ -625,7 +625,7 @@ pub const NamedNodeMap = struct {
|
||||
|
||||
fn getIndexes(self: *const NamedNodeMap, frame: *Frame) !js.Array {
|
||||
const len = self.length();
|
||||
var arr = exec.js.local.?.newArray(len);
|
||||
var arr = frame.js.local.?.newArray(len);
|
||||
for (0..len) |i| {
|
||||
_ = try arr.set(@intCast(i), i, .{});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user