[orca] Gecko: Don't do SayAll for URIs starting with "moz-extension"
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Gecko: Don't do SayAll for URIs starting with "moz-extension"
- Date: Tue, 29 Jan 2019 03:27:34 +0000 (UTC)
commit 3a12b718e0b840909fa82f7de882f90149417b7f
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Jan 28 22:26:16 2019 -0500
Gecko: Don't do SayAll for URIs starting with "moz-extension"
src/orca/scripts/toolkits/Gecko/script_utilities.py | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script_utilities.py
b/src/orca/scripts/toolkits/Gecko/script_utilities.py
index 3fd9190e1..824456290 100644
--- a/src/orca/scripts/toolkits/Gecko/script_utilities.py
+++ b/src/orca/scripts/toolkits/Gecko/script_utilities.py
@@ -181,6 +181,10 @@ class Utilities(web.Utilities):
if "self-repair.mozilla.org" in name:
return True
+ uri = self.documentFrameURI(obj)
+ if uri.startswith("moz-extension"):
+ return True
+
return False
def canBeActiveWindow(self, window, clearCache=False):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]