From bc2d0b6a876666177790cdce0676b85770b58337 Mon Sep 17 00:00:00 2001 From: Aaron Rosenberg Date: Sun, 17 May 2026 12:48:37 -0400 Subject: [PATCH] Fix idling? blocking on lazy iframes that Chrome never loads MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Chrome fires Page.frameAttached for every iframe in the DOM, but only fires Page.frameStoppedLoading for frames it actually loads. For a loading="lazy" iframe parked outside the viewport (e.g. inside a closed
, or injected by an inline + + diff --git a/spec/support/views/lazy_iframes_two.erb b/spec/support/views/lazy_iframes_two.erb new file mode 100644 index 00000000..b9dfc2e9 --- /dev/null +++ b/spec/support/views/lazy_iframes_two.erb @@ -0,0 +1,14 @@ + + + + Two lazy iframes + + + +

Two lazy iframes

+
+ + +
+ +