[orca] Don't filter out web caret-moved events just on the basis of the locusOfFocus



commit 91faef9e16436976235b3429cf8dccbbf50efcdd
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Oct 9 15:12:01 2015 -0400

    Don't filter out web caret-moved events just on the basis of the locusOfFocus
    
    We're seeing false positives, e.g. with longdesc content in a fragment.

 src/orca/scripts/web/script.py |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/orca/scripts/web/script.py b/src/orca/scripts/web/script.py
index 04e2b0f..1a0be81 100644
--- a/src/orca/scripts/web/script.py
+++ b/src/orca/scripts/web/script.py
@@ -1114,12 +1114,6 @@ class Script(default.Script):
             debug.println(debug.LEVEL_INFO, msg)
             return False
 
-        if not self.utilities.inDocumentContent(orca_state.locusOfFocus):
-            msg = "WEB: Event ignored: locusOfFocus (%s) is not in document content" \
-                  % orca_state.locusOfFocus
-            debug.println(debug.LEVEL_INFO, msg)
-            return True
-
         if self._lastCommandWasCaretNav:
             msg = "WEB: Event ignored: Last command was caret nav"
             debug.println(debug.LEVEL_INFO, msg)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]