Status: Available
Owner: ----
CC: [email protected],  [email protected],  [email protected],   
[email protected]
Labels: Type-Bug Pri-1 OS-All Area-Misc Size-Medium

New issue 16246 by [email protected]: quick back/forward navigations  
close the browser
http://code.google.com/p/chromium/issues/detail?id=16246

I just noticed this on ToT, but it also exists in 3.0.191.3.

If you do very fast back forward navigations, the current tab will close.
Since this is a timing issue, it is easier to reproduce on slow pages or on
slow builds (i.e. Debug). To reproduce, click the back/forward buttons on
the mouse very quickly (or even at the same time). The current tab will
close. I tracked the page closing down to this:

void ResourceDispatcherHost::OnClosePageACK(int new_render_process_host_id,
                                            int new_request_id) {
   GlobalRequestID global_id(new_render_process_host_id, new_request_id);
   PendingRequestList::iterator i = pending_requests_.find(global_id);
   if (i == pending_requests_.end()) {
     // If there are no matching pending requests, then this is not a
     // cross-site navigation and we are just closing the tab/browser.
     ui_loop_->PostTask(FROM_HERE, NewRunnableFunction(
         &RenderViewHost::ClosePageIgnoringUnloadEvents,
         new_render_process_host_id,
         new_request_id));
     return;
   }

   ExtraRequestInfo* info = ExtraInfoForRequest(i->second);
   if (info->cross_site_handler) {
     info->cross_site_handler->ResumeResponse();
   }
}

(I couldn't repro the tab-closing in windows, but I did get the browser to
become unresponsive. I used the backspace key and the forward button on the
toolbar there, where apparently we don't support mouse button navigation.)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to