DescriptionAllow overriding of X error functions
BUG=50006
(and various other reports)
TEST=Run chrome under nested window manager using Xephyr (see
http://code.google.com/p/chromium/wiki/LayoutTestsLinux)
use --enable-logging=stderr --log-level=0
kill xephyr
examine log. You should see
X IO Error detected
followed (not necessarily immediately) by
successfully saved /tmp/tx/Default/Preferences
successfully saved /tmp/tx/Local State
successfully saved /tmp/tx/Local State
successfully saved /tmp/tx/Default/Preferences
along with no crash.
There is a high ranking crash report on both linux and chromeos that happens whenever X sends an error to chrome. This change causes us to log and continue when we get a regular error from X. When we get an IO error, indicating X is gone, we attempt to shut down gracefully.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=59147
Patch Set 1 #Patch Set 2 : Remove unnecessary function #Patch Set 3 : Stray changes #
Total comments: 15
Patch Set 4 : Fix some review questions #Patch Set 5 : Fix some review questions #Patch Set 6 : Fix some review questions #
Total comments: 4
Patch Set 7 : Made chrome not exit until quit message when handling IO error #
Total comments: 4
Patch Set 8 : Don't close the browsers...there are too many issues with doing it while X isn't running #Patch Set 9 : Some cleanup, and add browser_main_gtk.h #Patch Set 10 : Do as much of CloseAllBrowsers() as we can #Patch Set 11 : Wait with timeout for files to be written #
Total comments: 32
Patch Set 12 : Made modifications for review #Patch Set 13 : Made modifications for review #Patch Set 14 : Publish CloseAllBrowsers() #
Total comments: 24
Patch Set 15 : Fixed some review comments #Patch Set 16 : Messed up #ifdef #
Messages
Total messages: 17 (0 generated)
|