You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The onload event does not fire for an <iframe> without a src because the event listener is added after the <iframe> has already been inserted into the DOM. This only occurs when the <iframe> is optimized by the static content optimization.
Description
The
onload
event does not fire for an<iframe>
without asrc
because the event listener is added after the<iframe>
has already been inserted into the DOM. This only occurs when the<iframe>
is optimized by the static content optimization.Steps to Reproduce
Minimal repro
Expected Results
onload
handler firesActual Results
onload
handler does not firePossible Solution
Adding
data-foo={foo}
to the iframe disables the static content optimization, and the bug goes away.The text was updated successfully, but these errors were encountered: