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

Issue 2173002: Add chrome frame tests for common navigation cases to ensure IE is not broken. (Closed)

Created:
10 years, 7 months ago by kkania
Modified:
7 years, 9 months ago
Reviewers:
amit
CC:
chromium-reviews, amit
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Add chrome frame tests for common navigation cases to ensure IE is not broken. BUG=none TEST=none

Patch Set 1 #

Patch Set 2 : Update and some cleanup. #

Patch Set 3 : Last patch did not upload correctly. #

Total comments: 11

Patch Set 4 : Switched to key presses #

Patch Set 5 : cleanup #

Total comments: 5

Patch Set 6 : adjust FileDownload expectations #

Patch Set 7 : final #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -56 lines) Patch
M chrome_frame/chrome_frame.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome_frame/test/chrome_frame_test_utils.h View 1 2 3 4 2 chunks +13 lines, -1 line 0 comments Download
M chrome_frame/test/chrome_frame_test_utils.cc View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
A chrome_frame/test/data/no_interference/javascript_redirect.html View 1 chunk +11 lines, -0 lines 0 comments Download
A chrome_frame/test/data/no_interference/link.html View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome_frame/test/no_interference_test.cc View 1 2 3 4 5 6 3 chunks +122 lines, -16 lines 0 comments Download
M chrome_frame/test/simulate_input.h View 1 chunk +4 lines, -1 line 0 comments Download
M chrome_frame/test/simulate_input.cc View 2 chunks +21 lines, -18 lines 0 comments Download
M chrome_frame/test/test_mock_with_web_server.h View 5 6 1 chunk +10 lines, -3 lines 0 comments Download
M chrome_frame/test/test_mock_with_web_server.cc View 4 5 6 2 chunks +31 lines, -17 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
kkania
I just added a couple test cases to make sure you were ok with the ...
10 years, 7 months ago (2010-05-25 14:41:26 UTC) #1
amit
Very nice and cool new tests. We'll need to create chrome frame counterparts for the ...
10 years, 7 months ago (2010-05-25 21:20:08 UTC) #2
kkania
http://codereview.chromium.org/2173002/diff/6001/7002 File chrome_frame/test/chrome_frame_test_utils.cc (right): http://codereview.chromium.org/2173002/diff/6001/7002#newcode47 chrome_frame/test/chrome_frame_test_utils.cc:47: const int MenuItemIds::kOpen = 2136; On 2010/05/25 21:20:08, amit ...
10 years, 7 months ago (2010-05-26 22:12:32 UTC) #3
amit
Looks excellent. LGTM! http://codereview.chromium.org/2173002/diff/16001/17006 File chrome_frame/test/no_interference_test.cc (right): http://codereview.chromium.org/2173002/diff/16001/17006#newcode115 chrome_frame/test/no_interference_test.cc:115: ACTION_P3(SelectItem, loop, delay, index) { nice ...
10 years, 7 months ago (2010-05-26 22:58:42 UTC) #4
kkania
Can you please review this new change? I was not exactly sure when/why FileDownload occurs. ...
10 years, 7 months ago (2010-05-27 01:06:55 UTC) #5
amit
Ugg, looking at how you have to jump through hoops to work around FileDownload notification, ...
10 years, 6 months ago (2010-05-27 18:25:32 UTC) #6
kkania
7 years, 9 months ago (2013-02-28 21:50:54 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/2173002/diff/16001/chrome_frame/test/no_inter...
File chrome_frame/test/no_interference_test.cc (right):

https://codereview.chromium.org/2173002/diff/16001/chrome_frame/test/no_inter...
chrome_frame/test/no_interference_test.cc:134: const std::wstring kWindowOpenUrl
= GetTestUrl(L"window_open.html");
On 2010/05/26 22:58:42, amit wrote:
> Is this the same one as used in other window open tests? AFAIK, it needed a
> keyboard input to open new windows as a work around for popup blockers.
> Does this work as expected?

It works on XP ie6 and win7 ie8. Perhaps it was Chrome that was blocking the
popup in the other test?

https://codereview.chromium.org/2173002/diff/16001/chrome_frame/test/test_moc...
File chrome_frame/test/test_mock_with_web_server.cc (right):

https://codereview.chromium.org/2173002/diff/16001/chrome_frame/test/test_moc...
chrome_frame/test/test_mock_with_web_server.cc:158:
.Times(testing::AnyNumber());
On 2010/05/26 22:58:42, amit wrote:
> I think we need to be precise here about cardinality here.

Done.

Powered by Google App Engine
This is Rietveld 408576698