Skip to content
Snippets Groups Projects
Commit 2331b71e authored by ananta@chromium.org's avatar ananta@chromium.org
Browse files

An attempt to fix the flakiness with the ChromeFrame Javascript window open test on IE9.

We receive multiple NavigateComplete notifications at times.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/5703005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69070 0039d316-1c4b-4281-b951-d872f2087c98
parent 15e4d5b0
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,7 @@ ExpectationSet MockIEEventSink::ExpectNavigationCardinality( ...@@ -94,7 +94,7 @@ ExpectationSet MockIEEventSink::ExpectNavigationCardinality(
void MockIEEventSink::ExpectNavigation(bool is_cf, const std::wstring& url) { void MockIEEventSink::ExpectNavigation(bool is_cf, const std::wstring& url) {
InSequence expect_in_sequence_for_scope; InSequence expect_in_sequence_for_scope;
if (is_cf) { if (is_cf || GetInstalledIEVersion() == IE_9) {
ExpectNavigationCardinality(url, Exactly(1), testing::Between(1, 2)); ExpectNavigationCardinality(url, Exactly(1), testing::Between(1, 2));
} else { } else {
ExpectNavigationCardinality(url, Exactly(1), Exactly(1)); ExpectNavigationCardinality(url, Exactly(1), Exactly(1));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment