Bug 887592 - Fix filtering on browser events. r=davidb

This commit is contained in:
Eitan Isaacson 2013-07-03 15:02:44 -07:00
parent d5b702f669
commit 830e10e9bc

View File

@ -140,7 +140,7 @@ this.EventManager.prototype = {
// Don't bother with non-content events in firefox.
if (Utils.MozBuildApp == 'browser' &&
aEvent.eventType != EVENT_VIRTUALCURSOR_CHANGED &&
aEvent.accessibleDocument != Utils.CurrentContentDoc) {
aEvent.accessibleDocument.docType == 'window') {
return;
}