title: How to fire "contextmenu' mouseevent in Chrome
body: <p>I am developing a Chrome extension and I am using Chrome 26.
  I want to fire "contextmenu" event on a specific element in content script.<br>
  Here is my code:</p>
  
  <pre><code>var evt = this.src.ownerDocument.createEvent('MouseEvents');
  var RIGHT_CLICK_BUTTON_CODE = 2;
  evt.initMouseEvent('contextmenu', true, true, window, 1, 
          x, y, clientX, clientY, false, false, false, false, RIGHT_CLICK_BUTTON_CODE, null);
  this.src.dispatchEvent(evt);
  </code></pre>
  
  <p>x, y, clientX, clientY parameters are calculated right after check.<br>but this code part fails to popup a context menu with no exception thrown.</p>