Add a comment mentioning bug 587406, per jeffm.
authorBenjamin Smedberg <benjamin@smedbergs.us>
Mon, 16 Aug 2010 15:28:18 -0400
changeset 50681 a2c829756d9939261d5dec1da162c163455f7323
parent 50680 ed9357ce0939ea103fd77297aa75ea01c26edadd
child 50682 e81d421e99ed024616d790d2c8b0b1b479402632
push id15120
push userbsmedberg@mozilla.com
push dateMon, 16 Aug 2010 19:28:37 +0000
treeherderautoland@a2c829756d99 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs587406
milestone2.0b4pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Add a comment mentioning bug 587406, per jeffm.
widget/src/windows/nsWindow.cpp
--- a/widget/src/windows/nsWindow.cpp
+++ b/widget/src/windows/nsWindow.cpp
@@ -4189,17 +4189,18 @@ static int ReportException(EXCEPTION_POI
     do_GetService("@mozilla.org/toolkit/crash-reporter;1");
   if (cr)
     cr->WriteMinidumpForException(aExceptionInfo);
 #endif
   return EXCEPTION_EXECUTE_HANDLER;
 }
 
 // The WndProc procedure for all nsWindows in this toolkit. This merely catches
-// exceptions and passes the real work to WindowProcInternal
+// exceptions and passes the real work to WindowProcInternal. See bug 587406
+// and http://msdn.microsoft.com/en-us/library/ms633573%28VS.85%29.aspx
 LRESULT CALLBACK nsWindow::WindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
 {
   __try {
     return WindowProcInternal(hWnd, msg, wParam, lParam);
   }
   __except(ReportException(GetExceptionInformation())) {
     ::TerminateProcess(::GetCurrentProcess(), 253);
   }