<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#c3">Comment # 3</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#c2">comment #2</a>)
<span class="quote">&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; Fix an EventContext downcast.
&gt; 
&gt; I didn't look closely at this, but I'm suspicious that there is a downcast
&gt; there if the result of the downcast can be changed without breaking the
&gt; build....</span >

MouseOrFocusEventContext also derives from EventContext, so the cast is valid form the compiler point of view. That's why we have the type traits thing to check the cast is valid at runtime. It ended up calling EventContext::isMouseOrFocusEventContext() that return false, because the concrete type in this case is TouchEventContext.</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>