[orca] Restore broken-text recovery attempts for Gecko's editable plain-text objects
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Restore broken-text recovery attempts for Gecko's editable plain-text objects
- Date: Mon, 2 Jan 2017 18:32:37 +0000 (UTC)
commit cd0256d81c042e01b92548573e2a379302d01a46
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Jan 2 13:27:44 2017 -0500
Restore broken-text recovery attempts for Gecko's editable plain-text objects
Apparently Icedove, and possibly SeaMonkey, still have bugs which are
fixed in Thunderbird and for which sad hacks are still required.
.../scripts/toolkits/Gecko/script_utilities.py | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script_utilities.py
b/src/orca/scripts/toolkits/Gecko/script_utilities.py
index f96f841..a189037 100644
--- a/src/orca/scripts/toolkits/Gecko/script_utilities.py
+++ b/src/orca/scripts/toolkits/Gecko/script_utilities.py
@@ -43,14 +43,7 @@ class Utilities(web.Utilities):
super().__init__(script)
def _attemptBrokenTextRecovery(self, obj):
- try:
- state = obj.getState()
- except:
- msg = "ERROR: Exception getting state for %s" % obj
- debug.println(debug.LEVEL_INFO, msg, True)
- return False
-
- if state.contains(pyatspi.STATE_EDITABLE):
+ if self.isContentEditableWithEmbeddedObjects(obj):
return False
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]