[orca] Chromium: Ignore busy-changed events from pages which report size of 0
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Chromium: Ignore busy-changed events from pages which report size of 0
- Date: Mon, 12 Nov 2018 19:41:11 +0000 (UTC)
commit dc584d8f7c99522bfc95c0d2744b2b8c67b7e81f
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Nov 12 14:40:24 2018 -0500
Chromium: Ignore busy-changed events from pages which report size of 0
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 f87a0e28a..2979cf02a 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):
def onBusyChanged(self, event):
"""Callback for object:state-changed:busy accessibility events."""
+ if self.utilities.hasNoSize(event.source):
+ msg = "CHROMIUM: Ignoring event from page with no size."
+ 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]