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

Issue 77763004: Implement a periodic timer which sends the current state of a browser test back to the browser cont… (Closed)

Created:
7 years, 1 month ago by kustermann
Modified:
7 years, 1 month ago
Reviewers:
ricow1
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Implement a periodic timer which sends the current state of a browser test back to the browser controller R=ricow@google.com Committed: https://code.google.com/p/dart/source/detail?r=30468

Patch Set 1 #

Patch Set 2 : #

Total comments: 17

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -57 lines) Patch
M dart/tools/testing/dart/browser_controller.dart View 1 2 12 chunks +90 lines, -28 lines 0 comments Download
M dart/tools/testing/dart/test_controller.js View 1 2 3 chunks +57 lines, -25 lines 0 comments Download
M dart/tools/testing/dart/test_runner.dart View 1 2 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
kustermann
7 years, 1 month ago (2013-11-20 11:56:08 UTC) #1
ricow1
LGMT https://codereview.chromium.org/77763004/diff/50001/dart/tools/testing/dart/browser_controller.dart File dart/tools/testing/dart/browser_controller.dart (right): https://codereview.chromium.org/77763004/diff/50001/dart/tools/testing/dart/browser_controller.dart#newcode633 dart/tools/testing/dart/browser_controller.dart:633: // TODO(ricow): Add prefetching to the browsers. We ...
7 years, 1 month ago (2013-11-20 12:20:40 UTC) #2
ricow1
actually, lgtm++
7 years, 1 month ago (2013-11-20 12:20:56 UTC) #3
kustermann
Committed patchset #3 manually as r30468 (presubmit successful).
7 years, 1 month ago (2013-11-20 13:32:24 UTC) #4
kustermann
7 years, 1 month ago (2013-11-20 13:32:39 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/77763004/diff/50001/dart/tools/testing/dart/b...
File dart/tools/testing/dart/browser_controller.dart (right):

https://codereview.chromium.org/77763004/diff/50001/dart/tools/testing/dart/b...
dart/tools/testing/dart/browser_controller.dart:638: String lastKnownMessage =
'';
On 2013/11/20 12:20:41, ricow1 wrote:
> I actually think this should be on the BrowserTest class instead

Good point. Done

https://codereview.chromium.org/77763004/diff/50001/dart/tools/testing/dart/b...
dart/tools/testing/dart/browser_controller.dart:1319: function
reportMessage(msg, isFirstMessage, isStatusUpdate, isDone) {
On 2013/11/20 12:20:41, ricow1 wrote:
> yoiu don't use the isDone parameter, so why pass it in?

Removed it.

https://codereview.chromium.org/77763004/diff/50001/dart/tools/testing/dart/b...
dart/tools/testing/dart/browser_controller.dart:1332: test_completed = true;
On 2013/11/20 12:20:41, ricow1 wrote:
> you should probably do something if isDone is not true here

I removed it.

https://codereview.chromium.org/77763004/diff/50001/dart/tools/testing/dart/b...
dart/tools/testing/dart/browser_controller.dart:1374: reportMessage(msg, msg ==
'STARTING', false);
On 2013/11/20 12:20:41, ricow1 wrote:
> if you want to use it, pass in isDOne here as well

Removed it.

https://codereview.chromium.org/77763004/diff/50001/dart/tools/testing/dart/t...
File dart/tools/testing/dart/test_controller.js (right):

https://codereview.chromium.org/77763004/diff/50001/dart/tools/testing/dart/t...
dart/tools/testing/dart/test_controller.js:6: * The new communication protocol
between test_controller.js and the driving
On 2013/11/20 12:20:41, ricow1 wrote:
> remove new (that will get old pretty fast :-) )

Done.

https://codereview.chromium.org/77763004/diff/50001/dart/tools/testing/dart/t...
dart/tools/testing/dart/test_controller.js:133: value: '' +
window.document.documentElement.innerHTML,
On 2013/11/20 12:20:41, ricow1 wrote:
> is this to guarantee a string?
Yes.

https://codereview.chromium.org/77763004/diff/50001/dart/tools/testing/dart/t...
dart/tools/testing/dart/test_controller.js:170: }
On 2013/11/20 12:20:41, ricow1 wrote:
> add blank line

Done.

https://codereview.chromium.org/77763004/diff/50001/dart/tools/testing/dart/t...
dart/tools/testing/dart/test_controller.js:179: }
On 2013/11/20 12:20:41, ricow1 wrote:
> add blank line

Done.

Powered by Google App Engine
This is Rietveld 408576698