Commit 99a1718a authored by ggaren's avatar ggaren

Reviewed by timo.

        - Fixed: http://bugzilla.opendarwin.org/show_bug.cgi?id=6318
        REGRESSION: Repro crash in JS called from Flash on bdash.net.nz

        Since we clear all the plugin data structures in setView, we need to
        clear the windowScriptObject as well. I had already done this in my
        previous patch, but I didn't realize there are two windowScriptObjects
        -- one for Netscape PlugIns, and one for WebKit PlugIns.

        * kwq/KWQKHTMLPart.mm:
        (KWQKHTMLPart::setView): Clear the Netscape PlugIn windowScriptObject
        as well.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11864 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f676d912
2006-01-03 Geoffrey Garen <ggaren@apple.com>
Reviewed by timo.
- Fixed: http://bugzilla.opendarwin.org/show_bug.cgi?id=6318
REGRESSION: Repro crash in JS called from Flash on bdash.net.nz
Since we clear all the plugin data structures in setView, we need to
clear the windowScriptObject as well. I had already done this in my
previous patch, but I didn't realize there are two windowScriptObjects
-- one for Netscape PlugIns, and one for WebKit PlugIns.
* kwq/KWQKHTMLPart.mm:
(KWQKHTMLPart::setView): Clear the Netscape PlugIn windowScriptObject
as well.
2006-01-03 Anders Carlsson <andersca@mac.com>
Reviewed by Eric.
......
......@@ -801,6 +801,7 @@ void KWQKHTMLPart::setView(KHTMLView *view)
_bindingRoot = 0;
KWQRelease(_windowScriptObject);
_windowScriptObject = 0;
_windowScriptNPObject = 0;
// Only one form submission is allowed per view of a part.
// Since this part may be getting reused as a result of being
......
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