[orca] Web: Remove the "zombie" check for documentFrameURI
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Web: Remove the "zombie" check for documentFrameURI
- Date: Tue, 22 Feb 2022 16:08:02 +0000 (UTC)
commit 972e414ee585b89c18451c86b4c99eab776a952f
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Feb 22 16:59:43 2022 +0100
Web: Remove the "zombie" check for documentFrameURI
This check is a carry-over from the original Gecko support. It is
probably redundant to other "zombie" checks, and it can cause us
to ignore a document on the basis of no valid URI as a consequence
of another browser bug (index in parent of -1).
src/orca/scripts/web/script_utilities.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index 9809d9664..1c81476d4 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -337,7 +337,7 @@ class Utilities(script_utilities.Utilities):
def documentFrameURI(self, documentFrame=None):
documentFrame = documentFrame or self.documentFrame()
- if documentFrame and not self.isZombie(documentFrame):
+ if documentFrame:
try:
document = documentFrame.queryDocument()
except NotImplementedError:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]