Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Issue 454133003: [ChromeDriver] Implementing tracing support (Closed)

Created:
6 years, 4 months ago by johnmoore
Modified:
5 years, 1 month ago
Reviewers:
samuong, stgao, hughrobinson
CC:
chromium-reviews, klm, wrightt_google.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[ChromeDriver] Implementing tracing support BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290912

Patch Set 1 #

Patch Set 2 : Fixing import ordering #

Total comments: 22

Patch Set 3 : Improving error handling and style #

Patch Set 4 : Adding unit tests #

Total comments: 4

Patch Set 5 : Adding integration test #

Patch Set 6 : Return error instead of CHECK #

Patch Set 7 : Adding pref for buffer usage reporting interval #

Patch Set 8 : Fixing integration test #

Total comments: 3

Patch Set 9 : Fixing nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+568 lines, -75 lines) Patch
M chrome/test/chromedriver/capabilities.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/chromedriver/capabilities.cc View 1 2 3 4 5 6 3 chunks +16 lines, -1 line 0 comments Download
M chrome/test/chromedriver/capabilities_unittest.cc View 1 2 3 4 5 6 7 2 chunks +22 lines, -3 lines 0 comments Download
M chrome/test/chromedriver/client/chromedriver.py View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M chrome/test/chromedriver/logging.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/logging.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/test/chromedriver/logging_unittest.cc View 4 chunks +7 lines, -3 lines 0 comments Download
M chrome/test/chromedriver/performance_logger.h View 1 2 2 chunks +47 lines, -7 lines 0 comments Download
M chrome/test/chromedriver/performance_logger.cc View 1 2 3 4 5 6 3 chunks +221 lines, -33 lines 0 comments Download
M chrome/test/chromedriver/performance_logger_unittest.cc View 1 2 3 4 5 6 7 8 10 chunks +204 lines, -26 lines 0 comments Download
M chrome/test/chromedriver/session_commands.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/chromedriver/test/run_py_tests.py View 1 2 3 4 5 6 7 8 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (2 generated)
johnmoore
Hi Sam, Shuotao, This is the final CL for ChromeDriver tracing support. Tests will follow ...
6 years, 4 months ago (2014-08-08 19:23:39 UTC) #1
stgao
Hi John, I posted a few comments. But overall, this CL looks good. Thanks, Shuotao ...
6 years, 4 months ago (2014-08-10 02:37:04 UTC) #2
johnmoore
Hi Shuotao, Sam, Thanks for a quick initial review! I will add tests today, but ...
6 years, 4 months ago (2014-08-11 16:00:02 UTC) #3
johnmoore
I've added unit tests. I will try to write an integration test too, but perhaps ...
6 years, 4 months ago (2014-08-12 00:17:54 UTC) #4
samuong
Hi John, this is looking really good, thanks for your work on this. I've only ...
6 years, 4 months ago (2014-08-14 23:04:46 UTC) #5
johnmoore
Hi Shuotao, Sam, Thanks for the continued reviews. I have added an integration test and ...
6 years, 4 months ago (2014-08-15 17:34:07 UTC) #6
stgao
Sorry, I missed your questions. https://codereview.chromium.org/454133003/diff/20001/chrome/test/chromedriver/performance_logger.cc File chrome/test/chromedriver/performance_logger.cc (right): https://codereview.chromium.org/454133003/diff/20001/chrome/test/chromedriver/performance_logger.cc#newcode28 chrome/test/chromedriver/performance_logger.cc:28: const char* const kRequestTraceCommands[] ...
6 years, 4 months ago (2014-08-15 17:43:23 UTC) #7
johnmoore
I've added a perf logging pref for the buffer usage reporting interval, with a default ...
6 years, 4 months ago (2014-08-15 18:57:49 UTC) #8
johnmoore
The integration test now works with all versions of Chrome.
6 years, 4 months ago (2014-08-19 15:29:54 UTC) #9
samuong
On 2014/08/19 15:29:54, johnmoore wrote: > The integration test now works with all versions of ...
6 years, 4 months ago (2014-08-19 18:13:21 UTC) #10
chromium-reviews
Hi Sam, Thanks for the LGTM. Can you clarify the nits? I didn't see any ...
6 years, 4 months ago (2014-08-19 20:01:22 UTC) #11
samuong
Sorry, nits are below. Thanks! https://codereview.chromium.org/454133003/diff/140001/chrome/test/chromedriver/performance_logger_unittest.cc File chrome/test/chromedriver/performance_logger_unittest.cc (right): https://codereview.chromium.org/454133003/diff/140001/chrome/test/chromedriver/performance_logger_unittest.cc#newcode237 chrome/test/chromedriver/performance_logger_unittest.cc:237: prefs.trace_categories = "benchmark,webkit.console"; blink.console? ...
6 years, 4 months ago (2014-08-19 20:02:50 UTC) #12
johnmoore
Hi Sam, Shuotao, I've fixed the nits. Thanks for the review! I am now only ...
6 years, 4 months ago (2014-08-20 14:15:26 UTC) #13
stgao
On 2014/08/20 14:15:26, johnmoore wrote: > Hi Sam, Shuotao, > > I've fixed the nits. ...
6 years, 4 months ago (2014-08-20 17:17:39 UTC) #14
johnmoore
The CQ bit was checked by johnmoore@google.com
6 years, 4 months ago (2014-08-20 17:27:35 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/johnmoore@google.com/454133003/160001
6 years, 4 months ago (2014-08-20 17:28:22 UTC) #16
commit-bot: I haz the power
6 years, 4 months ago (2014-08-20 20:53:19 UTC) #17
Message was sent while issue was closed.
Committed patchset #9 (160001) as 290912

Powered by Google App Engine
This is Rietveld 408576698