Closed Bug 577694 Opened 14 years ago Closed 8 years ago

Add detection of accessibility instantiation

Categories

(Mozilla Labs Graveyard :: Test Pilot, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: davidb, Assigned: jono)

Details

(Whiteboard: accessibility, data, needs-integration)

Attachments

(1 file)

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;
}
Assignee: nobody → jdicarlo
Priority: -- → P1
Target Milestone: -- → 1.1
Note CI is Components.interfaces ;)
Priority: P1 → P2
Whiteboard: accessibility, data
Target Milestone: 1.1 → 1.2
Just a quick ping. I'd still like to see this data.
Target Milestone: 1.2 → 1.3
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?
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.
Attachment #524913 - Flags: review?(mark.finkle)
Whiteboard: accessibility, data → accessibility, data, needs-integration
Attachment #524913 - Flags: review?(mark.finkle) → review+
mfinkle: Was this landed?
Product: Mozilla Labs → Mozilla Labs Graveyard
decommissioned
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: