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

Side by Side Diff: chrome_frame/test/net/fake_external_tab.cc

Issue 11192045: Process only the first Strict-Transport-Security header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Disable the tests in CF. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | net/data/url_request_unittest/hsts-headers.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome_frame/test/net/fake_external_tab.h" 5 #include "chrome_frame/test/net/fake_external_tab.h"
6 6
7 #include <atlbase.h> 7 #include <atlbase.h>
8 #include <atlcom.h> 8 #include <atlcom.h>
9 #include <exdisp.h> 9 #include <exdisp.h>
10 #include <Winsock2.h> 10 #include <Winsock2.h>
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 // I suspect we can only get this one to work (if at all) on IE8 and 234 // I suspect we can only get this one to work (if at all) on IE8 and
235 // later by using the new INTERNET_OPTION_SUPPRESS_BEHAVIOR flags 235 // later by using the new INTERNET_OPTION_SUPPRESS_BEHAVIOR flags
236 // See http://msdn.microsoft.com/en-us/library/aa385328(VS.85).aspx 236 // See http://msdn.microsoft.com/en-us/library/aa385328(VS.85).aspx
237 "URLRequestTest.DoNotSaveCookies", 237 "URLRequestTest.DoNotSaveCookies",
238 "URLRequestTest.DelayedCookieCallback", 238 "URLRequestTest.DelayedCookieCallback",
239 239
240 // TODO(ananta): This test has been consistently failing. Disabling it for 240 // TODO(ananta): This test has been consistently failing. Disabling it for
241 // now. 241 // now.
242 "URLRequestTestHTTP.GetTest_NoCache", 242 "URLRequestTestHTTP.GetTest_NoCache",
243 243
244 // These tests use HTTPS, and IE's trust store does not have the test
245 // certs. So these tests time out waiting for user input. The
246 // functionality they test (HTTP Strict Transport Security) does not
247 // work in Chrome Frame anyway.
248 "URLRequestTestHTTP.ProcessSTS",
249 "URLRequestTestHTTP.ProcessSTSOnce",
250
244 // These tests have been disabled as the Chrome cookie policies don't make 251 // These tests have been disabled as the Chrome cookie policies don't make
245 // sense or have not been implemented for the host network stack. 252 // sense or have not been implemented for the host network stack.
246 "URLRequestTest.DoNotSaveCookies_ViaPolicy", 253 "URLRequestTest.DoNotSaveCookies_ViaPolicy",
247 "URLRequestTest.DoNotSendCookies_ViaPolicy", 254 "URLRequestTest.DoNotSendCookies_ViaPolicy",
248 "URLRequestTest.DoNotSaveCookies_ViaPolicy_Async", 255 "URLRequestTest.DoNotSaveCookies_ViaPolicy_Async",
249 "URLRequestTest.CookiePolicy_ForceSession", 256 "URLRequestTest.CookiePolicy_ForceSession",
250 "URLRequestTest.DoNotSendCookies", 257 "URLRequestTest.DoNotSendCookies",
251 "URLRequestTest.DoNotSendCookies_ViaPolicy_Async", 258 "URLRequestTest.DoNotSendCookies_ViaPolicy_Async",
252 "URLRequestTest.CancelTest_During_OnGetCookies", 259 "URLRequestTest.CancelTest_During_OnGetCookies",
253 "URLRequestTest.CancelTest_During_OnSetCookie", 260 "URLRequestTest.CancelTest_During_OnSetCookie",
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 // content::InitializeSandboxInfo(&sandbox_info); 940 // content::InitializeSandboxInfo(&sandbox_info);
934 FakeMainDelegate delegate; 941 FakeMainDelegate delegate;
935 content::ContentMain( 942 content::ContentMain(
936 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)), 943 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)),
937 &sandbox_info, 944 &sandbox_info,
938 &delegate); 945 &delegate);
939 946
940 // Note: In debug builds, we ExitProcess during PostDestroyThreads. 947 // Note: In debug builds, we ExitProcess during PostDestroyThreads.
941 return g_test_suite->test_result(); 948 return g_test_suite->test_result();
942 } 949 }
OLDNEW
« no previous file with comments | « no previous file | net/data/url_request_unittest/hsts-headers.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698