[orca] Chromium: Remove another obsolete hack



commit b7786a581b08651ac581b96f90f4c911d633bfa6
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Thu Jun 13 19:51:12 2019 -0400

    Chromium: Remove another obsolete hack

 src/orca/scripts/toolkits/Chromium/script_utilities.py | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Chromium/script_utilities.py 
b/src/orca/scripts/toolkits/Chromium/script_utilities.py
index a0cb61c66..3bfcecfdc 100644
--- a/src/orca/scripts/toolkits/Chromium/script_utilities.py
+++ b/src/orca/scripts/toolkits/Chromium/script_utilities.py
@@ -254,13 +254,6 @@ class Utilities(web.Utilities):
         if not obj or self.inDocumentContent(obj):
             return False
 
-        # If we clear the cache, other objects (like the listbox parent as well as the
-        # selected list item) then claim to have role of redundant-object. Re-test after
-        # we get children-changed events.
-        if obj.getRole() == pyatspi.ROLE_REDUNDANT_OBJECT:
-            msg = "CHROMIUM: WARNING: Suspected bogus role on %s" % obj
-            debug.println(debug.LEVEL_INFO, msg, True)
-
         popupFor = lambda r: r.getRelationType() == pyatspi.RELATION_POPUP_FOR
         relations = list(filter(popupFor, obj.getRelationSet()))
         if not relations:


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