<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:cfleizach&#64;apple.com" title="chris fleizach &lt;cfleizach&#64;apple.com&gt;"> <span class="fn">chris fleizach</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AX: Selection change as a result of focusing an element may cause Safari to crash"
   href="https://bugs.webkit.org/show_bug.cgi?id=147052">bug 147052</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Attachment #257129 Flags</td>
           <td>review?
           </td>
           <td>review-
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AX: Selection change as a result of focusing an element may cause Safari to crash"
   href="https://bugs.webkit.org/show_bug.cgi?id=147052#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AX: Selection change as a result of focusing an element may cause Safari to crash"
   href="https://bugs.webkit.org/show_bug.cgi?id=147052">bug 147052</a>
              from <span class="vcard"><a class="email" href="mailto:cfleizach&#64;apple.com" title="chris fleizach &lt;cfleizach&#64;apple.com&gt;"> <span class="fn">chris fleizach</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=257129&amp;action=diff" name="attach_257129" title="patch">attachment 257129</a> <a href="attachment.cgi?id=257129&amp;action=edit" title="patch">[details]</a></span>
patch

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

<span class="quote">&gt; Source/WebCore/accessibility/AccessibilityRenderObject.cpp:1687
&gt; +    // To fix it, added a RefPtr to hold the object long enough and also created a cache for the axObjectCache().</span >

Comment --&gt;

&quot;When a node is told to set focus, that can cause it to be deallocated, which means that doing anything else inside this object will crash.
To fix this, we added a RefPtr to protect this object long enough for duration. We can also locally cache the axObjectCache.&quot;</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>