gecko-dev/accessible/base
James Teh b992db08f1 Bug 1594623: Suppress focus events for OuterDocAccessibles to prevent incorrect reporting for OOP iframes. r=yzen
An OuterDoc shouldn't get accessibility focus itself.
Focus should always go to something inside it.
However, OOP iframes will get DOM focus because their content isn't in this process.
We now suppress the OuterDoc focus in this case.
The OOP browser will fire focus for the correct Accessible inside the embedded document.
Without suppression of the OuterDoc focus, the two focus events will race and the OuterDoc focus may override the correct embedded focus for accessibility clients.
Even if they fired in the correct order, clients may report extraneous focus information to the user before reporting the correct focus.

Differential Revision: https://phabricator.services.mozilla.com/D52126

--HG--
extra : moz-landing-system : lando
2019-11-07 20:32:46 +00:00
..
ARIAMap.cpp Bug 1540813 - Support new ARIA roles insertion and deletion, r=Jamie 2019-08-21 20:36:39 +00:00
ARIAMap.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ARIAStateMap.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ARIAStateMap.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
AccEvent.cpp Bug 1578355 - Part 1: Move user-activation code from EventStateManager to UserActivation; r=smaug 2019-09-20 20:51:25 +00:00
AccEvent.h Bug 1558390: For OOP iframes, also send the embedder accessible when the BrowserBridgeChild is created. r=yzen,nika 2019-06-13 02:19:42 +00:00
AccGroupInfo.cpp Bug 1515186 - Always calculate group position for all children of an accessible after a tree mutation, r=Jamie 2019-01-10 05:59:01 +00:00
AccGroupInfo.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
AccIterator.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-10-21 14:13:44 +00:00
AccIterator.h Bug 1587791 - remove XBL backed accessible relations support r=MarcoZ 2019-10-10 14:08:17 +00:00
AccTypes.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
AccessibleOrProxy.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
AccessibleOrProxy.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Asserts.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
DocManager.cpp Bug 1559414 - Rename unaudited pre-fission methods with SameProcess for future audit burndown. r=nika 2019-07-26 16:48:31 +00:00
DocManager.h Bug 1543013 - part 2: Make accessible use mozilla::PresShell directly rather than via nsIPresShell r=Jamie 2019-04-13 12:13:15 +00:00
EmbeddedObjCollector.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
EmbeddedObjCollector.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
EventQueue.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
EventQueue.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
EventTree.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
EventTree.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Filters.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Filters.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
FocusManager.cpp Bug 1594623: Suppress focus events for OuterDocAccessibles to prevent incorrect reporting for OOP iframes. r=yzen 2019-11-07 20:32:46 +00:00
FocusManager.h Bug 1190882: If the focused accessible is removed from the tree, fire a11y focus on the document. r=eeejay 2019-05-15 00:31:16 +00:00
IDSet.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Logging.cpp Bug 1576696 - Add a '0x' prefix to hex pointer values in logging nodes. r=Jamie 2019-08-27 02:02:01 +00:00
Logging.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
MarkupMap.h Bug 1579633: Update menu role, HTML spec tests. r=Jamie 2019-10-17 15:45:27 +00:00
NotificationController.cpp Bug 1565728 - Introduce PDocAccessiblePlatformExt. r=Jamie 2019-09-13 16:55:01 +00:00
NotificationController.h Bug 686400 - Filter content insertions in DocAccessible. r=Jamie 2019-08-01 16:19:15 +00:00
Pivot.cpp Bug 1580019 - Refactor nsIAccessiblePivot to a stateless Pivot class. r=Jamie 2019-09-18 22:23:58 +00:00
Pivot.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-10-06 18:29:55 +00:00
Platform.h Bug 1543013 - part 1: Mark some methods of nsCoreUtils as MOZ_CAN_RUN_SCRIPT r=Jamie 2019-04-13 12:13:13 +00:00
Relation.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
RelationType.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
RelationTypeMap.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Role.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
RoleMap.h Bug 1529407: Correct MSAA accValue and accRole for role="document". r=MarcoZ 2019-02-21 06:48:02 +00:00
SelectionManager.cpp Bug 1543013 - part 2: Make accessible use mozilla::PresShell directly rather than via nsIPresShell r=Jamie 2019-04-13 12:13:15 +00:00
SelectionManager.h Bug 1543013 - part 2: Make accessible use mozilla::PresShell directly rather than via nsIPresShell r=Jamie 2019-04-13 12:13:15 +00:00
States.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Statistics.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
StyleInfo.cpp Bug 1576194 - Remove kDisplayKTable. r=mats 2019-08-23 15:52:05 +00:00
StyleInfo.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
TextAttrs.cpp Bug 1554716 - Remove nsStyleColor moving the color property to nsStyleText. r=jfkthame 2019-05-31 14:48:22 +00:00
TextAttrs.h Bug 1535165 - Use cbindgen for text-decoration-line. r=dholbert,boris 2019-03-18 17:58:16 +00:00
TextRange-inl.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
TextRange.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
TextRange.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
TextUpdater.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
TextUpdater.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
TreeWalker.cpp Bug 1587512 - remove XBL dialog support bits; remove XBL support from TreeWalker; update XBL related comments and remove XBL mutation test r=MarcoZ,Jamie 2019-10-14 05:36:10 +00:00
TreeWalker.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
XULMap.h Bug 1513325 - Remove textbox binding. r=emilio,dao 2019-10-09 09:27:28 +00:00
moz.build Bug 1587791 - remove XBL backed accessible relations support r=MarcoZ 2019-10-10 14:08:17 +00:00
nsAccCache.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsAccUtils.cpp Bug 1563598: Display 'container-live' attribute on descendents of implicitly-live elements. r=Jamie 2019-09-13 16:43:58 +00:00
nsAccUtils.h Bug 1543013 - part 2: Make accessible use mozilla::PresShell directly rather than via nsIPresShell r=Jamie 2019-04-13 12:13:15 +00:00
nsAccessibilityService.cpp Bug 1415667: Always use OuterDocAccessible for iframes, even if an ARIA table role is specified. r=yzen 2019-10-29 14:26:49 +00:00
nsAccessibilityService.h Bug 1563598: Display 'container-live' attribute on descendents of implicitly-live elements. r=Jamie 2019-09-13 16:43:58 +00:00
nsAccessiblePivot.cpp Bug 1580019 - Refactor nsIAccessiblePivot to a stateless Pivot class. r=Jamie 2019-09-18 22:23:58 +00:00
nsAccessiblePivot.h Bug 1580019 - Refactor nsIAccessiblePivot to a stateless Pivot class. r=Jamie 2019-09-18 22:23:58 +00:00
nsCoreUtils.cpp Bug 1569262 - Rename nsIDocShellTreeItem::GetRootTreeItem to GetInProcessRootTreeItem for Fission marking. r=nika 2019-08-07 19:24:00 +00:00
nsCoreUtils.h Bug 686400 - Add function to nsCoreUtils for display: contents. r=Jamie 2019-08-01 16:19:06 +00:00
nsEventShell.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsEventShell.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsTextEquivUtils.cpp Bug 1546697 - Use a consistent style for enum classes in layout. r=dholbert 2019-04-25 23:03:04 +00:00
nsTextEquivUtils.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00