<rdar://problem/5663888> Cannot type into a JavaScript prompt created from...
[WebKit-https.git] / WebKit / win / WebChromeClient.cpp
index a44d26485c79143c5b44ffbde31d2c19d3cf7127..c263744c729f4b339202e9ccf6c6c57004f45322 100644 (file)
@@ -349,6 +349,8 @@ bool WebChromeClient::runJavaScriptPrompt(Frame*, const String& message, const S
     if (FAILED(m_webView->uiDelegate(&ui)))
         return false;
 
+    TimerBase::fireTimersInNestedEventLoop();
+
     BSTR resultBSTR = 0;
     if (FAILED(ui->runJavaScriptTextInputPanelWithPrompt(m_webView, BString(message), BString(defaultValue), &resultBSTR)))
         return false;