Bug 135044

Summary: Crash when typing into text field that clears itself on iOS
Product: WebKit Reporter: Jon Honeycutt <jhoneycutt>
Component: WebCore Misc.Assignee: Jon Honeycutt <jhoneycutt>
Status: RESOLVED FIXED    
Severity: Normal CC: ddkilzer, enrica
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Reduced test case
none
Patch darin: review+

Description Jon Honeycutt 2014-07-18 01:23:09 PDT
Created attachment 235114 [details]
Reduced test case

WebKit crashes when typing into a text field that clears itself on each keyup event. See attached test case.

Originally seen on <http://www.slate.com/blogs/browbeat/2014/07/10/_90s_music_quiz_name_these_1990s_hits_by_their_first_second_audio.html>

<rdar://problem/17640443>
Comment 1 Jon Honeycutt 2014-07-18 01:33:51 PDT
Created attachment 235116 [details]
Patch
Comment 2 Jon Honeycutt 2014-07-18 10:39:06 PDT
Landed in <http://trac.webkit.org/changeset/171225>.
Comment 3 David Kilzer (:ddkilzer) 2014-07-18 11:23:49 PDT
(In reply to comment #1)
> Created an attachment (id=235116) [details]
> Patch

There wasn't a way to write a regression test for this?
Comment 4 Jon Honeycutt 2014-07-18 16:31:18 PDT
There doesn't appear to be a way to test this currently, as it requires using the software keyboard. I filed <rdar://problem/17733550> Need a layout test for r171225. I'm going to land the reduced test case as a manual test.
Comment 5 Jon Honeycutt 2014-07-18 17:02:50 PDT
Manual test landed in <http://trac.webkit.org/changeset/171249>.