Fix for crash when uploading a large image.
authorDivakar <divakar.a@samsung.com>
Fri, 4 Oct 2013 14:40:42 +0000 (20:10 +0530)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Mon, 7 Oct 2013 10:49:07 +0000 (10:49 +0000)
commit97222d97403b93721184f62f6bfed7841c5ae4f0
treeb77b80c707e64769a8022250faf5051d8b70d62f
parentcc45ba8deaf899a576b6896e9a237e09368d85c0
Fix for crash when uploading a large image.

[Title]    Fix for crash when uploading a large image.
[Issue#]   N_SE-53627
[Prolbem]  WebProcess is crashing due to low memory, this is because of
           url (data:image) length, which is allocated many times.
[Solution] Avoiding loading of an image when its url length exceeds 32MB.

Change-Id: I795bc078c81d91690d11198719fa916a8d0e0196
Source/WTF/wtf/Platform.h
Source/WebCore/loader/ImageLoader.cpp