title: Google chrome onbeforeunload wrong behavior with iframe
body: <p>Let say I have two pages. One of them contains another one inside as iframe. If you subscribe to onbeforeunload event on the parent page, then this event doesn't triggers if you close tab when iframe is in focus. I suppose it is a bug as written here: 
  <a href="http://code.google.com/p/chromium/issues/detail?id=4422" rel="nofollow noreferrer">Google Chrome issues</a></p>
  
  <p>But I mentioned that, for example, google docs handle this situation. Can anyone give me a solution?
  Important note that I have no actual access to the iframe content as it is a third party html editor (WYSIWYG).</p>