In AIR we've created a carbon plug-in view. From Widget::setFocus we dispatch the getFocusEvent. This is called from Document::setFocusedNode. Windowless plug-ins rely on the PluginView to determine if they have gained, and lost focus. The issue is that the PluginView currently receives no notifications that it has lost focus. I suggest the following fix: 1) Add boolean parameter to Widget::setFocus 2) update Document::setFocusedNode to call Widget::setFocus with the appropriate boolean values.
This bug can be closed and marked as duplicate for https://bugs.webkit.org/show_bug.cgi?id=37961. (which was already fixed)
*** This bug has been marked as a duplicate of bug 37961 ***