- fixed <rdar://problem/
5197621> closing second window crashed webkit (13660)
http://bugs.webkit.org/show_bug.cgi?id=13660
No test case; not testable.
* page/mac/FrameMac.mm:
(WebCore::Frame::cleanupPlatformScriptObjects): Check if the interpreter is null;
if so, we don't want to do work that may lazily create it while the Frame is being
destroyed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@21419
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+<<<<<<< .mine
+2007-05-11 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Geoff.
+
+ - fixed <rdar://problem/5197621> closing second window crashed webkit (13660)
+ http://bugs.webkit.org/show_bug.cgi?id=13660
+
+ No test case; not testable.
+
+ * page/mac/FrameMac.mm:
+ (WebCore::Frame::cleanupPlatformScriptObjects): Check if the interpreter is null;
+ if so, we don't want to do work that may lazily create it while the Frame is being
+ destroyed.
+
+=======
2007-05-11 Oliver Hunt <oliver@apple.com>
Reviewed by Brady.
Don't create SVG elements for documents that are in dashboard
compatibility mode
+>>>>>>> .r21418
2007-05-11 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Maciej.
// (This problem is unique to m_windowScriptObject because its JS/DOM counterparts
// persist across page loads.)
removeDOMWrapper(reinterpret_cast<DOMObjectInternal*>(d->m_domWindow.get()));
- removeJSWrapper(KJS::Window::retrieveWindow(this));
+ if (d->m_jscript->haveInterpreter())
+ removeJSWrapper(KJS::Window::retrieveWindow(this));
d->m_windowScriptObject = 0;
}