Changeset 247253 in webkit


Ignore:
Timestamp:
Jul 8, 2019 8:30:12 PM (5 years ago)
Author:
Devin Rousso
Message:

Web Inspector: Debugger: special breakpoints and event targets should be sorted into separate "areas"
https://bugs.webkit.org/show_bug.cgi?id=199554

Reviewed by Joseph Pecoraro.

Move the special All Requests breakpoint down to be right above all other URL breakpoints.
Move the window object tree element below other DOM node tree elements.

  • UserInterface/Views/DebuggerSidebarPanel.js:

(WI.DebuggerSidebarPanel.prototype._addTreeElement):

  • UserInterface/Views/SourcesNavigationSidebarPanel.js:

(WI.SourcesNavigationSidebarPanel.prototype._insertDebuggerTreeElement):

Location:
trunk/Source/WebInspectorUI
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r247252 r247253  
     12019-07-08  Devin Rousso  <drousso@apple.com>
     2
     3        Web Inspector: Debugger: special breakpoints and event targets should be sorted into separate "areas"
     4        https://bugs.webkit.org/show_bug.cgi?id=199554
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        Move the special All Requests breakpoint down to be right above all other URL breakpoints.
     9        Move the `window` object tree element below other DOM node tree elements.
     10
     11        * UserInterface/Views/DebuggerSidebarPanel.js:
     12        (WI.DebuggerSidebarPanel.prototype._addTreeElement):
     13        * UserInterface/Views/SourcesNavigationSidebarPanel.js:
     14        (WI.SourcesNavigationSidebarPanel.prototype._insertDebuggerTreeElement):
     15
    1162019-07-08  Devin Rousso  <drousso@apple.com>
    217
  • trunk/Source/WebInspectorUI/UserInterface/Views/DebuggerSidebarPanel.js

    r247237 r247253  
    10641064                (treeElement) => treeElement.representedObject === WI.debuggerManager.uncaughtExceptionsBreakpoint,
    10651065                (treeElement) => treeElement.representedObject === WI.debuggerManager.assertionFailuresBreakpoint,
    1066                 (treeElement) => treeElement.representedObject === WI.domDebuggerManager.allRequestsBreakpoint,
    10671066                (treeElement) => treeElement instanceof WI.BreakpointTreeElement || treeElement instanceof WI.ResourceTreeElement || treeElement instanceof WI.ScriptTreeElement,
    10681067                (treeElement) => treeElement instanceof WI.EventBreakpointTreeElement,
    10691068                (treeElement) => treeElement instanceof WI.DOMNodeTreeElement,
     1069                (treeElement) => treeElement.representedObject === DebuggerSidebarPanel.__windowEventTargetRepresentedObject,
    10701070                (treeElement) => treeElement instanceof WI.DOMBreakpointTreeElement,
     1071                (treeElement) => treeElement.representedObject === WI.domDebuggerManager.allRequestsBreakpoint,
    10711072                (treeElement) => treeElement instanceof WI.URLBreakpointTreeElement,
    10721073            ];
  • trunk/Source/WebInspectorUI/UserInterface/Views/SourcesNavigationSidebarPanel.js

    r247237 r247253  
    854854                (treeElement) => treeElement.representedObject === WI.debuggerManager.uncaughtExceptionsBreakpoint,
    855855                (treeElement) => treeElement.representedObject === WI.debuggerManager.assertionFailuresBreakpoint,
    856                 (treeElement) => treeElement.representedObject === WI.domDebuggerManager.allRequestsBreakpoint,
    857856                (treeElement) => treeElement instanceof WI.BreakpointTreeElement || treeElement instanceof WI.ResourceTreeElement || treeElement instanceof WI.ScriptTreeElement,
    858857                (treeElement) => treeElement instanceof WI.EventBreakpointTreeElement,
    859858                (treeElement) => treeElement instanceof WI.DOMNodeTreeElement,
     859                (treeElement) => treeElement.representedObject === SourcesNavigationSidebarPanel.__windowEventTargetRepresentedObject,
    860860                (treeElement) => treeElement instanceof WI.DOMBreakpointTreeElement,
     861                (treeElement) => treeElement.representedObject === WI.domDebuggerManager.allRequestsBreakpoint,
    861862                (treeElement) => treeElement instanceof WI.URLBreakpointTreeElement,
    862863            ];
Note: See TracChangeset for help on using the changeset viewer.