[Webkit-unassigned] [Bug 218678] New: Web Inspector: drop `shown`/`hidden` in favor of `attached`/`detached`

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 6 20:53:51 PST 2020


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

            Bug ID: 218678
           Summary: Web Inspector: drop `shown`/`hidden` in favor of
                    `attached`/`detached`
           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: drousso at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

- `attached`/`detached` is tied into `WI.View`, meaning that `attached` is called right after the node is added to the main DOM tree and `detached` is called right before the node is removed from the main DOM tree (we should be removing nodes that aren't visible from the DOM anyways)
 - `shown`/`hidden` are usually called right after `addSubview`/`removeSubview`, which should have already called `attached`/`detached`
 - `attached`/`detached` is already propagated to the entire view subtree, whereas `shown`/`hidden` must be propagated manually

-- 
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/20201107/3df9afed/attachment-0001.htm>


More information about the webkit-unassigned mailing list