From 8a3422c9488ce79e305973d29a01811762e35465 Mon Sep 17 00:00:00 2001 From: "jcampan@chromium.org" Date: Wed, 24 Sep 2008 17:42:42 +0000 Subject: This CL adds new UI tests for the SSL UI. Some more info: SSL UI Tests: Added new tests for redirects and frames. Also improved the mixed-content test to exercise the "block mixed-contents" preference and the show info-bar. Automation: For the new UI tests, added methods to tab_proxy and browser_proxy. The ones of most interest are GetLastNavigatinTime and WaitForNavigation that ensures we wait for a navigation to occur or have occured when taking actions that asynchronously trigger navigations. Resource loading: Added a flag to the response we get when loading a resource that indicates whether that resource was filtered (blocked or altered) by the security peer. We use this flag to notify back the browser when we report a load has been committed. This is so the SSL manager knows a frame has been filtered (in which case we have no cert info but should not consider that as unsafe). BUG=2004 Review URL: http://codereview.chromium.org/3165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2553 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/web_contents.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/web_contents.cc') diff --git a/chrome/browser/web_contents.cc b/chrome/browser/web_contents.cc index 3ac7298..b00d63f 100644 --- a/chrome/browser/web_contents.cc +++ b/chrome/browser/web_contents.cc @@ -1604,7 +1604,7 @@ void WebContents::DidStartProvisionalLoadForFrame( is_main_frame, render_manager_.IsRenderViewInterstitial(render_view_host), controller()->IsURLInPageNavigation(url), - url, std::string()); + url, std::string(), false); NotificationService::current()-> Notify(NOTIFY_FRAME_PROVISIONAL_LOAD_START, Source(controller()), @@ -1671,7 +1671,7 @@ void WebContents::DidFailProvisionalLoadWithError( is_main_frame, render_manager_.IsRenderViewInterstitial(render_view_host), controller()->IsURLInPageNavigation(url), - url, std::string()); + url, std::string(), false); details.set_error_code(error_code); render_manager_.set_showing_repost_interstitial(showing_repost_interstitial); -- cgit v1.1