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

Issue 13795002: [content shell] add support for invoking testRunner.notifyDone in a different process (Closed)

Created:
7 years, 8 months ago by jochen (gone - plz use gerrit)
Modified:
7 years, 8 months ago
Reviewers:
Mike West
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch_chromium.org
Visibility:
Public.

Description

[content shell] add support for invoking testRunner.notifyDone in a different process Some layout tests, e.g. http/tests/navigation/no-referrer-target-blank.html create a new process, and notifyDone() will be invoked in that new process. Add support for forwarding that signal to the main test runner. BUG=111316 R=mkwst@chromium.org TEST=http/tests/navigation/no-referrer-target-blank.html does not time out Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192819

Patch Set 1 #

Total comments: 4

Patch Set 2 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -1 line) Patch
M content/content_shell.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A content/shell/notify_done_forwarder.h View 1 chunk +34 lines, -0 lines 0 comments Download
A content/shell/notify_done_forwarder.cc View 1 chunk +33 lines, -0 lines 0 comments Download
M content/shell/shell.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M content/shell/shell_messages.h View 2 chunks +6 lines, -0 lines 0 comments Download
M content/shell/webkit_test_controller.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/webkit_test_controller.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M content/shell/webkit_test_runner.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/webkit_test_runner.cc View 1 6 chunks +18 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
jochen (gone - plz use gerrit)
7 years, 8 months ago (2013-04-08 12:48:39 UTC) #1
Mike West
Thanks for this! One question, two nits: https://codereview.chromium.org/13795002/diff/1/content/shell/shell.cc File content/shell/shell.cc (right): https://codereview.chromium.org/13795002/diff/1/content/shell/shell.cc#newcode267 content/shell/shell.cc:267: if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) ...
7 years, 8 months ago (2013-04-08 13:50:50 UTC) #2
jochen (gone - plz use gerrit)
https://codereview.chromium.org/13795002/diff/1/content/shell/webkit_test_runner.cc File content/shell/webkit_test_runner.cc (right): https://codereview.chromium.org/13795002/diff/1/content/shell/webkit_test_runner.cc#newcode539 content/shell/webkit_test_runner.cc:539: interfaces->configureForTestWithURL(GURL(), false); On 2013/04/08 13:50:50, Mike West (chromium) wrote: ...
7 years, 8 months ago (2013-04-08 13:53:39 UTC) #3
Mike West
On 2013/04/08 13:53:39, jochen wrote: > https://codereview.chromium.org/13795002/diff/1/content/shell/webkit_test_runner.cc > File content/shell/webkit_test_runner.cc (right): > > https://codereview.chromium.org/13795002/diff/1/content/shell/webkit_test_runner.cc#newcode539 > ...
7 years, 8 months ago (2013-04-08 13:58:10 UTC) #4
jochen (gone - plz use gerrit)
7 years, 8 months ago (2013-04-08 14:15:36 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r192819 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698