Bug 169695

Summary: In-browser and node.js implementations of RemoteAPI should share some code
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: Perf DashboardAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, rniwa
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Cleanup koivisto: review+

Ryosuke Niwa
Reported 2017-03-15 13:58:50 PDT
Right now, tools/remote.js and public/v3/remote.js duplicate a lot of code for checking the status, etc... Share the common code between the two.
Attachments
Cleanup (30.48 KB, patch)
2017-03-15 14:12 PDT, Ryosuke Niwa
koivisto: review+
Ryosuke Niwa
Comment 1 2017-03-15 14:12:33 PDT
Ryosuke Niwa
Comment 2 2017-03-15 14:13:24 PDT
This refactoring also makes some aspects of RemoteAPI, e.g. status check, testable.
Antti Koivisto
Comment 3 2017-03-15 14:14:36 PDT
Comment on attachment 304544 [details] Cleanup rs=me
Ryosuke Niwa
Comment 4 2017-03-15 14:58:38 PDT
Thanks for the review!
Ryosuke Niwa
Comment 5 2017-03-15 14:59:15 PDT
Note You need to log in before you can comment on or make changes to this bug.