JSON responses for dashboard, manifest, and runs are generated by handler classes at the moment. This prevents us from unit-testing the code to generate JSON responses since handlers can't be unit-tested. We should extract classes out of these handlers in order to unit-test them.
Created attachment 127923 [details] refactoring
Comment on attachment 127923 [details] refactoring View in context: https://bugs.webkit.org/attachment.cgi?id=127923&action=review > Websites/webkit-perf.appspot.com/controller.py:52 > + cache_dashboard(ManifestJSONGenerator().to_json()) Oh oops, this needs to be manifest :(
Comment on attachment 127923 [details] refactoring rs=me
Committed in r108399.