Closed Bug 1366374 Opened 7 years ago Closed 7 years ago

Fail gracefully when a11y COM handler is not registered

Categories

(Core :: Disability Access APIs, defect)

Unspecified
Windows
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: eeejay, Assigned: eeejay)

References

Details

(Whiteboard: aes+)

Attachments

(1 file)

We cannot garauntee that the AccessibleHandler.dll will be registered in the OS. For example, when a user uses an zipped distribution of Firefox and not the installer. Our test machines don't use an installer either.

We need to not crash when the dll is not available.
Blocks: 1363221
The relevant registry key to look for is:
HKEY_CLASSES_ROOT\CLSID\<CLSID_AccessibleHandler>\InprocHandler32

where

<CLSID_AccessibleHandler> is that CLSID in string form (with curlies and dashes, all uppercase).
CLSID_AccessibleHandler is declared in HandlerData.h (this is a generated header).
Assignee: nobody → eitan
Attachment #8870099 - Flags: review?(aklotz)
Blocks: 1366837
Whiteboard: aes+
Attachment #8870099 - Flags: review?(aklotz) → review+
Pushed by eisaacson@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/73d1332a69f4
Check if AccessibleHandler.dll is registered before using. r=aklotz
https://hg.mozilla.org/mozilla-central/rev/73d1332a69f4
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: