[orca] Revert "Clear cached text when clearing cached objects; not when clearing context cache"
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Revert "Clear cached text when clearing cached objects; not when clearing context cache"
- Date: Tue, 13 Oct 2015 14:44:02 +0000 (UTC)
commit 48d796838ba549ca47d9885fb5b6ebdf4b2e3a6e
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Oct 13 10:42:09 2015 -0400
Revert "Clear cached text when clearing cached objects; not when clearing context cache"
This reverts commit 3027f43c6d87c7b421c84cf7a62714db3bbaa15f.
It seems to have some unexpected side effects.
src/orca/scripts/web/script_utilities.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index cf74140..2707728 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -109,7 +109,6 @@ class Utilities(script_utilities.Utilities):
self._isParentOfNullChild = {}
self._inferredLabels = {}
self._roleDescription = {}
- self._text = {}
self._tag = {}
self._treatAsDiv = {}
self._cleanupContexts()
@@ -121,6 +120,7 @@ class Utilities(script_utilities.Utilities):
self._currentWordContents = None
self._currentCharacterContents = None
self._currentAttrs = {}
+ self._text = {}
def isDocument(self, obj):
roles = [pyatspi.ROLE_DOCUMENT_FRAME, pyatspi.ROLE_DOCUMENT_WEB, pyatspi.ROLE_EMBEDDED]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]