[orca] 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] Clear cached text when clearing cached objects; not when clearing context cache
- Date: Tue, 13 Oct 2015 11:40:29 +0000 (UTC)
commit 3027f43c6d87c7b421c84cf7a62714db3bbaa15f
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Oct 13 07:38:19 2015 -0400
Clear cached text when clearing cached objects; not when clearing context cache
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 0496514..e3de8ee 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -109,6 +109,7 @@ class Utilities(script_utilities.Utilities):
self._isParentOfNullChild = {}
self._inferredLabels = {}
self._roleDescription = {}
+ self._text = {}
self._tag = {}
self._treatAsDiv = {}
self._cleanupContexts()
@@ -120,7 +121,6 @@ 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]