Bug 252740 - Native iframe lazyload doesn't load when setting src with JavaScript
Summary: Native iframe lazyload doesn't load when setting src with JavaScript
Status: RESOLVED DUPLICATE of bug 252636
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: Safari 16
Hardware: iPhone / iPad iOS 16
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-22 04:23 PST by Mads Erik Forberg
Modified: 2023-02-28 18:54 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mads Erik Forberg 2023-02-22 04:23:02 PST
When using progressive enhancement for lazyloading iframes. Setting src on with script after doesn't seem to load the contents in iframe.

See examples on this URL: https://static.vg.no/mads_test/iframe-lazy.html


Tested on iOS 16.4 (20E5212f)
Comment 1 Mads Erik Forberg 2023-02-22 04:34:26 PST
This works in other browsers (Chrome and Firefox)
Comment 2 Chris Dumez 2023-02-28 18:18:00 PST
I can reproduce. I'll try to get to it soon.
Comment 3 Chris Dumez 2023-02-28 18:54:30 PST
I actually cannot reproduce after https://commits.webkit.org/260612@main. Looks like I already fixed this.

*** This bug has been marked as a duplicate of bug 252636 ***