Bug 134728

Summary: DumpRenderTree: centralize getting tests and sending results to a singleton
Product: WebKit Reporter: David Farler <dfarler>
Component: Tools / TestsAssignee: Daniel Bates <dbates>
Status: ASSIGNED ---    
Severity: Normal CC: ddkilzer
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description David Farler 2014-07-08 09:43:54 PDT
DumpRenderTree should be getting the next test path and sending results to a singleton that speaks the Layout Test Protocol. The singleton should be able to work with standard file descriptors or a single socket to allow layout test scripts to talk to iOS (over a wrapper on this host) without the FIFO hack.

Some possible abstract methods:
- nextPath() // reads from stdin or socket
- addRenderTree(...) // saves to ivar
- addImage(...) // saves to ivar
- addAudio(...) // saves to ivar
- addErrorText(...) // saves to ivar
- done() // sends results over stdout/stderr or socket