gecko-dev/accessible
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
..
aom Bug 1331434 - Part 4: Return early after throwing in AccessibleNode::Get, r=surkov 2017-03-07 19:06:48 -05:00
atk Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
base Bug 1402772 - Change nsIEventListenerChange::changedListenerNames to a count of a11y-affecting elements. r=smaug. 2017-09-25 16:38:04 +10:00
generic Bug 1399557: Add diagnostic asserts to interceptor creation code; r=jimm 2017-09-18 10:49:15 -06:00
html Bug 1369185 - Don't allow <select> to aria-own, or <option> to be owned. r=surkov 2017-09-13 14:04:00 -04:00
interfaces Bug 1392993 - Change nsIAccessibleObjectAttributeChangedEvent.changedAttribute from an nsIAtom to an AString. r=MarcoZ. 2017-08-24 17:19:09 +10:00
ipc Bug 1399557: Add diagnostic asserts to interceptor creation code; r=jimm 2017-09-18 10:49:15 -06:00
jsat Bug 1392993 - Change nsIAccessibleObjectAttributeChangedEvent.changedAttribute from an nsIAtom to an AString. r=MarcoZ. 2017-08-24 17:19:09 +10:00
mac Bug 1360210 - crash in mozilla::a11y::FocusManager::IsFocused const, r=davidb 2017-09-13 12:45:11 -04:00
other Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
tests Bug 1400628 - Add test for non existing ID in select[aria-owns]. r=surkov 2017-09-18 14:02:00 -04:00
windows Bug 1383501: Modify a11y::IsHandlerRegistered to include check of path to handler binary; r=eeejay 2017-09-14 13:05:26 -06:00
xpcom Bug 1387832 - Remove @deprecated nsIAccessibleRetrieval. r=surkov 2017-08-06 23:34:32 +09:00
xul Bug 1368269 - Crash in mozilla::a11y::XULTreeAccessible::Shutdown, r=marcoz 2017-09-12 10:24:00 -04:00
.eslintrc.js Bug 1385817 - Enable brace-style and no-else-return ESLint rules for accessible/ r=yzen 2017-08-01 19:08:02 +01:00
moz.build Bug 1378257 - Don't move/reclaim aria-owned children to their current position. r=surkov, r=yzen 2017-07-25 16:31:00 -04:00