Safari tab reloads/crashes when "Take Photo" option is used with <input type="file">

Number:rdar://22127654 Date Originated:August 3, 2015
Status:Open Resolved:
Product:Safari Product Version:iOS 8.4
Classification: Reproducible:Always
This issue occurs by simply adding a photo file with the iPhone 6 or 6 Plus camera to an <input type=form">

I've put together a simple sample code:

This is 100% reproducible on and iPhone 6 and 6 Plus on iOS 8.4 when enough tabs are opened (brought into memory).

Steps to Reproduce:
1. Open many tabs with various websites (at least 8)
2. Open the sample code website in Mobile Safari (
3. Tap the "Choose File" button, and use the device's camera to attach a photo (the "Take Photo" option).

Expected Results:
I expected the file reference to be contained in the <input type="file"> DOM node.

Actual Results:
The Safari tab reloads and a small pane appears at the top saying "A problem occurred with this webpage so it was reloaded"

iOS 8.4

Please contact me if there is a known workaround.

iPhone 6 and iPhone 6 Plus



Still an issue as of 2024

I've tried adding a name attribute per but no luck

By sam.barnum at Feb. 14, 2024, 12:22 a.m. (reply...)

I see this behavior on newer phones as well.

By peter.vertenten at April 2, 2020, 2:40 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!