gecko-dev/accessible
James Teh 0b42799e46 Bug 1644323: For in-process iframes in content processes, use the emulated window set on the top level DocAccessibleChild (if any). r=MarcoZ
When window emulation is enabled, the emulated window is set on the top level DocAccessibleChild.
However, it isn't set on child documents (in-process iframes).
Therefore, when querying the window handle, we need to check for an emulated window handle on the top level document and return that if present.
This fixes the window handle returned by IAccessible2::get_windowHandle.

Note that the window handle used when firing events was already correct, as that is determined in the parent process.
In the parent process, the emulated window was already being propagated down to child DocAccessibleParents by BrowserParent::RecvPDocAccessibleConstructor.

Differential Revision: https://phabricator.services.mozilla.com/D79035
2020-06-10 07:11:31 +00:00
..
android Bug 1641932: Add Mac subroles to role map. r=eeejay 2020-06-05 03:45:44 +00:00
aom Bug 1626570 - Improve handling of copying arrays in accessible/. r=smaug 2020-04-30 09:36:14 +00:00
atk Bug 1641932: Add Mac subroles to role map. r=eeejay 2020-06-05 03:45:44 +00:00
base Bug 1573630: Remove usage of nsIDocShellTreeItem in nsCoreUtils::IsTopLevelContentDocInProcess. r=MarcoZ 2020-06-10 05:03:07 +00:00
generic Bug 1634591: Rename nsCoreUtils::IsTabDocument to IsTopLevelContentDocInProcess. Rename DocAccessible::eTabDocument to eTopLevelContentDocInProcess. r=MarcoZ 2020-06-10 05:03:05 +00:00
html Bug 1624909: Create and maintain radio siblings array for position information. r=eeejay 2020-05-29 17:37:46 +00:00
interfaces Bug 1642030 - Support testing of parameterized attributes in Mac mochitests. r=morgan 2020-06-02 04:20:38 +00:00
ipc Bug 1644323: For in-process iframes in content processes, use the emulated window set on the top level DocAccessibleChild (if any). r=MarcoZ 2020-06-10 07:11:31 +00:00
mac Backed out changeset 498dee65dcf8 (bug 1643168) for Browser-chrome failures browser/mac/browser_focus.js. CLOSED TREE 2020-06-08 20:28:05 +03:00
other
tests Backed out changeset c15ccd143f32 (bug 1630391) for failures on browser_HCM_telemetry.js. CLOSED TREE 2020-06-10 03:07:24 +03:00
windows Bug 1634591: Rename nsCoreUtils::IsTabDocument to IsTopLevelContentDocInProcess. Rename DocAccessible::eTabDocument to eTopLevelContentDocInProcess. r=MarcoZ 2020-06-10 05:03:05 +00:00
xpcom Bug 1642030 - Support testing of parameterized attributes in Mac mochitests. r=morgan 2020-06-02 04:20:38 +00:00
xul Bug 1628415 part 3: Remove XULListboxAccessible::Value. r=MarcoZ 2020-05-08 04:28:11 +00:00
moz.build Backed out changeset c15ccd143f32 (bug 1630391) for failures on browser_HCM_telemetry.js. CLOSED TREE 2020-06-10 03:07:24 +03:00