Add detection of accessibility instantiation

RESOLVED WONTFIX

Status

P2
normal
RESOLVED WONTFIX
8 years ago
2 years ago

People

(Reporter: davidb, Assigned: jono)

Tracking

unspecified

Details

(Whiteboard: accessibility, data, needs-integration)

Attachments

(1 attachment)

re: summit chat with Jono X

I'm interested in data on who is using gecko accessibility. To start with here is some code that detects if our a11y engine is instantiated.

function isAccessibilityInstantiated() {
  var enabled;
  try {
    enabled = Components.manager.QueryInterface(CI.nsIServiceManager)
              .isServiceInstantiatedByContractID(
                  "@mozilla.org/accessibilityService;1",
                  CI.nsISupports);
  } catch (ex) {
    enabled = false;
  }
  return enabled;
}

Updated

8 years ago
Assignee: nobody → jdicarlo
Priority: -- → P1
Target Milestone: -- → 1.1
Note CI is Components.interfaces ;)
(Assignee)

Updated

8 years ago
Priority: P1 → P2
Whiteboard: accessibility, data

Updated

8 years ago
Target Milestone: 1.1 → 1.2
Just a quick ping. I'd still like to see this data.

Updated

8 years ago
Target Milestone: 1.2 → 1.3
(Assignee)

Comment 3

8 years ago
Code added to metadata.js in http://hg.mozilla.org/labs/testpilot/rev/06e4b698b9fd

Correctly reports "false" on my profile, but I need to test it on a build with accessibility instantiation and make sure it reports "true" before I can close this bug.
Thanks!

Do we currently collect data on what modules are injected into Firefox's process?
(Assignee)

Comment 5

8 years ago
No.  (Not through Test Pilot anyway).  Module loading is much lower level than any of the stuff Test Pilot generally looks at.
OK great, we'll provide API for any additional data we're interested in; filed as bug 648121. We'll file a new test pilot bug if/when that happens.
(Assignee)

Comment 7

8 years ago
Created attachment 524913 [details] [diff] [review]
Patch integrating David Bolter's code with metadata module
Attachment #524913 - Flags: review?(mark.finkle)
(Assignee)

Updated

8 years ago
Whiteboard: accessibility, data → accessibility, data, needs-integration
Attachment #524913 - Flags: review?(mark.finkle) → review+
(Assignee)

Comment 8

8 years ago
mfinkle: Was this landed?
Product: Mozilla Labs → Mozilla Labs Graveyard
decommissioned
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.