<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - REGRESSION(r195899): ASSERTION FAILED: is&lt;Target&gt;(source) in EventPath::retargetTouch() since r195899"
   href="https://bugs.webkit.org/show_bug.cgi?id=153741#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - REGRESSION(r195899): ASSERTION FAILED: is&lt;Target&gt;(source) in EventPath::retargetTouch() since r195899"
   href="https://bugs.webkit.org/show_bug.cgi?id=153741">bug 153741</a>
              from <span class="vcard"><a class="email" href="mailto:cgarcia&#64;igalia.com" title="Carlos Garcia Campos &lt;cgarcia&#64;igalia.com&gt;"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=153741#c3">comment #3</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=153741#c2">comment #2</a>)
&gt; &gt; Comment on <span class=""><a href="attachment.cgi?id=270384&amp;action=diff" name="attach_270384" title="Fix an EventContext downcast.">attachment 270384</a> <a href="attachment.cgi?id=270384&amp;action=edit" title="Fix an EventContext downcast.">[details]</a></span>
&gt; &gt; Fix an EventContext downcast.
&gt; &gt; 
&gt; &gt; I didn't look closely at this, but I'm suspicious that there is a downcast
&gt; &gt; there if the result of the downcast can be changed without breaking the
&gt; &gt; build....
&gt; 
&gt; MouseOrFocusEventContext also derives from EventContext, so the cast is
&gt; valid form the compiler point of view. That's why we have the type traits
&gt; thing to check the cast is valid at runtime. It ended up calling
&gt; EventContext::isMouseOrFocusEventContext() that return false, because the
&gt; concrete type in this case is TouchEventContext.</span >

But it's true that we are using EventContext::node(), and *m_path[0] is already an EventContext, so we don't even need the downcast, I would say.</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>