gecko-dev/accessible/base
Nicholas Nethercote 49963dad55 Bug 1402772 - Change nsIEventListenerChange::changedListenerNames to a count of a11y-affecting elements. r=smaug.
nsIEventListenerChange::changedListenerNames is an nsIArray attribute that
contains nsIAtoms. Bug 1396693 made it `noscript` to help with nsIAtom
deCOMtamination (bug 1392883) but more changes are needed: that array
eventually needs to be changed to nsTArray<RefPtr<nsIAtom>>.

Turns out the attribute has a single use, in a11y code. That code merely
iterates over the list and counts how many atoms it contains that match
"onclick", "onmousedown", and "onmouseup".

So this patch moves that counting functionality inside nsEventListenerChange by
changing the attribute to `countOfEventListenerChangesAffectingAccessibility`.
This saves us from having to expose the array of atoms via XPIDL.

--HG--
extra : rebase_source : db8b628998d45209ab724555a74efe90f431d3ae
2017-09-25 16:38:04 +10:00
..
AccessibleOrProxy.cpp
AccessibleOrProxy.h
AccEvent.cpp Bug 1392993 - Change nsIAccessibleObjectAttributeChangedEvent.changedAttribute from an nsIAtom to an AString. r=MarcoZ. 2017-08-24 17:19:09 +10:00
AccEvent.h bug 1270916 - add methods to maintain a queue of mutation events to coalesce or fire r=davidb 2016-11-16 23:46:58 -05:00
AccGroupInfo.cpp
AccGroupInfo.h
AccIterator.cpp
AccIterator.h
AccTypes.h
ARIAMap.cpp Bug 1396626 - Expose aria-haspopup tokens dialog, listbox, menu and tree as object attributes. r=surkov 2017-09-05 15:15:09 +02:00
ARIAMap.h Bug 1355954 - Focusable separators should implement the accessible value interface. r=MarcoZ 2017-06-28 07:11:00 -04:00
ARIAStateMap.cpp Bug 1358447 - Elements which do not support aria-checked="mixed" should not expose "checked" accessibility state. r=marcoz 2017-07-03 19:12:00 +02:00
ARIAStateMap.h Bug 1355921 - Elements with a defined, non-false value for aria-current should expose ATK_STATE_ACTIVE. r=marcoz 2017-07-03 17:02:00 +02:00
Asserts.cpp
DocManager.cpp Bug 1330765 - Only attempt to shutdown a11y if last XPC doc was just removed. r=surkov 2017-06-22 12:37:42 -07:00
DocManager.h Bug 1297474 - shutdown accessibility service only if there are no references to accessibles in JS. r=surkov 2016-11-22 08:40:13 -05:00
EmbeddedObjCollector.cpp
EmbeddedObjCollector.h
EventQueue.cpp bug 1316163 - remove eCoalesceMutationTextChange event rule r=davidb 2016-11-15 22:07:39 -05:00
EventQueue.h
EventTree.cpp bug 1324019 - remove TreeMutation::mEventTree field r=davidb 2016-12-16 14:07:44 -05:00
EventTree.h bug 1324019 - remove TreeMutation::mEventTree field r=davidb 2016-12-16 14:07:44 -05:00
Filters.cpp
Filters.h
FocusManager.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
FocusManager.h
Logging.cpp Bug 870698 - Part 10: Replace Append(NS_LITERAL_STRING("")) with AppendLiteral(u""). r=erahm 2017-09-07 18:32:54 -07:00
Logging.h Bug 1374580 (part 2) - Remove nsAFlat{,C}String typedefs. r=froydnj. 2017-06-20 19:19:05 +10:00
MarkupMap.h Bug 1316285 - Expose role and landmark role for HTML header and footer only if they are direct descendants of the body tag, section otherwise. r=eeejay 2017-08-28 14:30:17 +02:00
moz.build Bug 835981 part 5. Change nsIDOMXULElement::GetBoxObject consumers to nsXULElement. r=peterv 2017-02-02 10:32:58 -05:00
NotificationController.cpp Bug 1396267 - Check that owner has content before aria-owns relocation. r=surkov 2017-09-11 13:56:00 -04:00
NotificationController.h bug 1270916 - add methods to maintain a queue of mutation events to coalesce or fire r=davidb 2016-11-16 23:46:58 -05:00
nsAccCache.h Bug 1347667 - unlink accessible's parent before accessible's shutdown when document shutdowns, r=yzen 2017-03-20 09:42:39 -04:00
nsAccessibilityService.cpp Bug 1402772 - Change nsIEventListenerChange::changedListenerNames to a count of a11y-affecting elements. r=smaug. 2017-09-25 16:38:04 +10:00
nsAccessibilityService.h Bug 1386836: Add a nsACString overload to nsAccessibilityService::GetStringEventType; r=surkov 2017-08-02 15:39:51 -06:00
nsAccessiblePivot.cpp
nsAccessiblePivot.h
nsAccUtils.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsAccUtils.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsCoreUtils.cpp Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu 2017-07-29 20:50:21 +09:00
nsCoreUtils.h Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj. 2017-06-20 19:19:52 +10:00
nsEventShell.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsEventShell.h
nsTextEquivUtils.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsTextEquivUtils.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
Platform.h Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj 2017-08-16 16:48:52 -07:00
Relation.h
RelationType.h Bug 1310794 - implement aria-details and aria-errormessage, r=davidb 2016-10-25 13:51:27 -04:00
RelationTypeMap.h Bug 1374697 - Add ATK support for aria-details and aria-errormessage. r=surkov 2017-06-21 15:53:00 -04:00
Role.h Bug 1379098 - ARIA combobox should map to AXComboBox. r=marcoz 2017-07-11 11:16:00 +02:00
RoleMap.h Bug 1379098 - ARIA combobox should map to AXComboBox. r=marcoz 2017-07-11 11:16:00 +02:00
SelectionManager.cpp Bug 1330739 - Don't use control's frame as reference in SelectionManager. r=surkov 2017-07-26 19:02:37 -04:00
SelectionManager.h Bug 1330739 - Don't use control's frame as reference in SelectionManager. r=surkov 2017-07-26 19:02:37 -04:00
States.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
Statistics.h
StyleInfo.cpp Bug 1315874 - Drop 'ForElement' from GetStyleContextForElementXXX methods; r=heycam 2017-04-05 14:39:23 +09:00
StyleInfo.h
TextAttrs.cpp Bug 1285533. Remove non-fontconfig platform fontlist codepath. r=lsalzman 2017-03-22 14:58:19 -04:00
TextAttrs.h Bug 1282408 - add ignore initialization check flag for variables from TTextAttr. r=surkov.alexander 2016-07-28 15:45:09 +02:00
TextRange-inl.h
TextRange.cpp
TextRange.h
TextUpdater.cpp
TextUpdater.h
TreeWalker.cpp Bug 1353094 - simplify the logic of accessible subtrees removal, r=davidb 2017-04-25 14:02:41 -04:00
TreeWalker.h Bug 1353094 - simplify the logic of accessible subtrees removal, r=davidb 2017-04-25 14:02:41 -04:00