<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Consider implementing auxclick event"
   href="https://bugs.webkit.org/show_bug.cgi?id=166849#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Consider implementing auxclick event"
   href="https://bugs.webkit.org/show_bug.cgi?id=166849">bug 166849</a>
              from <span class="vcard"><a class="email" href="mailto:nzolghadr&#64;chromium.org" title="Navid &lt;nzolghadr&#64;chromium.org&gt;"> <span class="fn">Navid</span></a>
</span></b>
        <pre>I double checked with Chrome. The reason you don't see this on Chrome is due to contextmenu. Context menu on Mac opens after down and so it prevents the page from seeing mouseup and then the click/auxclick. FF as oppose to Chrome does not consider the context menu as something that covers the whole page and consumes all the events.

Anyhow, beside that difference in contextmenu which I'm not sure if we can solve as part of the auxclick, Chrome does send auxclick when the page receives both down and up for a non-primary button. You can see this by preventDefaulting the contextmenu event like as I did here:

<a href="https://jsfiddle.net/ejxer8tt/3/">https://jsfiddle.net/ejxer8tt/3/</a>

It worked both for the two finger click on the touch pad or for a PC mouse (middle and right buttons) connected to a Mac.</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>