Index: chrome/browser/ssl/ssl_blocking_page.cc |
diff --git a/chrome/browser/ssl/ssl_blocking_page.cc b/chrome/browser/ssl/ssl_blocking_page.cc |
index 64079cf8e9388f462563aae9bccfe57f85717180..55f465cec8653e47513f03329ca00802498e6bfc 100644 |
--- a/chrome/browser/ssl/ssl_blocking_page.cc |
+++ b/chrome/browser/ssl/ssl_blocking_page.cc |
@@ -456,6 +456,12 @@ void SSLBlockingPage::OverrideEntry(NavigationEntry* entry) { |
// This handles the commands sent from the interstitial JavaScript. |
// DO NOT reorder or change this logic without also changing the JavaScript! |
void SSLBlockingPage::CommandReceived(const std::string& command) { |
+ if (command == "\"pageLoadComplete\"") { |
+ // content::WaitForRenderFrameReady sends this message when the page |
+ // load completes. Ignore it. |
+ return; |
+ } |
+ |
int cmd = 0; |
bool retval = base::StringToInt(command, &cmd); |
DCHECK(retval); |