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

Issue 39257: Add regression test for bug 7900 and necessary infrastructure.... (Closed)

Created:
11 years, 9 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add regression test for bug 7900 and necessary infrastructure. The test simulates following scenario: user opens a local html page with Chrome when a browser instance is already running. The new Chrome process should notify the existing process about new page and exit. Bug 7900 broke this behavior causing the new process to crash. I verified that the ui_tests infrastructure would catch this crash and cause the test to fail. BUG=7900, 8056

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -1 line) Patch
M chrome/app/chrome_main_uitest.cc View 2 chunks +22 lines, -1 line 1 comment Download
M chrome/test/automation/automation_proxy.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/automation/automation_proxy.cc View 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Paweł Hajdan Jr.
11 years, 9 months ago (2009-03-06 14:38:29 UTC) #1
Pam (message me for reviews)
Please expand the checkin comment (description) so it's self-explanatory. Someone looking at 'svn log' shouldn't ...
11 years, 9 months ago (2009-03-06 19:51:05 UTC) #2
Pam (message me for reviews)
11 years, 9 months ago (2009-03-06 19:51:22 UTC) #3
Nicolas Sylvain
http://codereview.chromium.org/39257/diff/1/4 File chrome/app/chrome_main_uitest.cc (right): http://codereview.chromium.org/39257/diff/1/4#newcode66 Line 66: net::FilePathToFileURL(test_file_path), action_timeout_ms())); did we understand why it's creating ...
11 years, 9 months ago (2009-03-06 20:50:45 UTC) #4
Paweł Hajdan Jr.
Pam: I updated the commit message. It's still not perfect, but contains more information. If ...
11 years, 9 months ago (2009-03-06 22:34:21 UTC) #5
Pam (message me for reviews)
11 years, 9 months ago (2009-03-06 23:22:52 UTC) #6
On 2009/03/06 22:34:21, Paweł Hajdan Jr. wrote:
> Pam: I updated the commit message. It's still not perfect, but contains more
> information. If you have ideas how to improve it I'll gladly do so.

Even something like "Add a test to make sure that opening a local HTML page
while the browser is already running doesn't crash the new process" would be
sufficient for me. This is plenty good, thanks.

Powered by Google App Engine
This is Rietveld 408576698