title: jquery: Windows Google Chrome does not trigger event in iframe
body: <p>So, I'm working on a WYSIWYG editor with an already setup Grammar, etc. I've been tasked to add copy and paste functionality for cross program. The code I have works in Google Chrome on Ubuntu, Firefox in Ubuntu and Windows, but not in Chrome on windows.</p>
  
  <p>I've tracked down the problem to something basic. When the paste command is sent (through the Ctrl + V) event, I immediately change focus to a hidden, contenteditable, iframe, and trigger the event there. I then wait for it to bubble up and then handle parsing and pasting.</p>
  
  <pre><code>this.pasteOperation = function(event, controller) {
       this._cutpastearea.getEditable().focus().trigger(event);
       setTimeout(function() { controller.clipboardControl().handlePaste(); }, 1);
  },
  </code></pre>
  
  <p>(Where getEditable gets the contenteditable section of the iframe)</p>
  
  <p>Now, if I reveal the iframe, and disable the set timeout, I find that focus has been grabbed, but nothing has been pasted. If I proceed to manually paste it in, and then call the function, everything works.</p>
  
  <p>So why does this not trigger the event?</p>
  
  <p>Edit: Raised the issue at <a href="http://code.google.com/p/chromium/issues/detail?id=47757" rel="nofollow noreferrer">Chromium Issues</a> as well. It seems to be an iframe only issue.</p>