Closed Bug 1232416 Opened 10 years ago Closed 1 year ago

Update accessibility last loads prefs only when clients request content accessible interfaces

Categories

(Firefox :: General, defect, P3)

Unspecified
Windows
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
e10s + ---
firefox45 --- affected

People

(Reporter: jimm, Unassigned)

References

Details

(Whiteboard: aes-)

Bug 1198459 disabled e10s for all users who have recently run with accessibility. This included users who run Windows on Win8 and Win8 touch screen devices. If possible we'd like to try and detect users who have apz enabled and who have a touch screen device and allow e10s, while also disabling content process accessibility from initializing.
In triage we changed the ask here - disable a11y support in content and keep e10s running but only on systems that invoke a11y due to Windows 8/10 soft keyboard / touch screen use. The problem here is that we have no idea why Windows does this, but we have a bug on it. Hooking up dependencies.
Blocks: e10sa11y2
Depends on: 1163004
We do not know how to detect these users accurately. We can detect touch screens, and we know if a11y was loaded, but we can't identify specific clients.
David, what are the chances we can delay initialization of content a11y until a client requests access to content? cc'ing blassey who did some investigative work on this.
Flags: needinfo?(dbolter)
I should defer that one to Trevor.
Flags: needinfo?(dbolter) → needinfo?(tbsaunde+mozbugs)
What I think we're looking for is a central location where we can detect when content data gets requested. We would fail these calls and prompt with the doorhanger we currently use. After a restart e10s would be disabled.
(In reply to Jim Mathies [:jimm] from comment #3) > David, what are the chances we can delay initialization of content a11y > until a client requests access to content? > > cc'ing blassey who did some investigative work on this. as you note later I don't think we want to activate a11y on release branches for content at the moment. (In reply to Jim Mathies [:jimm] from comment #5) > What I think we're looking for is a central location where we can detect > when content data gets requested. We would fail these calls and prompt with > the doorhanger we currently use. After a restart e10s would be disabled. I don't believe such a thing exists. There's a bunch of ways for a client to go from a chrome object to a content one, and I'm almost certainly forgetting some.
Flags: needinfo?(tbsaunde+mozbugs)
We're going to look at trying to detect when accessibility tools request content interfaces and use that to set the two a11y load prefs (accessibility.lastLoadDate, accessibility.loadedInLastSession) vs. setting this down in nsBaseWidget when the root accessible interface is requested.
Summary: Enable e10s+apz for user who have touch screens without turning on content process accessibility features → Update accessibility last loads prefs only when clients request content accessible interfaces
Priority: -- → P1
Whiteboard: aes-
Whiteboard: aes- → aes+
OS: Unspecified → Windows
Whiteboard: aes+ → aes-
Priority: P1 → P3
Severity: normal → S3

E10s shipped for all users a long time ago.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.