Lightpanda: the headless browser designed for AI and automation
Update src/browser/webapi/collections/HTMLCollection.zig
Francis Bouvier5072722222ae
diff --git a/src/browser/webapi/collections/HTMLCollection.zig b/src/browser/webapi/collections/HTMLCollection.zigindex bcaaf627b..1dbeae894 100644--- a/src/browser/webapi/collections/HTMLCollection.zig+++ b/src/browser/webapi/collections/HTMLCollection.zig@@ -228,7 +228,7 @@ pub const JsApi = struct {// The supported property names: for each element represented by the// collection, in tree order, its id and (for HTML elements) its name// attribute, skipping empty values and duplicates.- fn getNames(self: *HTMLCollection, exec: *const Execution) !js.Array {+ fn getNames(self: *HTMLCollection, frame: *Frame) !js.Array {const frame = switch (exec.js.global) {.frame => |f| f,.worker => unreachable,