Closed
Bug 1149772
Opened 10 years ago
Closed 10 years ago
Make nsWinUtils::MaybeStartWindowEmulation and related code match our new plan for e10s a11y.
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
mozilla40
People
(Reporter: davidb, Assigned: tbsaunde)
References
Details
Attachments
(1 file, 1 obsolete file)
1.46 KB,
patch
|
davidb
:
review+
|
Details | Diff | Splinter Review |
We have a remnant from our old e10s work that created a window per tab in the content process.
if (Compatibility::IsJAWS() || Compatibility::IsWE() ||
Compatibility::IsDolphin() ||
XRE_GetProcessType() == GeckoProcessType_Content)
The latter check is likely complicating any testing we do on Windows. We should probably remove and look for the related code and remove that too.
Note eventually if content is properly sandboxed as planned, we won't be able to create windows in the content process at all.
Comment 1•10 years ago
|
||
(In reply to David Bolter [:davidb] from comment #0)
> We have a remnant from our old e10s work that created a window per tab in
> the content process.
>
> if (Compatibility::IsJAWS() || Compatibility::IsWE() ||
> Compatibility::IsDolphin() ||
> XRE_GetProcessType() == GeckoProcessType_Content)
>
> The latter check is likely complicating any testing we do on Windows.
it can be put under the pref
> We
> should probably remove and look for the related code and remove that too.
I'd say no, at least until we didn't settle down with the e10s approach
> Note eventually if content is properly sandboxed as planned, we won't be
> able to create windows in the content process at all.
I wouldn't burn all bridges now
Updated•10 years ago
|
tracking-e10s:
--- → ?
Updated•10 years ago
|
Assignee | ||
Comment 2•10 years ago
|
||
(In reply to alexander :surkov from comment #1)
> (In reply to David Bolter [:davidb] from comment #0)
> > We have a remnant from our old e10s work that created a window per tab in
> > the content process.
> >
> > if (Compatibility::IsJAWS() || Compatibility::IsWE() ||
> > Compatibility::IsDolphin() ||
> > XRE_GetProcessType() == GeckoProcessType_Content)
> >
> > The latter check is likely complicating any testing we do on Windows.
>
> it can be put under the pref
what pref would be appropriate? I guess we could add one, but that seems like a waste of time.
> > Note eventually if content is properly sandboxed as planned, we won't be
> > able to create windows in the content process at all.
>
> I wouldn't burn all bridges now
It needs to happen, but I don't think there's anything to remove until we stop supporting non e10s gecko.
(In reply to David Bolter [:davidb] from comment #0)
> We have a remnant from our old e10s work that created a window per tab in
> the content process.
>
> if (Compatibility::IsJAWS() || Compatibility::IsWE() ||
> Compatibility::IsDolphin() ||
> XRE_GetProcessType() == GeckoProcessType_Content)
>
> The latter check is likely complicating any testing we do on Windows. We
not sure about that, but I think its responsible for bug 1146797
> should probably remove and look for the related code and remove that too.
I think everything else is also needed to support window emulation in non e10s world. Then maybe we'll need to implement window emulation that works with e10s, but hopefully we can drop it.
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8588540 -
Flags: review?(dbolter)
Reporter | ||
Comment 4•10 years ago
|
||
Comment on attachment 8588540 [details] [diff] [review]
never create fake HWND in child processes
Review of attachment 8588540 [details] [diff] [review]:
-----------------------------------------------------------------
Looks surgical enough to me.
Attachment #8588540 -
Flags: review?(dbolter)
Attachment #8588540 -
Flags: review+
Attachment #8588540 -
Flags: feedback?(surkov.alexander)
Comment 5•10 years ago
|
||
(In reply to Trevor Saunders (:tbsaunde) from comment #2)
> (In reply to alexander :surkov from comment #1)
> > (In reply to David Bolter [:davidb] from comment #0)
> > > We have a remnant from our old e10s work that created a window per tab in
> > > the content process.
> > >
> > > if (Compatibility::IsJAWS() || Compatibility::IsWE() ||
> > > Compatibility::IsDolphin() ||
> > > XRE_GetProcessType() == GeckoProcessType_Content)
> > >
> > > The latter check is likely complicating any testing we do on Windows.
> >
> > it can be put under the pref
>
> what pref would be appropriate?
accessibility.ipc_architecture.enabled
Updated•10 years ago
|
Attachment #8588540 -
Flags: feedback?(surkov.alexander) → feedback-
Reporter | ||
Comment 6•10 years ago
|
||
(In reply to alexander :surkov from comment #5)
> (In reply to Trevor Saunders (:tbsaunde) from comment #2)
> > (In reply to alexander :surkov from comment #1)
> > > (In reply to David Bolter [:davidb] from comment #0)
> > > > We have a remnant from our old e10s work that created a window per tab in
> > > > the content process.
> > > >
> > > > if (Compatibility::IsJAWS() || Compatibility::IsWE() ||
> > > > Compatibility::IsDolphin() ||
> > > > XRE_GetProcessType() == GeckoProcessType_Content)
> > > >
> > > > The latter check is likely complicating any testing we do on Windows.
> > >
> > > it can be put under the pref
> >
> > what pref would be appropriate?
>
> accessibility.ipc_architecture.enabled
I'm fine with a pref, my one concern is a vendor forgetting then set it and testing the wrong thing later on...
Reporter | ||
Comment 7•10 years ago
|
||
then/they (sorry for spam)
Assignee | ||
Comment 8•10 years ago
|
||
Attachment #8588540 -
Attachment is obsolete: true
Attachment #8588578 -
Flags: review?(surkov.alexander)
Comment 9•10 years ago
|
||
(In reply to David Bolter [:davidb] from comment #6)
> > accessibility.ipc_architecture.enabled
>
> I'm fine with a pref, my one concern is a vendor forgetting then set it and
> testing the wrong thing later on...
Pref should live till we maintain two approaches. If you are saying that the cache-approach is the only possible solution and now it's good time to burn the bridges then the pref and all related code has to be removed. Also you have to ask our partners to stop looking into multi-window approach, because I believe some of them still do.
Comment 10•10 years ago
|
||
Comment on attachment 8588578 [details] [diff] [review]
never create fake HWND in child processes
Review of attachment 8588578 [details] [diff] [review]:
-----------------------------------------------------------------
::: accessible/windows/msaa/nsWinUtils.cpp
@@ +59,5 @@
> {
> // Register window class that'll be used for document accessibles associated
> // with tabs.
> + if (IPCAccessibilityActive())
> + return false;
that will make JAWS and others not compatible with this e10s architecture, not sure whether this is on demand so redirecting review to David.
Attachment #8588578 -
Flags: review?(surkov.alexander) → review?(dbolter)
Reporter | ||
Comment 11•10 years ago
|
||
Comment on attachment 8588578 [details] [diff] [review]
never create fake HWND in child processes
Hanging an f? for surkov and vendor outreach. We want to wait right?
Attachment #8588578 -
Flags: feedback?(surkov.alexander)
Comment 12•10 years ago
|
||
(In reply to David Bolter [:davidb] from comment #11)
> Comment on attachment 8588578 [details] [diff] [review]
> never create fake HWND in child processes
>
> Hanging an f? for surkov and vendor outreach. We want to wait right?
you may want to take the patch that doesn't touch windows emulation for AT that relies on it
Reporter | ||
Comment 13•10 years ago
|
||
Comment on attachment 8588578 [details] [diff] [review]
never create fake HWND in child processes
Review of attachment 8588578 [details] [diff] [review]:
-----------------------------------------------------------------
I think I'd take this while we wait since it would be good to know if it is causing bug 1146797 (HT Trev).
We can always follow up for testing the e10s escape hatch configuration.
Attachment #8588578 -
Flags: review?(dbolter) → review+
Updated•10 years ago
|
Attachment #8588578 -
Flags: feedback?(surkov.alexander)
Assignee | ||
Comment 14•10 years ago
|
||
Comment 15•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → tbsaunde+mozbugs
You need to log in
before you can comment on or make changes to this bug.
Description
•