WorkQueue is the only place that should know about special exit codes When a child process handles an error but still needs to exit early, we use a special error code. This lets the child process no exit(0) (normal exit) which would be mildly confusing. Lets move this special handling all into one file (workqueue.py) so that the logic and comments are all in one place.
Created attachment 43278 [details] Patch
Comment on attachment 43278 [details] Patch cls.handled_error_code and unit test!
Created attachment 43284 [details] Patch
Comment on attachment 43284 [details] Patch Excellent!
Comment on attachment 43284 [details] Patch Clearing flags on attachment: 43284 Committed r51024: <http://trac.webkit.org/changeset/51024>
All reviewed patches have been landed. Closing bug.