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

Issue 340029: Added unit tests for ChromeFrame IE full tab mode. These test the following c... (Closed)

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

Description

Added unit tests for ChromeFrame IE full tab mode. These test the following cases:- 1. A window.open call issued from a page within ChromeFrame in IE full tab mode makes it back to IE before being shunted into Chrome. 2. Brings up the chrome frame context menu in full tab mode and invokes the About Chrome frame option. While I was working on these tests based on a lot of help from Stoyan, we had these tests use gmock and I also changed the disallowed URL test to use gmock. The other changes are to always run the chrome frame tests in the STA apartment as the newly added full tab mode tests cannot handle calls coming in from background RPC worker threads. Bug=26066, 26172 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30520

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 18

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+390 lines, -59 lines) Patch
M chrome_frame/test/chrome_frame_test_utils.h View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome_frame/test/chrome_frame_test_utils.cc View 2 chunks +63 lines, -0 lines 0 comments Download
M chrome_frame/test/chrome_frame_unittests.h View 1 2 3 4 5 chunks +41 lines, -19 lines 0 comments Download
M chrome_frame/test/chrome_frame_unittests.cc View 1 2 3 4 7 chunks +198 lines, -31 lines 0 comments Download
MM chrome_frame/test/data/chrome_frame_tester_helpers.js View 1 2 3 6 chunks +17 lines, -9 lines 0 comments Download
A chrome_frame/test/data/chrome_frame_window_open.html View 1 1 chunk +33 lines, -0 lines 0 comments Download
A chrome_frame/test/data/chrome_frame_window_open_popup.html View 1 1 chunk +22 lines, -0 lines 0 comments Download
M chrome_frame/test/run_all_unittests.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ananta
11 years, 1 month ago (2009-10-29 01:37:41 UTC) #1
amit
Looks excellent and thanks for making a nice start with tests. LGTM http://codereview.chromium.org/340029/diff/3003/5001 File chrome_frame/test/chrome_frame_unittests.cc ...
11 years, 1 month ago (2009-10-29 05:53:11 UTC) #2
stoyan
http://codereview.chromium.org/340029/diff/3003/5001 File chrome_frame/test/chrome_frame_unittests.cc (right): http://codereview.chromium.org/340029/diff/3003/5001#newcode1551 Line 1551: CreateFunctor(&loop.loop_, &MessageLoop::PostDelayedTask, FROM_HERE, This will not compile - ...
11 years, 1 month ago (2009-10-29 16:34:48 UTC) #3
ananta
http://codereview.chromium.org/340029/diff/3003/5001 File chrome_frame/test/chrome_frame_unittests.cc (right): http://codereview.chromium.org/340029/diff/3003/5001#newcode1411 Line 1411: PostMessage(renderer_window, WM_RBUTTONDOWN, MK_RBUTTON, MAKELPARAM(50, 50)); On 2009/10/29 05:53:11, ...
11 years, 1 month ago (2009-10-29 17:57:50 UTC) #4
stoyan
11 years, 1 month ago (2009-10-29 18:37:35 UTC) #5
lg

Powered by Google App Engine
This is Rietveld 408576698