Bug 84168

Summary: Large form post data causes unstoppable memory growth and crash
Product: WebKit Reporter: Matt <matt.slocum>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Major CC: ap, beidson, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.7   
URL: http://chrisbosco.com/proto/safari/

Description Matt 2012-04-17 11:04:25 PDT
The example above is not from me, but from someone else that is also experiencing the same problem http://chrisbosco.com/proto/safari/

An HTML5 Canvas element creates very large data strings when submitting in a form using mycanvas.toDataURL(). Other browsers submit large form post data properly, but Mac Safari, Mac Chrome, iOS Safari (iPhone & iPad) causes huge memory growth. Post data around 500KB makes the browser spike to >600MB of memory and become completely unresponsive (iOS browsers crash). The server does receive the connection and some of the data. 

Similar threads: https://discussions.apple.com/thread/3145102?start=0&tstart=0
http://stackoverflow.com/questions/6508650/when-posting-a-large-amount-of-data-from-html-canvas-to-an-iframe-target-safa
Comment 1 Radar WebKit Bug Importer 2017-05-24 14:48:58 PDT
<rdar://problem/32387620>