Bug 173461 - Mobile Safari, Chrome crashes when upload pictures from camera
Summary: Mobile Safari, Chrome crashes when upload pictures from camera
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: Safari 10
Hardware: iPhone / iPad iOS 10.3
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-06-16 02:03 PDT by Aliaksei
Modified: 2018-04-26 17:16 PDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aliaksei 2017-06-16 02:03:17 PDT
I have the simplest page: list of <input type='file' accept='image/*'>.

When do the following the simplest case:
- Hit "Upload"-> take picture from camera -> approve.
- Repeat it for all input conrols.(12 in my code below)
- Than i do it again and on ~15-th "upload" page crashed and was reloaded.

If do start the process again, the page crashes after 4-5th "upload". Finnaly, I can crash the page even after first picture upload.

The bug was described for IPhone 6+ IOS 10.

But I reproduced on IPhone 6S+ IOS 10(but only more iterations required, Iphone 6 IOS 10, Android Chrome 58.0.3029.

But works fine with iOS 9.5.3

The test code is:

...
<body>

<input type='file' accept='image/*' class="file-style"><br>
<input type='file' accept='image/*' class="file-style"><br>
<input type='file' accept='image/*' class="file-style"><br>
<input type='file' accept='image/*' class="file-style"><br>
<input type='file' accept='image/*' class="file-style"><br>
<input type='file' accept='image/*' class="file-style"><br>
<input type='file' accept='image/*' class="file-style"><br>
<input type='file' accept='image/*' class="file-style"><br>
<input type='file' accept='image/*' class="file-style"><br>
<input type='file' accept='image/*' class="file-style"><br>
<input type='file' accept='image/*' class="file-style"><br>
<input type='file' accept='image/*' class="file-style"><br>

<script>

</script>
</body>
...
Comment 1 Radar WebKit Bug Importer 2018-04-26 14:51:23 PDT
<rdar://problem/39772312>
Comment 2 Simon Fraser (smfr) 2018-04-26 17:16:44 PDT
Does https://codepen.io/smfr/pen/jxMjVv reproduce it?