Changeset 21427 in webkit


Ignore:
Timestamp:
May 12, 2007 1:35:46 AM (17 years ago)
Author:
eseidel
Message:

2007-05-12 Eric Seidel <eric@webkit.org>

Reviewed by mjs.

Crash starting Safari with JavaScript disabled.
http://bugs.webkit.org/show_bug.cgi?id=13691


Test: none possible.

  • page/mac/FrameMac.mm: (WebCore::Frame::cleanupPlatformScriptObjects): NULL check d->m_script
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r21425 r21427  
     12007-05-12  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by mjs.
     4
     5        Crash starting Safari with JavaScript disabled.
     6        http://bugs.webkit.org/show_bug.cgi?id=13691
     7       
     8        Test: none possible.
     9
     10        * page/mac/FrameMac.mm:
     11        (WebCore::Frame::cleanupPlatformScriptObjects): NULL check d->m_script
     12
    1132007-05-11  David Hyatt  <hyatt@apple.com>
    214
  • trunk/WebCore/page/mac/FrameMac.mm

    r21419 r21427  
    733733    // persist across page loads.)
    734734    removeDOMWrapper(reinterpret_cast<DOMObjectInternal*>(d->m_domWindow.get()));
    735     if (d->m_jscript->haveInterpreter())
     735    if (d->m_jscript && d->m_jscript->haveInterpreter())
    736736        removeJSWrapper(KJS::Window::retrieveWindow(this));
    737737    d->m_windowScriptObject = 0;
Note: See TracChangeset for help on using the changeset viewer.