This regression is a side effect of fix for 5077565,5079850. The previous fix removed code for pumping messages to the browser window while a modal dialog is active and only user messages are dispatched.
Fix: The fix proposed here is to have different codepaths (one when a modal dialog is active and the other when it is not). The fix checks for the existence of the modal dialog in the do-while loop of JavaAdapter::WaitForJS(...) method. This has to be done because WaitForJS gets called before the modal dialog comes up and so GetActiveWindow will never point to the dialog unless put into the loop.
When modal dialog is active -> pump windows messages to the browser window
When modal dialog is not present -> pump user messages (code that currently exists after fix for 5077565,5079850)
###@###.### 2005-03-23 19:40:07 GMT