summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/net/fake_external_tab.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/test/net/fake_external_tab.cc')
-rw-r--r--chrome_frame/test/net/fake_external_tab.cc28
1 files changed, 8 insertions, 20 deletions
diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc
index 34a728a..389fbf9 100644
--- a/chrome_frame/test/net/fake_external_tab.cc
+++ b/chrome_frame/test/net/fake_external_tab.cc
@@ -263,6 +263,11 @@ void FilterDisabledTests() {
// Flaky on the tryservers, http://crbug.com/103097
"URLRequestTestHTTP.MultipleRedirectTest",
"URLRequestTestHTTP.NetworkDelegateRedirectRequest",
+
+ // These tests are unsupported in CF.
+ "HTTPSRequestTest.HTTPSPreloadedHSTSTest",
+ "HTTPSRequestTest.ResumeTest",
+ "HTTPSRequestTest.SSLSessionCacheShardTest",
};
const char* ie9_disabled_tests[] = {
@@ -457,7 +462,7 @@ FakeBrowserProcessImpl* FakeExternalTab::browser_process() const {
}
CFUrlRequestUnittestRunner::CFUrlRequestUnittestRunner(int argc, char** argv)
- : NetTestSuite(argc, argv),
+ : NetTestSuite(argc, argv, false),
chrome_frame_html_("/chrome_frame", kChromeFrameHtml),
registrar_(chrome_frame_test::GetTestBedType()),
test_result_(0) {
@@ -659,21 +664,6 @@ void CFUrlRequestUnittestRunner::PostDestroyThreads() {
#endif
}
-// We need a module since some of the accessibility code that gets pulled
-// in here uses ATL.
-class ObligatoryModule: public CAtlExeModuleT<ObligatoryModule> {
- public:
- static HRESULT InitializeCom() {
- return OleInitialize(NULL);
- }
-
- static void UninitializeCom() {
- OleUninitialize();
- }
-};
-
-ObligatoryModule g_obligatory_atl_module;
-
const char* IEVersionToString(IEVersion version) {
switch (version) {
case IE_6:
@@ -729,15 +719,13 @@ int main(int argc, char** argv) {
g_argc = argc;
g_argv = argv;
- // Temporarily disabled, http://crbug.com/105435.
- if (true || chrome_frame_test::GetInstalledIEVersion() >= IE_9) {
+ if (chrome_frame_test::GetInstalledIEVersion() >= IE_9) {
// Adding this here as the command line and the logging stuff gets
// initialized in the NetTestSuite constructor. Did not want to break that.
base::AtExitManager at_exit_manager;
CommandLine::Init(argc, argv);
CFUrlRequestUnittestRunner::InitializeLogging();
- LOG(INFO) << "Temporarily not running ChromeFrame net tests.";
- //LOG(INFO) << "Not running ChromeFrame net tests on IE9+";
+ LOG(INFO) << "Not running ChromeFrame net tests on IE9+";
return 0;
}