Bug 272690 - Make CachedImage calculate allowsOrientationOverride when loading the image is complete
Summary: Make CachedImage calculate allowsOrientationOverride when loading the image i...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-04-15 11:27 PDT by Said Abou-Hallawa
Modified: 2024-04-22 12:08 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2024-04-15 11:27:28 PDT
URL::protocolIsData() seems an expensive operation and it is called every time the size of an image is retrieved via CachedImage::imageSizeForRenderer().
Comment 1 Radar WebKit Bug Importer 2024-04-15 11:29:52 PDT
<rdar://problem/126495895>
Comment 2 Said Abou-Hallawa 2024-04-15 11:32:54 PDT
Pull request: https://github.com/WebKit/WebKit/pull/27272
Comment 3 EWS 2024-04-22 12:08:18 PDT
Committed 277830@main (da92319fd54b): <https://commits.webkit.org/277830@main>

Reviewed commits have been landed. Closing PR #27272 and removing active labels.