Bug 135044 - Crash when typing into text field that clears itself on iOS
Summary: Crash when typing into text field that clears itself on iOS
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jon Honeycutt
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-07-18 01:23 PDT by Jon Honeycutt
Modified: 2014-07-18 17:02 PDT (History)
2 users (show)

See Also:


Attachments
Reduced test case (227 bytes, text/html)
2014-07-18 01:23 PDT, Jon Honeycutt
no flags Details
Patch (2.84 KB, patch)
2014-07-18 01:33 PDT, Jon Honeycutt
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>.