Bug 167889 - Mobile Safari crashes when dynamically adding large SVGs
Summary: Mobile Safari crashes when dynamically adding large SVGs
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: Safari 10
Hardware: iPhone / iPad iOS 10
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-02-06 10:12 PST by yigu
Modified: 2017-02-06 18:12 PST (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 yigu 2017-02-06 10:12:33 PST
When dynamically adding SVGs with large foreign objects, Safari crashes on iOS (works well on Mac).

Steps to Reproduce:
1. Open http://output.jsbin.com/soyedaf/1
2. Click the image to add SVGs

Expected Results:
The image gets blurred.

Actual Results:
Page crashes.

Version:
iOS

Configuration:
If the number of svgs changes from 4 to 2 or the size of the spacer div changes from 1500px to 500px. SVGs can be added and the image can be blurred. Suspecting that the current config exceeds the size limit of mobile Safari?
Comment 1 Radar WebKit Bug Importer 2017-02-06 18:12:16 PST
<rdar://problem/30389472>