diff options
-rw-r--r-- | chrome_frame/test/ie_configurator.cc | 1 | ||||
-rw-r--r-- | chrome_frame/test/net/fake_external_tab.cc | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/chrome_frame/test/ie_configurator.cc b/chrome_frame/test/ie_configurator.cc index d08a803..10c445f 100644 --- a/chrome_frame/test/ie_configurator.cc +++ b/chrome_frame/test/ie_configurator.cc @@ -461,6 +461,7 @@ IEConfigurator* CreateConfigurator() { switch (GetInstalledIEVersion()) { case IE_7: configurator = new IE7Configurator(); + break; case IE_9: configurator = new IE9Configurator(); break; diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc index 18914fd..6a6a884 100644 --- a/chrome_frame/test/net/fake_external_tab.cc +++ b/chrome_frame/test/net/fake_external_tab.cc @@ -518,8 +518,10 @@ void CFUrlRequestUnittestRunner::StartChromeFrameInHostBrowser() { // Tweak IE settings to make it amenable to testing before launching it. ie_configurator_.reset(chrome_frame_test::CreateConfigurator()); - if (ie_configurator_.get() != NULL) + if (ie_configurator_.get() != NULL) { + ie_configurator_->Initialize(); ie_configurator_->ApplySettings(); + } test_http_server_.reset(new test_server::SimpleWebServer(kTestServerPort)); test_http_server_->AddResponse(&chrome_frame_html_); |