Bug 130200

Summary: [iOS WebKit2] Crash on iPad when displaying a select element with options
Product: WebKit Reporter: Enrica Casucci <enrica>
Component: WebKit2Assignee: Enrica Casucci <enrica>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch with ChangeLog simon.fraser: review+

Enrica Casucci
Reported 2014-03-13 11:53:44 PDT
_singleSelectionIndex should be initialized to NSNotFound for multiSelect elements. <rdar://problem/16316187>
Attachments
Patch (1.30 KB, patch)
2014-03-13 11:55 PDT, Enrica Casucci
no flags
Patch with ChangeLog (1.49 KB, patch)
2014-03-13 11:57 PDT, Enrica Casucci
simon.fraser: review+
Enrica Casucci
Comment 1 2014-03-13 11:55:23 PDT
Enrica Casucci
Comment 2 2014-03-13 11:57:21 PDT
Created attachment 226607 [details] Patch with ChangeLog
Simon Fraser (smfr)
Comment 3 2014-03-13 12:18:51 PDT
Comment on attachment 226607 [details] Patch with ChangeLog View in context: https://bugs.webkit.org/attachment.cgi?id=226607&action=review > Source/WebKit2/UIProcess/ios/forms/WKFormSelectPopover.mm:118 > NSInteger currentIndex = 0; > + _singleSelectionIndex = NSNotFound; Please swap these two lines.
Enrica Casucci
Comment 4 2014-03-13 12:21:13 PDT
Committed revision 165554.
Note You need to log in before you can comment on or make changes to this bug.