Bug 4707

Summary: Need a way to automatically test for regressions in NSTextInput implementation
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Tools / TestsAssignee: Darin Adler <darin>
Status: VERIFIED FIXED    
Severity: Enhancement CC: evan
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
TextInputController implementation
darin: review+
test the controller functionality none

Description Alexey Proskuryakov 2005-08-28 02:52:18 PDT
I'm not aware of any way to automatically test for regressions with issues such as as bug 4393, rdar://
4094066 or bug 4699. These seem to happen from time to time (the first two are regressions 
themselves), so having such a facility should be beneficial.
Comment 1 Alexey Proskuryakov 2005-10-05 14:37:25 PDT
Created attachment 4222 [details]
TextInputController implementation

A first cut at implementing this facility. I haven't managed to test for
regressions in form controls (they don't want to take focus when running from
DumpRenderTree), and haven't implemented NSAttributedString support, but this
should already be quite useful for testing contentEditable text.
Comment 2 Alexey Proskuryakov 2005-10-05 14:38:15 PDT
Created attachment 4223 [details]
test the controller functionality
Comment 3 Darin Adler 2005-10-06 07:21:58 PDT
Comment on attachment 4222 [details]
TextInputController implementation

Looks good. Soon we might want to start breaking this tool up into multiple
files.
Comment 4 Darin Adler 2005-10-08 19:55:00 PDT
Landed this in a separate file.