[Webkit-unassigned] [Bug 148410] New: Fix crash due to search field disappearing when showing results menu
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 24 18:25:44 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=148410
Bug ID: 148410
Summary: Fix crash due to search field disappearing when
showing results menu
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Macintosh
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: wenson_hsieh at apple.com
Created attachment 259800
--> https://bugs.webkit.org/attachment.cgi?id=259800&action=review
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150825/a2352f08/attachment-0001.html>
More information about the webkit-unassigned
mailing list