Commit 86ef7315 authored by harrison's avatar harrison

Reviewed by Tim Omernick

        <rdar://problem/4609481> Crash calling -[WebScriptObject valueForKey:] when JS disabled
        
        * bridge/mac/FrameMac.mm:
        (WebCore::FrameMac::executionContextForDOM):
        Early return if JS is not enabled.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 186210ba
2006-06-30 David Harrison <harrison@apple.com>
Reviewed by Tim Omernick
<rdar://problem/4609481> Crash calling -[WebScriptObject valueForKey:] when JS disabled
* bridge/mac/FrameMac.mm:
(WebCore::FrameMac::executionContextForDOM):
Early return if JS is not enabled.
2006-06-30 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by Tim H.
......
......@@ -1041,6 +1041,9 @@ bool FrameMac::tabsToAllControls() const
KJS::Bindings::RootObject *FrameMac::executionContextForDOM()
{
if (!jScriptEnabled())
return 0;
return bindingRootObject();
}
......
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