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
..
AccessibleOrProxy.cpp
AccessibleOrProxy.h
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
AccGroupInfo.h
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
ARIAMap.cpp Bug 1540813 - Support new ARIA roles insertion and deletion, r=Jamie 2019-08-21 20:36:39 +00:00
ARIAMap.h
ARIAStateMap.cpp
ARIAStateMap.h
Asserts.cpp
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
EmbeddedObjCollector.h
EventQueue.cpp
EventQueue.h
EventTree.cpp
EventTree.h
Filters.cpp
Filters.h
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
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
MarkupMap.h Bug 1579633: Update menu role, HTML spec tests. r=Jamie 2019-10-17 15:45:27 +00:00
moz.build Bug 1587791 - remove XBL backed accessible relations support r=MarcoZ 2019-10-10 14:08:17 +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
nsAccCache.h
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
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
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
nsEventShell.h
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
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
RelationType.h
RelationTypeMap.h
Role.h
RoleMap.h
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
Statistics.h
StyleInfo.cpp Bug 1576194 - Remove kDisplayKTable. r=mats 2019-08-23 15:52:05 +00:00
StyleInfo.h
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
TextRange.cpp
TextRange.h
TextUpdater.cpp
TextUpdater.h
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
XULMap.h Bug 1513325 - Remove textbox binding. r=emilio,dao 2019-10-09 09:27:28 +00:00