Bug 254602 - Web Inspector: Web inspector become unresponsive after opening online photos
Summary: Web Inspector: Web inspector become unresponsive after opening online photos
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Razvan Caliman
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-28 11:34 PDT by Razvan Caliman
Modified: 2023-03-31 09:23 PDT (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 Razvan Caliman 2023-03-28 11:34:57 PDT
<rdar://104210977>

## Steps to reproduce:

- Open Web Inspector and switch to the Sources tab
- Navigate to https://en.wikipedia.org/wiki/Malta
- Click on any photo to enlarge it (JPEG or PNG, not SVG images)
- Click on the enlarged photo to navigate to its URL

## Result
In the Sources panel, instead of thumbnail of the photo, there's large block of base64-encoded text of the image. 
For large images, Web Inspector freezes while rendering this block.
Comment 1 Razvan Caliman 2023-03-28 11:37:23 PDT
rdar://104210977
Comment 2 Razvan Caliman 2023-03-28 11:59:09 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12063
Comment 3 EWS 2023-03-31 09:23:12 PDT
Committed 262409@main (9b097d0ecda3): <https://commits.webkit.org/262409@main>

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