- fixed rdar://problem/
3681094> Crash in KJS::WindowFunc::tryCall
with application/xhtml+xml Content-Type
* khtml/ecma/kjs_window.cpp:
(WindowFunc::tryCall): since this is an xml document, we get the
domain from the xmlDocImpl(), not docImpl().
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7326
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2004-08-23 Kevin Decker <kdecker@apple.com>
+
+ Reviewed by Maciej.
+
+ - fixed rdar://problem/3681094> Crash in KJS::WindowFunc::tryCall with application/xhtml+xml Content-Type
+ * khtml/ecma/kjs_window.cpp:
+ (WindowFunc::tryCall): since this is an xml document, we get the
+ domain from the xmlDocImpl(), not docImpl().
+
2004-08-23 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
if (part->xmlDocImpl()) {
kdDebug(6070) << "Setting domain to " << part->xmlDocImpl()->domain().string() << endl;
- khtmlpart->xmlDocImpl()->setDomain( part->docImpl()->domain(), true );
+ khtmlpart->xmlDocImpl()->setDomain( part->xmlDocImpl()->domain(), true );
}
if ( part->docImpl() )