mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Added parser message dispatch loop for debug robot to pump netlib
and complete individual parsing.
This commit is contained in:
parent
65af8c68d9
commit
63791bfe84
@ -414,6 +414,20 @@ CopyTextContent(WindowData* wd, HWND aHWnd)
|
||||
|
||||
void yieldProc(const char * str)
|
||||
{
|
||||
// Process messages
|
||||
MSG msg;
|
||||
while (PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE)) {
|
||||
GetMessage(&msg, NULL, 0, 0);
|
||||
if (!JSConsole::sAccelTable ||
|
||||
!gConsole ||
|
||||
!gConsole->GetMainWindow() ||
|
||||
!TranslateAccelerator(gConsole->GetMainWindow(), JSConsole::sAccelTable, &msg)) {
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
/* Pump Netlib... */
|
||||
NET_PollSockets();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
long PASCAL
|
||||
|
Loading…
Reference in New Issue
Block a user