Created attachment 259800 [details] Click on the results button to crash WebKit When an input of type search has a results attribute and is set up to disappear (e.g. display: none) when focused, clicking on the search field will crash WebKit since we assume that, after running the handler code, the search field's renderer will still exist. We use the renderer to then toggle the search results popup. This fix guards this logic with a check to make sure that the renderer still exists when handling an event on the search field results button.
<rdar://problem/22399850>
Created attachment 259827 [details] Patch
Created attachment 259852 [details] Patch
Comment on attachment 259852 [details] Patch Very nice! r=me.
Comment on attachment 259852 [details] Patch Clearing flags on attachment: 259852 Committed r188918: <http://trac.webkit.org/changeset/188918>
All reviewed patches have been landed. Closing bug.