DescriptionFixes race condition that could result in a tab prematurely
closing. Here's the sequence that triggers the closing:
. go to a page.
. go to a new page, preferably one that takes a while to resolve, such
as one on a site that doesn't exist.
. After this step is_waiting_for_unload_ack_ has been set to true on
the first RVH.
. click stop before the page has been commited.
. click reload.
. is_waiting_for_unload_ack_ is still true, and the if the hang monitor
fires the tab gets closed.
I've changed the code to always set is_waiting_for_unload_ack_ when we
initiate a load.
BUG=52003
TEST=see bug
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=56804
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|