Closed Bug 1430938 Opened 6 years ago Closed 6 years ago

[e10s a11y] Eliminate some pointless cross-process QueryService calls by JAWS and UI Automation

Categories

(Core :: Disability Access APIs, enhancement)

All
Windows
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

By looking at our mscom logs, I've observed some pointless cross-process QueryService calls from JAWS and UI Automation. Some of these are services we simply don't support. We can just add those to the existing kUnsupportedServices list in the handler. However, JAWS also uses QueryService to get IAccessibleText and IAccessibleAction. Aside from this being a pointless cross-proc call (we have these interfaces cached for QI), the handler also won't get used if the interface isn't fetched via QI. So, we can just silently convert these calls to a QI.

From what I can see, this doesn't provide a significant perf boost for JAWS, but it may provide something and it will certainly have an impact on use of handler caching.
Comment on attachment 8943079 [details]
Bug 1430938 part 1: AccessibleHandler: Handle some additional unsupported services queried by JAWS and UI Automation.

https://reviewboard.mozilla.org/r/213370/#review219166
Attachment #8943079 - Flags: review?(mzehe) → review+
Comment on attachment 8943080 [details]
Bug 1430938 part 2: AccessibleHandler: When QueryService is called for IAccessibleAction or IAccessibleText, just use QI.

https://reviewboard.mozilla.org/r/213372/#review219170
Attachment #8943080 - Flags: review?(mzehe) → review+
Pushed by mzehe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a5075d257701
part 1: AccessibleHandler: Handle some additional unsupported services queried by JAWS and UI Automation. r=MarcoZ
https://hg.mozilla.org/integration/autoland/rev/b38266ed3cd4
part 2: AccessibleHandler: When QueryService is called for IAccessibleAction or IAccessibleText, just use QI. r=MarcoZ
https://hg.mozilla.org/mozilla-central/rev/a5075d257701
https://hg.mozilla.org/mozilla-central/rev/b38266ed3cd4
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: