Chromium Code Reviews
DescriptionMake sudden termination into a counter.
We were incorrectly interpreting enableSuddenTermination to mean "enable sudden termination". Really it should just decrement a counter, and we should only enable sudden termination when that counter reaches 0.
Related to, but not the fix for, http://crbug.com/5638
This may have been causing memory corruption due to shutting down the renderer process while writing to a storage area or icon database (although honestly I don't actually know if we even use those parts of webkit).
Also, add a ui test that fails before this patch and succeeds with this patch.
BUG=none
TEST=sudden termination still works on a simple page
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27831
Patch Set 1 #Patch Set 2 : don't drop below 0 #
Total comments: 3
Patch Set 3 : '' #
Total comments: 7
Patch Set 4 : '' #Patch Set 5 : '' #Patch Set 6 : set svn eol style #Patch Set 7 : '' #
Messages
Total messages: 14 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||