diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-13 21:29:05 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-13 21:29:05 +0000 |
commit | 871705000b207773317b6494db5726b3ae4e5942 (patch) | |
tree | 4a08fbf5657a96dce62779f9fec2c0d9e01eca99 /chrome_frame/test/automation_client_mock.cc | |
parent | 56967ecd6eeca05f1267b98ccded1e17ca0ea80a (diff) | |
download | chromium_src-871705000b207773317b6494db5726b3ae4e5942.zip chromium_src-871705000b207773317b6494db5726b3ae4e5942.tar.gz chromium_src-871705000b207773317b6494db5726b3ae4e5942.tar.bz2 |
Fix the expectations for the ChromeFrame NavigateOk test so that it passes on IE8. It appears that the OnUpdateTargetUrl
notification is not received at times on IE8.
TBR=amit
Review URL: http://codereview.chromium.org/1612015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44399 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test/automation_client_mock.cc')
-rw-r--r-- | chrome_frame/test/automation_client_mock.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/test/automation_client_mock.cc b/chrome_frame/test/automation_client_mock.cc index 26a6732..1c8708f 100644 --- a/chrome_frame/test/automation_client_mock.cc +++ b/chrome_frame/test/automation_client_mock.cc @@ -183,7 +183,7 @@ TEST(CFACWithChrome, NavigateOk) { EXPECT_CALL(cfd, OnDidNavigate(_, EqNavigationInfoUrl(GURL()))) .Times(1); - EXPECT_CALL(cfd, OnUpdateTargetUrl(_, _)).Times(1); + EXPECT_CALL(cfd, OnUpdateTargetUrl(_, _)).Times(testing::AtMost(1)); EXPECT_CALL(cfd, OnLoad(_, _)) .Times(1) |