Changeset 79887 in webkit


Ignore:
Timestamp:
Feb 28, 2011 11:29:59 AM (13 years ago)
Author:
pfeldman@chromium.org
Message:

2011-02-28 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: [REGRESSION] no resources in scripts panel because debugger is enabled too early.
https://bugs.webkit.org/show_bug.cgi?id=55389

  • inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::populateScriptObjects):
  • inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::setFrontend): (WebCore::InspectorDebuggerAgent::enableDebuggerAfterShown):
  • inspector/InspectorDebuggerAgent.h:
Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r79882 r79887  
     12011-02-28  Pavel Podivilov  <podivilov@chromium.org>
     2
     3        Reviewed by Pavel Feldman.
     4
     5        Web Inspector: [REGRESSION] no resources in scripts panel because debugger is enabled too early.
     6        https://bugs.webkit.org/show_bug.cgi?id=55389
     7
     8        * inspector/InspectorAgent.cpp:
     9        (WebCore::InspectorAgent::populateScriptObjects):
     10        * inspector/InspectorDebuggerAgent.cpp:
     11        (WebCore::InspectorDebuggerAgent::setFrontend):
     12        (WebCore::InspectorDebuggerAgent::enableDebuggerAfterShown):
     13        * inspector/InspectorDebuggerAgent.h:
     14
    1152011-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
    216
  • trunk/Source/WebCore/inspector/InspectorAgent.cpp

    r79864 r79887  
    465465    }
    466466
     467    m_debuggerAgent->enableDebuggerAfterShown();
    467468    restoreProfiler(ProfilerRestoreNoAction);
    468469
  • trunk/Source/WebCore/inspector/InspectorDebuggerAgent.cpp

    r79858 r79887  
    129129{
    130130    m_frontend = frontend;
     131}
     132
     133void InspectorDebuggerAgent::enableDebuggerAfterShown()
     134{
    131135    // Erase sticky breakpoints. If we are restoring from a cookie setFrontend msut be called
    132136    // before the state is loaded from the cookie.
  • trunk/Source/WebCore/inspector/InspectorDebuggerAgent.h

    r79858 r79887  
    7373    void restore();
    7474    void setFrontend(InspectorFrontend*);
     75    void enableDebuggerAfterShown();
    7576    void clearFrontend();
    7677
Note: See TracChangeset for help on using the changeset viewer.