[Webkit-unassigned] [Bug 190031] Creating an image via JavaScript will download both src and srcset

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 9 03:07:11 PDT 2024


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

--- Comment #9 from Maciass <maciej-rafalski at o2.pl> ---
// example 2, src first
const newImage = new Image();
newImage.src = 'https://domain.com/image.jpg';
newImage.srcset = 'https://domain.com/image.jpg?w=200 200w';
document.body.appendChild(newImage);

-- 
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/20240609/3c52e7ae/attachment.htm>


More information about the webkit-unassigned mailing list