WKWebView crashes when backgrounding while <select> popover is shown on iPad

Originator:bnicholson
Number:rdar://24571325 Date Originated:2/9/16
Status:Open Resolved:
Product:iOS/WebKit Product Version:9.2
Classification: Reproducible:Always
 
Steps to Reproduce:
Go to http://people.mozilla.com/~bnicholson/test/select.html. Tap the <select> element. Press the home button.

Stack:
016-02-08 15:46:47.128 Client[39415:24025635] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'UIPopoverPresentationController (<UIPopoverPresentationController: 0x7f9c494dbe40>) should have a non-nil sourceView or barButtonItem set before the presentation occurs.'
*** First throw call stack:
(
	0   CoreFoundation                      0x0000000107b9fe65 __exceptionPreprocess + 165
	1   libobjc.A.dylib                     0x0000000106ebfdeb objc_exception_throw + 48
	2   UIKit                               0x0000000109355b63 -[UIPopoverPresentationController presentationTransitionWillBegin] + 3407
	3   UIKit                               0x0000000108b0d8dc __71-[UIPresentationController _initViewHierarchyForPresentationSuperview:]_block_invoke + 2035
	4   UIKit                               0x0000000108b0b50e __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 309

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!