[Webkit-unassigned] [Bug 234572] New: Web Inspector: Assertion Failed removing subview in ContentViewContainer.prototype._disassociateFromContentView

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 21 11:40:40 PST 2021


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

            Bug ID: 234572
           Summary: Web Inspector: Assertion Failed removing subview in
                    ContentViewContainer.prototype._disassociateFromConten
                    tView
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: pangle at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

[Error] Assertion Failed: Subview DOM element must be a child of the parent view element.
        removeSubview (View.js:121)
        _disassociateFromContentView (ContentViewContainer.js:428)
        replaceContentView (ContentViewContainer.js:199)
        showContentView (ContentViewContainer.js:85)
        _showDOMTreeContentViewIfNeeded (ElementsTabContentView.js:144)
        _mainFrameDidChange (ElementsTabContentView.js:149)
        dispatch (Object.js:134)
        dispatchEventToListeners (Object.js:142)
        _mainFrameDidChange (NetworkManager.js:1384)
        _processMainFrameResourceTreePayload (NetworkManager.js:1240)
        _processMainFrameResourceTreePayload
        _dispatchResponseToCallback (Connection.js:152)
        _dispatchResponse (Connection.js:122)
        dispatch (Connection.js:77)
        dispatchProvisionalMessages (Connection.js:68)
        didCommitProvisionalTarget (TargetManager.js:151)
        didCommitProvisionalTarget (TargetObserver.js:37)
        _dispatchEvent (Connection.js:210)
        dispatch (Connection.js:79)
        dispatch (InspectorBackend.js:233)
        (anonymous function) (MessageDispatcher.js:42)

https://trac.webkit.org/changeset/283859/webkit removed the `isAttached` check for the content view by accident when refactoring this method to work with extension tabs, which should not be removed from the DOM, but it is not actually guaranteed that the content view is attached.

-- 
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/20211221/d6eeb6c4/attachment.htm>


More information about the webkit-unassigned mailing list