Web Sheet crashes because it attempts to access privacy-sensitive data without a usage description

Originator:winsmith
Number:rdar://26893610 Date Originated:6/20/16
Status:Open Resolved:
Product:iOS Product Version:iPhone OS 10.0 (14A5261v)
Classification:Wifi Reproducible:Sometimes
 
Area:
Wi-Fi

Summary:
The Web Sheet process crashes when I'm trying to connect to a wifi with a login portal. The sheet crashes with a privacy violation when trying to enter information because it tries to access contact data.

Steps to Reproduce:
1. Connect to a wifi network that has captive portal functionality (e.g. a hotel wifi)
2. Wait for the Web Sheet to show up and load
3. Ensure the shown captive portal website has a text field with the name “first_name”, “last_name”, “name” or anything else that triggers Safari to try and suggest contacts information 
4. Tap the text field in question before doing anything else on the website 

Expected Results:
The cursor is placed into the text field.

Actual Results:
The web sheet crashes, according to logs “because it attempted to access privacy-sensitive data without a usage description.”

Version:
iPhone OS 10.0 (14A5261v)

Notes:
Tested only on iOS 10 beta 1, with iPhone 6s plus. Sometimes, tapping another link in the captive portal website will allow me to subsequently tap into the text field without the sheet crashing, although I didn’t try and find out why. 

The wifi in question is provided by the Handlery Hotel, Union Sq, SF, if you’re up for some real world testing.

Configuration:
iPhone8,2

Attachments:
'WebSheet  16-06-16 14-43.crash' was successfully uploaded.

----

Incident Identifier: F1708954-2F02-4962-8E29-6794250E9612
CrashReporter Key:   1c1932685759c2700e3da002bc4ecbfedb03a268
Hardware Model:      iPhone8,2
Process:             WebSheet [1473]
Path:                /Applications/WebSheet.app/WebSheet
Identifier:          com.apple.WebSheet
Version:             1.0 (1.0)
Code Type:           ARM-64 (Native)
Role:                Non UI
Parent Process:      launchd [1]

Date/Time:           2016-06-16 14:43:55.0358 -0700
Launch Time:         2016-06-16 14:43:50.3495 -0700
OS Version:          iPhone OS 10.0 (14A5261v)
Report Version:      104

Exception Type:  EXC_CRASH
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: TCC, This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSContactsUsageDescription key with a string value explaining to the user how the app uses this data.
Triggered by Thread:  4

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com 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!