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

Issue 288663003: DevTools test harness: add logToStderr method on testRunner. (Closed)

Created:
6 years, 7 months ago by loislo
Modified:
6 years, 7 months ago
Reviewers:
apavlov, yurys, pfeldman
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org
Visibility:
Public.

Description

DevTools test harness: add logToStderr method on testRunner. it is very hard to troubleshoot a flaky asynchronous DevTools test without being able to log something directly to the console output. With this patch DevTools window is able to do that. Also logging into Error stream doesn't skew the normal test output so the flaky test could be tested in a cycle until the first error. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271024

Patch Set 1 #

Patch Set 2 : minor changes #

Patch Set 3 : comments addressed #

Total comments: 1

Patch Set 4 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M content/shell/renderer/test_runner/test_runner.cc View 1 2 3 3 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
loislo
6 years, 7 months ago (2014-05-14 10:07:00 UTC) #1
apavlov
"2" used in place of "To" is non-common both in Blink and Chromium (and is ...
6 years, 7 months ago (2014-05-14 10:11:54 UTC) #2
loislo
On 2014/05/14 10:11:54, apavlov wrote: > "2" used in place of "To" is non-common both ...
6 years, 7 months ago (2014-05-14 10:49:20 UTC) #3
yurys
Wouldn't console.error produce desired output?
6 years, 7 months ago (2014-05-14 11:28:18 UTC) #4
loislo
On 2014/05/14 11:28:18, yurys wrote: > Wouldn't console.error produce desired output? 1) console.* methods work ...
6 years, 7 months ago (2014-05-14 12:05:00 UTC) #5
loislo
On 2014/05/14 12:05:00, loislo wrote: > On 2014/05/14 11:28:18, yurys wrote: > > Wouldn't console.error ...
6 years, 7 months ago (2014-05-14 12:06:16 UTC) #6
yurys
lgtm
6 years, 7 months ago (2014-05-15 12:54:46 UTC) #7
loislo
The CQ bit was checked by loislo@chromium.org
6 years, 7 months ago (2014-05-15 13:10:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/loislo@chromium.org/288663003/40001
6 years, 7 months ago (2014-05-15 13:10:29 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-15 14:54:13 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-15 14:58:07 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/67877)
6 years, 7 months ago (2014-05-15 14:58:07 UTC) #12
pfeldman
https://codereview.chromium.org/288663003/diff/40001/content/shell/renderer/test_runner/test_runner.cc File content/shell/renderer/test_runner/test_runner.cc (right): https://codereview.chromium.org/288663003/diff/40001/content/shell/renderer/test_runner/test_runner.cc#newcode534 content/shell/renderer/test_runner/test_runner.cc:534: if (runner_) Is there a reason to not LOG(ERROR) ...
6 years, 7 months ago (2014-05-15 14:59:11 UTC) #13
loislo
On 2014/05/15 14:59:11, pfeldman wrote: > https://codereview.chromium.org/288663003/diff/40001/content/shell/renderer/test_runner/test_runner.cc > File content/shell/renderer/test_runner/test_runner.cc (right): > > https://codereview.chromium.org/288663003/diff/40001/content/shell/renderer/test_runner/test_runner.cc#newcode534 > ...
6 years, 7 months ago (2014-05-16 11:19:15 UTC) #14
loislo
comments addressed
6 years, 7 months ago (2014-05-16 11:30:39 UTC) #15
pfeldman
lgtm
6 years, 7 months ago (2014-05-16 12:04:24 UTC) #16
loislo
The CQ bit was checked by loislo@chromium.org
6 years, 7 months ago (2014-05-16 12:18:12 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/loislo@chromium.org/288663003/60001
6 years, 7 months ago (2014-05-16 12:18:26 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-16 14:06:00 UTC) #19
commit-bot: I haz the power
6 years, 7 months ago (2014-05-16 15:11:35 UTC) #20
Message was sent while issue was closed.
Change committed as 271024

Powered by Google App Engine
This is Rietveld 408576698