[Webkit-unassigned] [Bug 195978] Web Inspector: Navigating to resource sometimes shows different resource

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 16 16:59:06 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=195978

Nikita Vasilyev <nvasilyev at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|webkit-unassigned at lists.web |nvasilyev at apple.com
                   |kit.org                     |

--- Comment #2 from Nikita Vasilyev <nvasilyev at apple.com> ---
I added console.trace inside of WI.ContentViewContainer.prototype.showContentView.

When clicking on "SpreadsheetCSSStyleDeclarationSection.css" link in the styles sidebar,
GeneralStyleDetailsSidebarPanel.css got selected instead.

[Log] Trace: showContentView – "SpreadsheetCSSStyleDeclarationSection.css"
        showContentView (ContentViewContainer.js:90)
        showRepresentedObject (ContentBrowserTabContentView.js:231)
        tabChanged (Main.js:1331)
        showRepresentedObject (Main.js:1338)
        showSourceCode (Main.js:1380)
        showSourceCodeLocation (Main.js:1385)
        showSourceCodeLocation (Main.js:2869)
        showSourceCodeLocation

[Log] Trace: showContentView – "GeneralStyleDetailsSidebarPanel.css"
        showContentView (ContentViewContainer.js:90)
        showDefaultContentViewForTreeElement (NavigationSidebarPanel.js:201:83)
        _checkElementsForPendingViewStateCookie (NavigationSidebarPanel.js:723)
        _treeElementAddedOrChanged (NavigationSidebarPanel.js:618)
        dispatch (Object.js:165)
        dispatchEventToListeners (Object.js:172)
        insertChild (TreeOutline.js:348)
        _insertChildTreeElement (FolderizedTreeElement.js:248)
        _addTreeElement (FolderizedTreeElement.js:218)
        addChildForRepresentedObject (FolderizedTreeElement.js:105)
        onpopulate (FrameTreeElement.js:167)
        expand (TreeElement.js:407)
        _attach (TreeElement.js:287)
        insertChild (TreeOutline.js:345)
        _mainFrameMainResourceDidChange (ResourceSidebarPanel.js:290)
        initialLayout (ResourceSidebarPanel.js:201)
        _layoutSubtree (View.js:283)
        _visitViewTreeForLayout (View.js:386)

(showContentView was actually called 8 times (!), but these two items above are relevant to this bug.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190416/4b9e2a12/attachment-0001.html>


More information about the webkit-unassigned mailing list