Commit 24779788 authored by darin's avatar darin

Reviewed by John.

	- probably fixed 3129395 -- Reproducible crash when running a javascript at www.scenespot.org

        * WebCoreSupport.subproj/WebViewFactory.m:
        (-[WebViewFactory runJavaScriptTextInputPanelWithPrompt:defaultText:returningText:]):
        Close the window. Before we relied on it being released which was bad. But it's not clear this
        actually was the cause of the bug.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3136 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e8efe33d
2002-12-19 Darin Adler <darin@apple.com>
Reviewed by John.
- probably fixed 3129395 -- Reproducible crash when running a javascript at www.scenespot.org
* WebCoreSupport.subproj/WebViewFactory.m:
(-[WebViewFactory runJavaScriptTextInputPanelWithPrompt:defaultText:returningText:]):
Close the window. Before we relied on it being released which was bad. But it's not clear this
actually was the cause of the bug.
2002-12-19 Darin Adler <darin@apple.com>
Reviewed by Chris.
......
......@@ -44,6 +44,7 @@ - (BOOL)runJavaScriptTextInputPanelWithPrompt:(NSString *)prompt defaultText:(NS
if (OK) {
*result = [panel text];
}
[[panel window] close];
[panel release];
return OK;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment