[Webkit-unassigned] [Bug 237703] Native image Lazyloading sometimes doesn’t load

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 15 17:54:10 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=237703

--- Comment #12 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
I think the issue is in ImageLoader::updateFromElement(). For images that have an initial source, this code:

        // Use url from original request for lazy loads that are no longer in deferred state.
        URL imageURL = m_lazyImageLoadState == LazyImageLoadState::LoadImmediately ? m_image->url() : document.completeURL(sourceURI(attr));
        ResourceRequest resourceRequest(imageURL);
        resourceRequest.setInspectorInitiatorNodeIdentifier(InspectorInstrumentation::identifierForNode(m_element));

continues to use the old image URL depending on the state.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220816/27a6b3ac/attachment.htm>


More information about the webkit-unassigned mailing list