RESOLVED FIXED 237937
Add support for chrome-beta and chrome-dev to run-benchmark
https://bugs.webkit.org/show_bug.cgi?id=237937
Summary Add support for chrome-beta and chrome-dev to run-benchmark
Saam Barati
Reported 2022-03-15 19:20:14 PDT
...
Attachments
[fast-cq] patch (3.76 KB, patch)
2022-03-15 19:23 PDT, Saam Barati
ews-feeder: commit-queue-
Saam Barati
Comment 1 2022-03-15 19:23:26 PDT
Created attachment 454787 [details] [fast-cq] patch
EWS
Comment 2 2022-03-15 19:36:47 PDT
Committed r291325 (248464@main): <https://commits.webkit.org/248464@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 454787 [details].
Radar WebKit Bug Importer
Comment 3 2022-03-15 19:37:18 PDT
dewei_zhu
Comment 4 2022-03-16 11:58:55 PDT
Comment on attachment 454787 [details] [fast-cq] patch View in context: https://bugs.webkit.org/attachment.cgi?id=454787&action=review > Tools/Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:50 > +def set_binary_location_impl(options, browser_build_path, app_name, process_name): > + if not browser_build_path: > + return > + app_path = os.path.join(browser_build_path, app_name) > + binary_path = os.path.join(app_path, "Contents/MacOS", process_name) > + options.binary_location = binary_path > + It looks like we can just move this to `OSXChromeDriverBase._set_chrome_binary_location`. So that we don't need to repeat it in the derived classes. > Tools/Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:-67 > - if not browser_build_path: > - browser_build_path = '/Applications/' Could you explain why we want to stop loading it from '/Applications'? If we move set_binary_location_impl to `OSXChromeDriverBase._set_chrome_binary_location` & if we want to keep this behavior, we just do if not browser_build_path: browser_build_path = '/Applications/' super(OSXChromeCanaryDriver, self)._set_chrome_binary_location(options, browser_build_path)
Note You need to log in before you can comment on or make changes to this bug.