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

Issue 465074: Added support for running reliability tests for ChromeFrame on similar lines ... (Closed)

Created:
11 years ago by ananta
Modified:
9 years, 6 months ago
Reviewers:
robertshield
CC:
chromium-reviews_googlegroups.com, amit, Paweł Hajdan Jr.
Visibility:
Public.

Description

Added support for running reliability tests for ChromeFrame on similar lines as Chrome. We only run these tests for IE at this point. The reliability test code for Chrome has been copied and modified accordingly. Other related changes in this CL include the following:- 1. If ChromeFrame is running in headless mode determined by a registry value in HKCU\Software\Google\ChromeFrame we initialize ChromeFrame crash reporting and connect to the Chrome crash server. This would enable us to gather crash dumps from the reliability test runs and report the same. 2. The LowIntegrity fixes for the WebBrowser which Stoyan had done a while back are only needed for IE7 on Vista. For this CL though we just do the requisite hacks if the OS is Vista. For Windows7 the returned IWebBrowser interface pointer works fine. 3. I moved the WebBrowserEventSink to chrome_frame_test_utils as this class is now shared. Fixes portions of http://code.google.com/p/chromium/issues/detail?id=29451 Bug=29451 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34119

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 19

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Total comments: 2

Patch Set 13 : '' #

Patch Set 14 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1283 lines, -391 lines) Patch
M chrome_frame/chrome_frame.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +55 lines, -0 lines 0 comments Download
M chrome_frame/chrome_frame_reporting.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +8 lines, -5 lines 0 comments Download
M chrome_frame/crash_reporting/crash_report.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +14 lines, -2 lines 0 comments Download
M chrome_frame/test/chrome_frame_test_utils.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +188 lines, -0 lines 0 comments Download
M chrome_frame/test/chrome_frame_test_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +239 lines, -0 lines 0 comments Download
M chrome_frame/test/chrome_frame_unittests.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -127 lines 0 comments Download
M chrome_frame/test/chrome_frame_unittests.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 23 chunks +48 lines, -257 lines 0 comments Download
A chrome_frame/test/reliability/page_load_test.h View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
A chrome_frame/test/reliability/page_load_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +624 lines, -0 lines 0 comments Download
A chrome_frame/test/reliability/reliability_test_suite.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +30 lines, -0 lines 0 comments Download
A chrome_frame/test/reliability/run_all_unittests.cc View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M chrome_frame/utils.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +15 lines, -0 lines 0 comments Download
M chrome_frame/utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +35 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ananta
11 years ago (2009-12-04 23:11:10 UTC) #1
robertshield
Looks awesome :-) Some comments below: http://codereview.chromium.org/465074/diff/4027/4032 File chrome_frame/test/chrome_frame_test_utils.cc (right): http://codereview.chromium.org/465074/diff/4027/4032#newcode634 chrome_frame/test/chrome_frame_test_utils.cc:634: if (win_util::GetWinVersion() == ...
11 years ago (2009-12-07 19:48:49 UTC) #2
ananta
http://codereview.chromium.org/465074/diff/4027/4032 File chrome_frame/test/chrome_frame_test_utils.cc (right): http://codereview.chromium.org/465074/diff/4027/4032#newcode634 chrome_frame/test/chrome_frame_test_utils.cc:634: if (win_util::GetWinVersion() == win_util::WINVERSION_VISTA) { On 2009/12/07 19:48:49, robertshield ...
11 years ago (2009-12-07 20:16:22 UTC) #3
robertshield
http://codereview.chromium.org/465074/diff/4027/4038 File chrome_frame/test/reliability/page_load_test.cc (right): http://codereview.chromium.org/465074/diff/4027/4038#newcode135 chrome_frame/test/reliability/page_load_test.cc:135: if (StartsWith(navigate_url, L"cf:", true)) { On 2009/12/07 20:16:23, ananta ...
11 years ago (2009-12-07 20:58:02 UTC) #4
ananta
On 2009/12/07 20:58:02, robertshield wrote: > http://codereview.chromium.org/465074/diff/4027/4038 > File chrome_frame/test/reliability/page_load_test.cc (right): > > http://codereview.chromium.org/465074/diff/4027/4038#newcode135 > ...
11 years ago (2009-12-07 21:27:05 UTC) #5
robertshield
LGTM http://codereview.chromium.org/465074/diff/103/114 File chrome_frame/test/reliability/page_load_test.cc (right): http://codereview.chromium.org/465074/diff/103/114#newcode356 chrome_frame/test/reliability/page_load_test.cc:356: if (file.fail()) nit: should we log an error ...
11 years ago (2009-12-07 21:51:47 UTC) #6
ananta
11 years ago (2009-12-07 23:12:04 UTC) #7
I also simplified the target control logic which was wrong :(
To ensure that we have the ordering like CF -> CF -> host and so on I changed
the code to send every 3rd navigation into the host, which works correctly.

http://codereview.chromium.org/465074/diff/103/114
File chrome_frame/test/reliability/page_load_test.cc (right):

http://codereview.chromium.org/465074/diff/103/114#newcode356
chrome_frame/test/reliability/page_load_test.cc:356: if (file.fail())
On 2009/12/07 21:51:48, robertshield wrote:
> nit: should we log an error here?
I think this is a valid case and occurs when we reach the end of the url list.
For e.g. if the url list has a newline at the end, etc.

Powered by Google App Engine
This is Rietveld 408576698