[Webkit-unassigned] [Bug 231150] Safari complains about invalid `imagesrcset` value in <link rel=preload> where Chrome doesn't

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 21 17:27:57 PDT 2023


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

Ahmad Saleem <ahmad.saleem792 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ahmad.saleem792 at gmail.com

--- Comment #5 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
(In reply to styfle from comment #4)
> I believe this bug causes Safari to preload the wrong image since link.href
> refers to the img.src but it should use link.imagesrcset when available to
> match the img.srcset and fetch the correct image.
> 
> When can we expect the fix to ship unflagged?

It is currently as 'testable':

https://github.com/WebKit/WebKit/blob/597aa395dcdcdb2c1c48069f450f7419a30df72d/Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml#L3735

You can get idea on how flag works:

https://github.com/WebKit/WebKit/blob/597aa395dcdcdb2c1c48069f450f7419a30df72d/Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml#L27

-- 
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/20230522/480f797e/attachment.htm>


More information about the webkit-unassigned mailing list