Skip to content

Commit 28397bf

Browse files
committed
window: frame is obsolete, ignore them from frames list
1 parent 1b7abf9 commit 28397bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/browser/html/window.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ pub const Window = struct {
140140
const frames = try domcss.querySelectorAll(
141141
page.call_arena,
142142
parser.documentHTMLToNode(self.document),
143-
"frame,iframe",
143+
"iframe",
144144
);
145145

146146
if (index >= frames.nodes.items.len) {
@@ -159,7 +159,7 @@ pub const Window = struct {
159159
const frames = try domcss.querySelectorAll(
160160
page.call_arena,
161161
parser.documentHTMLToNode(self.document),
162-
"frame,iframe",
162+
"iframe",
163163
);
164164

165165
return frames.get_length();

0 commit comments

Comments
 (0)