<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Uncaught Exception: null is not an object (evaluating 'this.listItemElement.classList')"
   href="https://bugs.webkit.org/show_bug.cgi?id=162123">162123</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Uncaught Exception: null is not an object (evaluating 'this.listItemElement.classList')
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>URL</th>
          <td>https://perf-safari.apple.com/v3/
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Web Inspector
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>joepeck&#64;webkit.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>bburg&#64;apple.com, joepeck&#64;webkit.org, mattbaker&#64;apple.com, nvasilyev&#64;apple.com, timothy&#64;apple.com, webkit-bug-importer&#64;group.apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Summary:
Uncaught Exception: null is not an object (evaluating 'this.listItemElement.classList')

Steps to Reproduce:
1. Inspect Element on an element deep in Shadow DOM
  =&gt; exception, element not selected in DOM Tree

Notes:
- The updateTitle is happening onexpand before the element is attached. The &lt;li&gt; is not created until attached.
- This alludes to some performance opportunities. Do we need to update title on expand if not yet attached?

-------
Uncaught Exceptions:
 - null is not an object (evaluating 'this.listItemElement.classList') (at DOMTreeElement.js:1257:45)
    _nodeTitleInfo &#64; DOMTreeElement.js:1257:45
    updateTitle &#64; DOMTreeElement.js:1133:55
    onexpand &#64; DOMTreeElement.js:506:25
    expand &#64; TreeElement.js:391:26
    reveal &#64; TreeElement.js:437:39
    revealAndSelect &#64; TreeElement.js:515:20
    _revealAndSelectNode &#64; DOMTreeOutline.js:291:36
    selectDOMNode &#64; DOMTreeOutline.js:132:34
    selectAndRevealDOMNode &#64; DOMTreeContentView.js:141:43
    showRepresentedObject &#64; ElementsTabContentView.js:82:50
    showRepresentedObject &#64; Main.js:1120:41
    showMainFrameDOMTree &#64; Main.js:1128:31
    _domNodeWasInspected &#64; Main.js:1784:30
    dispatch &#64; Object.js:170:30
    dispatchEventToListeners &#64; Object.js:177:17
    inspectElement &#64; DOMTreeManager.js:313:38
    nodeAvailable &#64; DOMTreeManager.js:331:32
    nodeAvailable &#64; [native code]
    ? &#64; DOMTreeManager.js:108:21
    _dispatchResponseToCallback &#64; InspectorBackend.js:311:27
    _dispatchResponse &#64; InspectorBackend.js:281:45
    dispatch &#64; InspectorBackend.js:157:35
    dispatchNextQueuedMessageFromBackend &#64; MessageDispatcher.js:42:34</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>