Actually pause the process while Drosera is at a breakpoint
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Mar 2008 17:00:22 +0000 (17:00 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Mar 2008 17:00:22 +0000 (17:00 +0000)
commit265287f2cdd8a5b502c340b8153913249cffd3c6
tree9af5e9f37ed24ee55d39cd9dd118004815f1cc22
parent2ab43c4816b625b11c3ccbb495ae99570bd8da12
     Actually pause the process while Drosera is at a breakpoint

         WebScriptDebugServer::suspendProcessIfPaused is supposed to pause the
         process while Drosera is at a breakpoint. Previously we were just
         starting a message pump that would deliver messages to all windows in
         the process, allowing mouse events, JS timers, etc. to execute.

         Now we only deliver messages to COM's message window, which is all we
         need to allow RPC to function.

         Reviewed by Anders.

         * WebScriptDebugServer.cpp:
         (comMessageWindow): Added. Finds COM's message window.
         (WebScriptDebugServer::suspendProcessIfPaused): Only deliver messages
         to COM's message window so that mouse events, JS timers, etc., won't
         execute.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30752 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/win/ChangeLog
WebKit/win/WebScriptDebugServer.cpp