[orca] Gracefully fail when document frame cannot be found during page summary
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Gracefully fail when document frame cannot be found during page summary
- Date: Mon, 15 Oct 2018 15:00:44 +0000 (UTC)
commit 1871a0de02644e7357e96c1ef811222400a3c29b
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Oct 15 16:59:52 2018 +0200
Gracefully fail when document frame cannot be found during page summary
src/orca/scripts/web/script_utilities.py | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index d66f6f944..fb2170c78 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -3777,6 +3777,10 @@ class Utilities(script_utilities.Utilities):
'unvisitedLinks': 0}
docframe = self.documentFrame(obj)
+ msg = "WEB: Could not get document frame for %s" % obj
+ debug.println(debug.LEVEL_INFO, msg, True)
+ return result
+
col = docframe.queryCollection()
stateset = pyatspi.StateSet()
roles = [pyatspi.ROLE_HEADING,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]