Bug 134728 - DumpRenderTree: centralize getting tests and sending results to a singleton
Summary: DumpRenderTree: centralize getting tests and sending results to a singleton
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Daniel Bates
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-08 09:43 PDT by David Farler
Modified: 2014-07-08 09:43 PDT (History)
1 user (show)

See Also:


Attachments

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