Lightpanda: the headless browser designed for AI and automation
remove redundant attribute value update
Karl Seguin39099c5a178b
diff --git a/src/browser/webapi/element/Attribute.zig b/src/browser/webapi/element/Attribute.zigindex dce171fa5..cda34c6e8 100644--- a/src/browser/webapi/element/Attribute.zig+++ b/src/browser/webapi/element/Attribute.zig@@ -71,9 +71,6 @@ pub fn setValue(self: *Attribute, data_: ?String, frame: *Frame) !void {};// this takes ownership of the datatry el.setAttribute(self._name, data, frame);-- // not the most efficient, but we don't expect this to be called often- self._value = (try el.getAttribute(self._name, frame)) orelse String.empty;}pub fn getNamespaceURI(_: *const Attribute) ?[]const u8 {