[orca] Chromium: Ignore busy changes from pages with no URI



commit b6875ed068769caf76c51205cb8c1a548ba92da3
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Jan 8 17:23:30 2019 -0500

    Chromium: Ignore busy changes from pages with no URI

 src/orca/scripts/toolkits/Chromium/script.py | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/src/orca/scripts/toolkits/Chromium/script.py b/src/orca/scripts/toolkits/Chromium/script.py
index 192d4f101..b26896107 100644
--- a/src/orca/scripts/toolkits/Chromium/script.py
+++ b/src/orca/scripts/toolkits/Chromium/script.py
@@ -158,6 +158,11 @@ class Script(web.Script):
             debug.println(debug.LEVEL_INFO, msg, True)
             return
 
+        if not self.utilities.documentFrameURI(event.source):
+            msg = "CHROMIUM: Ignoring event from page with no URI."
+            debug.println(debug.LEVEL_INFO, msg, True)
+            return
+
         if super().onBusyChanged(event):
             return
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]