<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WeakMap reference w/ DOM element as key does not survive long enough"
   href="https://bugs.webkit.org/show_bug.cgi?id=137651#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WeakMap reference w/ DOM element as key does not survive long enough"
   href="https://bugs.webkit.org/show_bug.cgi?id=137651">bug 137651</a>
              from <span class="vcard"><a class="email" href="mailto:fpizlo&#64;apple.com" title="Filip Pizlo &lt;fpizlo&#64;apple.com&gt;"> <span class="fn">Filip Pizlo</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=253904&amp;action=diff" name="attach_253904" title="The patch">attachment 253904</a> <a href="attachment.cgi?id=253904&amp;action=edit" title="The patch">[details]</a></span>
The patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=253904&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=253904&amp;action=review</a>

<span class="quote">&gt; Source/WebCore/bindings/js/JSNodeCustom.cpp:79
&gt; -static inline bool isObservable(JSNode* jsNode, Node* node)
&gt; -{
&gt; -    // The root node keeps the tree intact.
&gt; -    if (!node-&gt;parentNode())
&gt; -        return true;
&gt; -
&gt; -    if (jsNode-&gt;hasCustomProperties())
&gt; -        return true;
&gt; -
&gt; -    // A node's JS wrapper is responsible for marking its JS event listeners.
&gt; -    if (node-&gt;hasEventListeners())
&gt; -        return true;
&gt; -
&gt; -    return false;
&gt; -}
&gt; -
&gt; -static inline bool isReachableFromDOM(JSNode* jsNode, Node* node, SlotVisitor&amp; visitor)
&gt; +static inline bool isReachableFromDOM(Node* node, SlotVisitor&amp; visitor)</span >

Hmmm, it seems like we should do some performance tests to make sure that this isn't too severe.</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>