Reviewed by rjw.
authorkdecker <kdecker@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 1 Nov 2004 22:20:58 +0000 (22:20 +0000)
committerkdecker <kdecker@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 1 Nov 2004 22:20:58 +0000 (22:20 +0000)
commita845f485567e0e5d5fbbee3518034be89bfa6abf
tree76e432fc10d2f0d67d299023f164a7d5e7d8f915
parent9c6bbc0f541bf8522b0d5ead1cf459bd7af3c6ab
    Reviewed by rjw.

fixed <rdar://problem/3681094> Crash in KJS::WindowFunc::tryCall with application/xhtml+xml Content-Type
once and for all.

        * khtml/ecma/kjs_window.cpp:
        (WindowFunc::tryCall): Added a nil check in the case of an empty document lacking a baseURL().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/ecma/kjs_window.cpp