Bug 196906

Summary: Web process spins and 'this webpage is using significant memory' banner appears when loading a large PDF in an <img> element
Product: WebKit Reporter: Andy Estes <aestes>
Component: PDFAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Mac   
OS: Unspecified   
Attachments:
Description Flags
tall-pdf none

Description Andy Estes 2019-04-14 09:09:59 PDT
Created attachment 367401 [details]
tall-pdf

When loading the attached (very tall) single-page PDF in an <img> element, the web process spins for a long time and eventually Safari displays the 'this webpage is using significant memory' banner.

Steps to reproduce:
1. Download the 'tall-pdf' attachment, unzip it, and open tall-pdf.html in Safari.

Occurs:
Safari Technology Preview 79 on macOS 10.14.4
Comment 1 Radar WebKit Bug Importer 2019-04-14 09:13:49 PDT
<rdar://problem/49885955>