Commit Graph

5426 Commits

Author SHA1 Message Date
Alexander Surkov
cd9b877daf Bug 1205476 - crash in mozilla::a11y::DocAccessible::ProcessInvalidationList(), r=smaug 2015-09-18 08:52:46 -04:00
Trevor Saunders
75ffe89c69 bug 1199735 - fire windows events on proxies r=davidb 2015-09-17 16:49:25 -04:00
Trevor Saunders
24ad5cfa23 bug 1199735 - factor win event dispatch logic into its own function r=davidb 2015-09-17 16:49:24 -04:00
Trevor Saunders
1b482dcc58 bug 1199735 - remove event logging from the windows AccessibleWrap::HandleAccEvent r=davidb
if this is useful it would make more sense to log it outside of the windows
layer.  Since its not clear it is useful, and it makes it harder to separate
event dispatch logic from HandleAccEvent its easiest to just remove it for now.
2015-09-17 16:49:24 -04:00
Trevor Saunders
258b34828c bug 1204070 - add a little more checking to proxy subtree removal r=davidb 2015-09-15 18:15:16 -04:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Alexander Surkov
787c99ae00 Bug 1133213 - make aria-owns to alter the accessible tree, fire show/hide mutation events as we do for the accessible tree alterations, r=yzen, f=davidb 2015-09-15 12:01:51 -04:00
Eitan Isaacson
93caf7a23f Bug 1203697 - Add braille navigation. r=yzen r=mfinkle 2015-09-14 23:34:30 -07:00
Nicholas Nethercote
9d68ee2953 Bug 1204277 - Disallow warnings in six more directories. r=glandium.
These are all conditional uses of ALLOW_COMPILER_WARNINGS=True that are no
longer necessary.

--HG--
extra : rebase_source : e654fa940aed18b1d5ef7b2bebb45bbef59cfd84
2015-09-14 21:16:37 -07:00
Wes Kocher
a5dd43b204 Backed out changeset 0f4a1154350d (bug 1133213) for frequent a11y crashes CLOSED TREE 2015-09-14 16:08:47 -07:00
Eitan Isaacson
a2240f17d1 Bug 1182214 - Follow-up to fix Presentation.displayedAccessibles getter. r=me CLOSED TREE 2015-09-14 13:34:26 -07:00
Alexander Surkov
fea219d6cd Bug 1133213 - make aria-owns to alter the accessible tree, fire show/hide mutation events as we do for the accessible tree alterations, r=yzen, f=davidb 2015-09-11 20:54:27 -04:00
Eitan Isaacson
bfdf59d692 Bug 1182214 - Update highlight rect as you scroll. r=yzen 2015-09-14 10:52:43 -07:00
Eitan Isaacson
95147a7039 Bug 1182222 - Make Layerview support accessibility HTML navigation. r=yzen r=mfinkle 2015-09-14 10:52:43 -07:00
Eitan Isaacson
64ab2ee765 Bug 1203283 - Introduce Android "Control" traversal rule. r=yzen 2015-09-14 10:52:43 -07:00
Trevor Saunders
5e3e09effc bug 1196460 - remove proxy's ids when they are destroyed r=surkov 2015-09-14 13:33:39 -04:00
Trevor Saunders
61f09a90ea bug 1196460 - teach GetChildIDFor() to deal with proxied accessibles r=surkov 2015-09-14 13:33:38 -04:00
Trevor Saunders
60de30345a bug 1196460 - provide mapping from id to accessible in DocProxyAccessibleWrap 2015-09-14 13:33:38 -04:00
Trevor Saunders
db584a5e09 bug 1196460 - add method to get wrapper of proxy for document containing this proxied accessible r=surkov 2015-09-14 13:33:38 -04:00
Trevor Saunders
40daa72f9b bug 1196460 - make IsDoc() return true for wrappers of proxied documents r=surkov 2015-09-14 13:33:37 -04:00
Trevor Saunders
3f652ccd7c bug 1196460 - create different proxy wrappers depending on the type of the proxy r=surkov 2015-09-14 13:33:37 -04:00
Trevor Saunders
fc3bcf36ba bug 1196460 - add class for wrapping proxies of document accessibles r=surkov
For now this isn't really different from the class used to wrap
HyperTextAccessibles.  However we will need to store extra data to map IDs to
accessibles when we implement events.
2015-09-14 13:33:37 -04:00
Trevor Saunders
a6b767ccde bug 1196460 - make the ctor of HyperTextProxyAccessiblewrap public r=surkov 2015-09-14 13:33:36 -04:00
Masayuki Nakano
51d7268995 Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
7a48a6f2ab Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00
Eitan Isaacson
29a74fb99d Bug 1019432 - [AccessFu] Only capture explore by touch events in Android. r=yzen 2015-09-10 13:56:53 -07:00
Trevor Saunders
8d622f7ff4 bug 1196372 - make GetHWNDFor() work with proxied accessibles r=surkov 2015-09-10 10:53:34 -04:00
Trevor Saunders
390030899c bug 1186536 - Bail out of ProxyTextChangeEvent() if the proxy doesn't have a wrapper r=davidb
This probably should never happen, but it seems to sometimes in the wild, and
its hard to know what caused that without a test case.  So for now work around
the issue by adding a null check.
2015-09-09 17:37:15 -04:00
Eitan Isaacson
76e27d8d68 Bug 1201146 - Introduce "Section" traversal rule. r=yzen 2015-09-04 10:04:19 -07:00
Trevor Saunders
a9a9498e55 bug 1201395 - call ProxyCreated with the correct interfaces when creating top level documents r=davidb 2015-09-03 18:41:19 -04:00
Trevor Saunders
cec058720c bug 1186536 - make SerializeTree() use IsOuterDoc() to check if an accessible is an outer doc r=davidb
In theory this should be the same, but slightly faster than checking there is
one child and it is a document.  However it appears ChildCount() sometimes
returns 1 when there is no child 0.
2015-09-03 18:41:19 -04:00
Eitan Isaacson
af27c436af Bug 1200836 - Land on first atomic object in container traversal. r=yzen
--HG--
rename : accessible/jsat/TraversalRules.jsm => accessible/jsat/Traversal.jsm
2015-09-02 09:44:30 -07:00
Olli Pettay
e0121eceb5 Bug 1199785 - Make atk methods in nsMaiInterfaceComponent.cpp to work with ipc proxies, r=tbsaunde 2015-09-02 00:57:57 +03:00
Eitan Isaacson
17f9630967 Bug 1199884 - Keep match roles empty in BaseTraversalRules that don't provide roles. r=yzen 2015-08-31 09:45:02 -07:00
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Masayuki Nakano
db00b74a82 Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
30fdd39afb Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
717c415187 Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug 2015-08-29 08:58:29 +09:00
Alexander Surkov
3bf1725065 Bug 1194859 - crash in mozilla::a11y::ARIAGridCellAccessible::GroupPosition(), part2, r=marcoz 2015-08-28 10:52:21 -04:00
Marco Zehe
026d86845c Bug 1198291 - Remove exposure of the NSAccessibilityDescription attribute to guarantee we always expose AccName and AccDescription correctly, r=davidb, r=surkov
The NSAccessibilityHelpAttribute is being repurposed here, too, to expose the information other platforms call the Accessible Description rather than the Accessible Help tag, which traditionally referred to a connection to a Windows help file in old MSAA.

--HG--
extra : commitid : It2o0CiKUxb
extra : rebase_source : 06f20dcafbb937f103a3ed3de5681576518c037e
2015-08-26 16:28:05 +02:00
Masayuki Nakano
0d22745cda Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug 2015-08-26 21:56:59 +09:00
Chris Peterson
1416e566de Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium 2015-08-25 09:14:38 -07:00
Ryan VanderMeulen
d392a7f047 Backed out changeset 1d82f63f06e7 (bug 1184217) for Marionette crashes. 2015-08-25 17:02:57 -04:00
Trevor Saunders
f7bed16ad7 bug 1184217 - make CheckDocTree check the entire document tree not just the subtree r=davidb[ 2015-08-25 16:12:49 -04:00
Eitan Isaacson
3aee5343dc Bug 1182208 - Add support for android scrolling and range accessibility actions. r=mfinkle r=yzen 2015-08-21 11:32:57 -07:00
Trevor Saunders
a281702424 bug 1196880 - correctly compute interfaces for proxies r=davidb
interfaces is supposed to be a bit mask indexed by MAI_INTERFACE_X, so when
adding interfaces MAI_INTERFACE_X should be used as an index of the bit to set,
       not the mask to add.
2015-08-20 15:54:26 -04:00
Trevor Saunders
35cf8484fa bug 1192330 - update text change data for proxied text change events r=surkov 2015-08-19 12:48:58 -04:00
Trevor Saunders
9bfb7f9000 bug 1192330 - add ia2AccessibleText::UpdateTextChangeData r=surkov
Soon we will need to be able to update the text change event data from both
 HandleAccEvent() and ProxyTextChangeEvent(), so separate out the logic to do
 that into a function.
2015-08-19 12:48:58 -04:00
Trevor Saunders
76dea62829 bug 1192330 - remove ia2AccessibleText::GetModifiedText() r=surkov
There's no point in this indirection since ia2AccessibleText has direct access
to this data.
2015-08-19 12:48:58 -04:00
Trevor Saunders
3f4e64bd7e bug 1192330 - move static text change data from HyperTextAccessibleWrap to ia2AccessibleText r=surkov
This will enable us to remove the virtual function GetModifiedText().
2015-08-19 12:48:58 -04:00
Trevor Saunders
0768a2bb4c bug 1192353 - make HyperTextProxyAccessibleWrap inherit from
HyperTextAccessibleWrap r=davidb

This is rather unfortunate, AccessibleWrap itself wastes a fair amount of space
when it just stores a pointer to a proxy, and this makes it waste even more.
However this is rather necessary for now because we need to be able to downcast
classes such as ia2AccessibleText to one type that works both when the
accessible is pointing to a proxy and when it is not.  That means
HyperTextAccessibleWrap and HyperTextProxyAccessibleWrap need to have the same
layout.
2015-08-19 12:48:57 -04:00
Alexander Surkov
41c06ffb4f Bug 1194859 - crash in mozilla::a11y::ARIAGridCellAccessible::GroupPosition, r=marcoz 2015-08-18 20:38:24 -04:00
Trevor Saunders
dcf750da4b bug 1195471 - make getChildCountCB work with proxies r=davidb 2015-08-18 14:36:11 -04:00
Trevor Saunders
88fa41bffd bug 1189277 - only coalesce reorder events when a previous one for the same target is obsolete r=surkov
Having one reorder event that superseeds another does not mean that the
dependant mutation events for the first reorder are obsolete.  So we if we
coalesce a reorder event away we should leave its subordinate mutation events
alone.
2015-08-18 14:36:11 -04:00
Trevor Saunders
c9ee76cab8 bug 1188415 - make CheckDocTree return if the document tree is in a sane state 2015-08-17 18:06:13 -04:00
Trevor Saunders
05e24ec361 bug 1194853 - pass the correct interfaces to Proxycreated when creating documents r=davidb 2015-08-17 13:49:28 -04:00
Aryeh Gregor
0ccef27b6a Bug 1179451 - Part 1: Rewrite some ternary operators as if/else. r=froydnj
--HG--
extra : rebase_source : 161e415b6f518bf2b82e45b6f7f8d21298712d81
2015-08-13 15:22:48 +03:00
Alexander Surkov
1fb5af2b0c Bug 1193786 - crash in mozilla::dom::Element::FindAttrValueIn, r=marcoz 2015-08-13 08:43:26 -04:00
Trevor Saunders
8a4065a2ee bug 1172516 - fix firing caret move events for proxied accessibles r=lsocks 2015-08-12 10:50:38 -04:00
Trevor Saunders
dbbc4712d0 bug 1185122 - don't try and fire platform events in the child process r=lsocks 2015-08-06 13:15:12 -04:00
Lorien Hu
e135c799c7 Bug 1187740 - Handle proxies in mozHTMLAccessible r=tbsaunde 2015-08-05 21:55:15 -04:00
Lorien Hu
abb6b3c292 Bug 1187995 - Add proxy handling to mozTextAccessible r=tbsaunde 2015-08-05 21:55:13 -04:00
Trevor Saunders
a400749fd7 bug 1191433 - use ProxyAccessible::AsDoc() in ProxyAccessible::Shutdown() r=lsocks 2015-08-05 16:14:49 -04:00
Trevor Saunders
ca9181514b bug 1191433 - add ProxyAccessible::Document r=lsocks 2015-08-05 16:14:49 -04:00
Trevor Saunders
2e76a4af25 bug 1191433 - add methods to downcast ProxyAccessible to DocAccessibleParent r=lsocks 2015-08-05 16:14:49 -04:00
Trevor Saunders
0c848e2708 bug 1191326 - always initialize ProxyAccessible::mOuterDoc r=lsocks 2015-08-05 10:57:52 -04:00
Trevor Saunders
b710a80b19 bug 1170049 - check if document tree is correct before cleaning it up r=lsocks 2015-08-05 10:57:28 -04:00
Lorien Hu
91c3518f47 Bug 1175913 - (Part 2) Remove test expecting recreation on click listener change r=tbsaunde 2015-07-31 11:24:42 -04:00
Lorien Hu
8b671e5993 Bug 1175913 - (Part 1) Subscribe to EventListenerService and recreate accessibles on click listener changes r=tbsaunde 2015-08-04 23:35:54 -04:00
Lorien Hu
9869066c12 Bug 1189108 - Walk up tree to get LinkableAccessible actions instead of caching r=tbsaunde 2015-08-04 23:33:54 -04:00
Lorien Hu
1a700ec504 Bug 1187739 - (Part 2) Handle proxies in mozActionElements click, value r=tbsaunde 2015-08-04 14:56:20 -04:00
Lorien Hu
47968718fe Bug 1187739 - (Part 1) Handle proxies in mozActionElements r=tbsaunde 2015-08-04 14:56:18 -04:00
Lorien Hu
a469201d46 Bug 1187742 - Handle proxies in mozAccessible {isEnabled,title,value,help,isExpired} r=tbsaunde 2015-08-04 14:56:17 -04:00
Lorien Hu
ae133126a5 Bug 1187611 - (part 3) Handle ProxyAccessibles in mozAccessible canBeFocused r=tbsaunde 2015-08-04 14:56:13 -04:00
Lorien Hu
0bfc7080f9 Bug 1187611 - (part 2) Handle ProxyAccessibles in mozAccessible window r=tbsaunde 2015-08-04 14:56:11 -04:00
Lorien Hu
d1b4faa278 Bug 1187611 - (part 1) Handle ProxyAccessibles in mozAccessible focus r=tbsaunde 2015-08-04 14:56:09 -04:00
Lorien Hu
b0fe23af9c Bug 1187609 - Check for proxies in mozAccessible role, subrole r=tbsaunde 2015-08-04 14:56:07 -04:00
Robert O'Callahan
efd3df82d6 Bug 1184842. Add aNewValue to nsIMutationObserver::AttributeWillChange. r=peterv
--HG--
extra : commitid : 8C2GnpowyCS
extra : rebase_source : 3f2948df48fe13f65425345f7b674e4e4869c861
2015-07-25 18:05:19 +12:00
Robert O'Callahan
1e49288224 Bug 1184842. Pass aOldValue to all mutation observers. r=peterv
--HG--
extra : commitid : CYjyQn3BAqb
extra : rebase_source : ef153c7cf1e08a058d8de6a76dbe7dc343a299fb
2015-07-25 18:01:19 +12:00
Makoto Kato
50e851b877 Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
Trevor Saunders
d7dcecbfc0 bug 1186528 - don't create a DocAccessibleChild if we can't tell the parent process about it r=lsocks 2015-07-31 13:44:59 -04:00
Eitan Isaacson
0b342b3e00 Bug 1176292 - Send 'toggle-shade' control event to content on 3 finger triple tap. r=yzen 2015-07-30 17:25:08 -07:00
Trevor Saunders
6dfa5d2acf bug 1188415 - add document tree consistancy checks to more message handlers r=davidb 2015-07-28 16:32:16 -04:00
Trevor Saunders
608e254ed2 bug 1187055 - check the proxy being destroyed has a wrapper before cleaning it up r=davidb
All proxies should have wrappers on windows.  So it doesn't make much sense
that we need a null check here, however it seems to happen in the wild that
proxy->GetWrapper() returns null.
2015-07-28 11:54:18 -04:00
Lorien Hu
6eaca4d797 Bug 1187417 - (Part 2) Check for ProxyAccessible in mozAccessible size r=tbsaunde 2015-07-26 10:33:51 -04:00
Lorien Hu
d9e8ebc6dd Bug 1187417 - (Part 1) Check for ProxyAccessible in mozAccessible position r=tbsaunde 2015-07-26 10:33:23 -04:00
Lorien Hu
daff98e289 Bug 1187413 - Check for ProxyAccessible in mozAccessible childAt r=tbsaunde 2015-07-26 10:30:56 -04:00
Nicholas Nethercote
b755ef234b Bug 1182969 - Use nsTHashTable::Iterator in accessible/. r=tbsaunde.
--HG--
extra : rebase_source : 548f1b49bcbfee3aca9642cdc2fa00e86dd3ee2e
2015-07-22 20:49:25 -07:00
Trevor Saunders
723cbf3c16 bug 1185157 make sure we don't send an event to a destroyed ipc document r=billm 2015-07-23 14:49:18 -04:00
Mike Conley
3606a178c7 Bug 1167601 - Follow-up to fix an a11y test that assumed that about:newtab was still XUL. r=tbsaunde
--HG--
extra : commitid : 8JZGnT8g5FR
2015-07-22 16:46:26 -04:00
Trevor Saunders
3cb7efe847 bug 1185726 - follow up to deal with -Wunused warning r=me landing on a CLOSED TREE 2015-07-21 13:39:40 -04:00
Trevor Saunders
b2c4426264 bug 1185726 - avoid killing the child process when it sends the parent events with bad IDs r=lsocks 2015-07-21 12:52:18 -04:00
Frédéric Wang
dff89a06cc Bug 1163374 - Basic MathML Accessibility support in AccessFu. r=yzen
--HG--
extra : rebase_source : bd7f417fb9096efdf0b1d094f78643ad4ccbd2e6
2015-07-13 11:53:00 +02:00
Carsten "Tomcat" Book
d91bdb1107 Backed out changeset a1c5b634d9bd (bug 1163374)
--HG--
extra : rebase_source : 621812e06ee3f9c61e422522f802acbc53dc90e8
2015-07-21 10:27:21 +02:00
Frédéric Wang
697fd30045 Bug 1163374 - Basic MathML Accessibility support in AccessFu. r=yzen 2015-07-13 11:53:00 +02:00
Trevor Saunders
730418c580 bug 1185550 - Make sure to correctly handle invalid RecvBindChildDoc and PDocAccessibleConstructor messages from the child process r=lsocks 2015-07-20 15:09:15 -04:00
Lorien Hu
5d43f6c67d Bug 1171995 - Part 7: Check for proxy in accessibilityIsIgnored for mozButtonAccessible and mozTextAccessible r=tbsaunde 2015-07-16 17:35:29 -04:00
Lorien Hu
765223c45d Bug 1171995 - Part 6: Handle proxies in mozAccessible accessibilityHitTest and accessibilityFocusedUIElement r=tbsaunde 2015-07-16 17:34:52 -04:00
Lorien Hu
99ce39504f Bug 1171995 - Part 5: Handle proxies in mozAccessible accessibilityAttributeValue r=tbsaunde 2015-07-16 17:34:52 -04:00
Lorien Hu
1341780a62 Bug 1171995 - Part 4: Handle proxies in mozAccessible accessibilityAttributeNames r=tbsaunde 2015-07-16 17:34:52 -04:00
Lorien Hu
c8e8b43cef Bug 1171995 - Part 3: Handle proxies in mozAccessible accessibilityIsIgnored r=tbsaunde 2015-07-16 17:34:51 -04:00
Lorien Hu
6f1e2f6c21 Bug 1171995 - Part 2: Add IsTable, IsTableRow, IsTableCell to proxied accessibles r=tbsaunde 2015-07-16 17:34:51 -04:00
Lorien Hu
5e32e582c2 Bug 1171995 - Part 1: Add FocusedChild to proxy accessibles r=tbsaunde 2015-07-16 17:34:51 -04:00
Trevor Saunders
6b54a8373b bug 1173876 - make getText{At,After,Before}OffsetCB work with proxies r=lsocks 2015-07-16 16:40:18 -04:00
Frédéric Wang
55c39da18b Bug 1177765 - Add tests for MathML xmlroles. r=surkov 2015-07-06 04:44:00 -04:00
Frédéric Wang
a5efb9235a Bug 1177765 - Add xmlroles for MathML. r=surkov 2015-07-16 05:43:00 -04:00
Trevor Saunders
df6c6b58a4 bug 1184217 - check consistancy of the document tree before removing accessibles in a hide event r=davidb 2015-07-15 19:57:12 -04:00
Bill McCloskey
b0e100d0db Bug 1100602 - Kill child if accessibility ID is re-used (r=trevor) 2015-07-15 14:39:26 -07:00
Jeff Muizelaar
7bc6837af6 Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd
--HG--
extra : rebase_source : b18fb78fa6b7d86fbb9496861938bfde21b3c6e6
2015-07-08 16:51:09 -04:00
Lorien Hu
666cbfecb2 Bug 1172946 - (part 3) Add handling for proxies in mozAccessible children r=tbsaunde 2015-07-15 00:51:23 -04:00
Lorien Hu
56d3d2ac43 Bug 1172946 - (part 2) Add handling for proxies in mozAccessible parent r=tbsaunde 2015-07-15 00:50:27 -04:00
Lorien Hu
2df172ac41 Bug 1172946 - (part 1) Add mozilla a11y namespace to mozAccessible.h r=tbsaunde 2015-07-15 00:50:14 -04:00
Wes Kocher
cb65c5fc0c Backed out changeset f4651e7cfb26 (bug 1172516) for mn-e10s orange CLOSED TREE 2015-07-14 14:36:06 -07:00
Wes Kocher
2fddee2d73 Backed out changeset 5a310370cec1 (bug 1173876) 2015-07-14 14:35:53 -07:00
Trevor Saunders
6a35bb7c37 bug 1173876 - make getText{At,After,Before}OffsetCB work with proxies r=lsocks 2015-07-14 15:45:57 -04:00
Trevor Saunders
63ae8dfd46 bug 1172516 - fix firing caret move events for proxied accessibles r=lsocks 2015-07-14 15:45:57 -04:00
Lorien Hu
43dff6f92f Bug 1100602 - Fire show/hide events in HTMLLIAccessible::UpdateBullet r=tbsaunde 2015-07-14 11:10:30 -04:00
Trevor Saunders
59f17c9689 bug 1172523 - fire useful text change events for proxies r=lsocks 2015-07-14 11:02:03 -04:00
Trevor Saunders
54e3f50bb2 bug 1172523 - Move AccessibleWrap::FireAtkTextChangedEvent to MaiAtkObject::FireTextChangeEvent r=lsocks 2015-07-14 11:02:02 -04:00
Trevor Saunders
ba749f52dd bug 1172523 - Allow getting the modified text from an AccTextChangeEvent without copying r=lsocks 2015-07-14 11:02:02 -04:00
Trevor Saunders
e340e1cc46 bug 1181177 - null check tabChild in DocManager::CreateDocOrRootAccessible r=davidb
This causes e10s to behave differently from non e10s, because in e10s we don't
forward the creation of the document to the parent process.  However this only
seems to happen in strange edge cases.
2015-07-14 10:13:21 -04:00
Frédéric Wang
9f6282f97b Bug 1180189 - Fix crash in mozilla::a11y::HTMLTableRowAccessible::GroupPosition, r=MarcoZ
--HG--
extra : rebase_source : 57a1abf71f10a6c86c9f38a0ad137e3a109a536c
2015-07-14 09:27:26 +02:00
Trevor Saunders
6b4b770150 bug 1172525 - rework forwarding events to the parent process r=davidb, lsocks
The set of events fired to platform accessibility is not the same as the set in
the event queue.  Therefore we should forward events to the parent process
someplace where they are the same so the same events can be emitted for child
processes.
2015-07-13 13:57:48 -04:00
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Dragana Damjanovic
7987d2203e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Frédéric Wang
49726bae1b Bug 1179483 - Fix crash in mozilla::a11y::HyperTextAccessible::RelationByType. r=MarcoZ 2015-07-02 08:50:00 -04:00
Yura Zenevich
65f102910e Bug 1179284 - using explicit label for accessible with role 'status' instead of subtree. r=eeejay
---
 accessible/jsat/OutputGenerator.jsm              | 3 ++-
 accessible/tests/mochitest/jsat/test_output.html | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
2015-07-06 14:38:35 -04:00
Trevor Saunders
65b918141a bug 1170153 - check documents have a docshell before trying to tell the parent process about new remote DocAccessibles r=davidb
We should never create DocAccessibles for documents that are going away so it
seems like this shouldn't be necessary, but without a test case its hard to
know why we are creating DocAccessibles for documents without docshells.  So
for now work around the issue and hope it doesn't matter in practice.
2015-07-06 12:51:22 -04:00
Juan Gomez
258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Frederic Wang
8b5b81085d Bug 1176973 - [NSAccessibility] Expose attribute AXMathLineThickness for fraction bars. r=MarcoZ 2015-07-02 06:01:00 +02:00
Frédéric Wang
ee3b54ad95 Bug 1178817 - Fix segfault in mozilla::a11y::HTMLTableRowAccessible::GroupPosition(). r=MarcoZ
CLOSED TREE

--HG--
extra : rebase_source : 03bd21519e9414273e45679e4b6b5581fb42ff31
extra : amend_source : 77fc3ea8da095a5e9dfbee56ce64e38e631ad17b
2015-07-01 05:02:00 -04:00
Frederic Wang
1af0116be9 Bug 1179147 - merror and mstyle should be exposed as AXMathRow. r=MarcoZ 2015-07-01 02:14:00 -04:00
Marco Zehe
40fed0d659 Bug 1178018 - Add and adjust more roles, subroles, and role descriptions on OS X to match Webkit and Blink, r=surkov
--HG--
extra : commitid : 5bVfG7VXDsW
extra : rebase_source : b5c043ad4169d502453f5016b1a5f9132b9a2478
2015-06-27 10:50:33 -07:00
Marco Zehe
594654a770 Bug 1137748 - Expose correct roles, subroles, and roledescriptions for various WAI-ARIA roles on OS X, r=surkov
--HG--
extra : commitid : 8HRlvwvKyLY
extra : rebase_source : 146a961e7b9d3edf501246151c2cecda420a376b
extra : amend_source : 9b54d5755b9a097053ea8c002fc4a190cc5e8598
2015-06-26 17:31:44 -07:00
Alexander Surkov
4f6c62690f Bug 1177913 - add test coverage for aria-roledescription and aria-current, r=marcoz 2015-06-26 17:36:28 -07:00
Alexander Surkov
33ff352b01 Bug 1177268 - implement aria-rowcount/index and aria-colcount/index, r=marcoz 2015-06-26 14:41:22 -07:00
Neil Deakin
1885e7075c Bug 1149745, on Windows, menulist should select the value when the cursor keys are used to navigate items, r=neil 2015-06-26 09:32:25 -07:00
Frédéric Wang
1329d0e445 Bug 744790 - Expose basic NSAccessibility attributes for tables. r=surkov 2015-06-25 21:51:00 +02:00
Frédéric Wang
1d00a06aa5 Bug 744790 - Part 1 - Map tabular accessibles to appropriate roles. r=surkov 2015-06-25 06:43:00 +02:00
Marco Zehe
6a71f18b87 Bug 1177378 - Fix control type announcements on OS X by checking if subrole is not NIL when calculating role descriptions, r=surkov
--HG--
extra : rebase_source : e92667f777151476adfc5692daf9a783d7ebf1db
2015-06-25 17:23:01 -07:00
Ryan VanderMeulen
5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Alexander Surkov
096ad7999f Bug 1173364 - support ARIA table and cell roles, r=marcoz 2015-06-25 11:59:06 -07:00
Frédéric Wang
e91c4e1cbd Bug 1176123 - Add NODE_CHILD_OF/NODE_PARENT_OF relations to mroot. r=surkov
--HG--
extra : rebase_source : 82d13c7ace7b5cd7a7a1902e5845f30b7b32bd2b
2015-06-24 15:40:00 +02:00
Frédéric Wang
be7af2fb7f Bug 1001641 - Provide equivalent support for MathML as WebKit for NSAccessibility. r=surkov
--HG--
extra : rebase_source : 916ae6144d149ed4b455ce46faa00ac5ed27f6db
2015-06-23 18:17:00 +02:00
Alexander Surkov
4db8f115d7 Bug 1176683 - crash in mozilla::a11y::HyperTextAccessible::LandmarkRole() const, r=marcoz 2015-06-24 15:48:29 -07:00
Frédéric Wang
25ad9a64e8 Bug 1176094 - [ATK] Assign role SECTION to math groups instead of PANEL/UNKNOWN. r=surkov 2015-06-18 16:07:00 +02:00
Frédéric Wang
33c0d1c104 Bug 1175269 - Add MathML roles/subroles for NSAccessibility. r=surkov 2015-06-19 15:55:00 +02:00
Alexander Surkov
8bd6cda240 Bug 1150510 - Crash [@ nsStringBundle::GetStringFromName, r=marcoz 2015-06-17 12:37:19 -04:00
Frédéric Wang
bacdba5501 Bug 1175164 - Do not expose MathML semantics element in the accessibility tree. r=surkov
--HG--
extra : rebase_source : 4974b9f27e9ec09b666fce81fd9a45d7b7f757b1
2015-06-16 16:15:00 +02:00
Frédéric Wang
3dc04db17d Bug 1175182 - Expose fractions and roots as ATK_ROLE_PANEL for ATK < 2.16. r=surkov
--HG--
extra : rebase_source : 5292ec1c6f415a627f9507aff3b8deb4797341dd
2015-06-16 10:44:00 -04:00
Lorien Hu
ee4e0712c1 Bug 1174204 - Fixed gecko to atk attribute conversion for fg-color and bg-color to be correctly formatted r=davidb 2015-06-12 16:39:16 -04:00
Trevor Saunders
7a110f6e4e bug 1171728 - null check the result of ProxyAccessible::OuterDocOfRemoteBrowser
r=davidb

This probably isn't the right fix, or at least the root cause of
ProxyAccessible::OuterDocOfRemoteBrowser returning null needs to be understood
better, but I don't have time to do that now, so I'm just checking for null and
asserting as a reminder to investigate this later.
2015-06-12 10:33:11 -04:00
Lorien Hu
8178a345af Bug 1172577 - Handle proxies in mozAccessible method customDescription r=tbsaunde 2015-06-08 14:12:03 -04:00
Lorien Hu
66a8fe1d95 Bug 1173418 - Check if a document is top level in DocAccessibleParent::Destroy so that RemoteDocShutdown isn't erroneously called r=tbsaunde 2015-06-10 14:11:34 -04:00
Ryan VanderMeulen
980d366234 Backed out 5 changesets (bug 1172516, bug 1172525, bug 1172523) for e10s test_selectioncarets2.py failures.
Backed out changeset 65d9144969e4 (bug 1172516)
Backed out changeset 3368f2dc0ee6 (bug 1172523)
Backed out changeset d6096f9659f7 (bug 1172523)
Backed out changeset cda3d99ef134 (bug 1172523)
Backed out changeset a411d320bdba (bug 1172525)

CLOSED TREE

--HG--
extra : histedit_source : fc97de5cf682142a7e5a67bd32d1bd85ad0c24ea
2015-06-11 14:01:50 -04:00
Trevor Saunders
deef848ec8 bug 1172516 - fix firing caret move events for proxied accessibles r=lsocks 2015-06-11 11:40:00 -04:00
Trevor Saunders
0371f179fc bug 1172523 - fire useful text change events for proxies r=lsocks 2015-06-11 11:40:00 -04:00
Trevor Saunders
27b30ebd65 bug 1172523 - Move AccessibleWrap::FireAtkTextChangedEvent to MaiAtkObject::FireTextChangeEvent r=lsocks 2015-06-11 11:40:00 -04:00
Trevor Saunders
4c0cfa3d5f bug 1172523 - Allow getting the modified text from an AccTextChangeEvent without copying r=lsocks 2015-06-11 11:39:59 -04:00
Trevor Saunders
a0936bd439 bug 1172053 - don't malloc the signal name in FireAtkTextChangedEvent r=lsocks 2015-06-11 11:39:59 -04:00
Trevor Saunders
ea6b105046 bug 1172053 - don't call malloc in FireAtkShowHideEvent r=lsocks 2015-06-11 11:39:59 -04:00
Trevor Saunders
0fb2b11d5c bug 1172525 - rework forwarding events to the parent process r=davidb, lsocks
The set of events fired to platform accessibility is not the same as the set in
the event queue.  Therefore we should forward events to the parent process
someplace where they are the same so the same events can be emitted for child
processes.
2015-06-11 11:39:58 -04:00
Trevor Saunders
7b7eced6e5 bug 1107337 - Teach refChildCB to deal with proxies r=lsocks, davidb 2015-06-11 11:39:58 -04:00
Trevor Saunders
31afa494bd bug 1107337 - implement ProxyAccessible::EmbeddedChildAt r=lsocks, davidb 2015-06-11 11:39:58 -04:00
Trevor Saunders
b34649577e bug 1107337 - Add OuterDocAccessible::RemoteChildDoc() r=lsocks, davidb
OuterDocAccessibles can be the container for a remote top level document.  We
  sometimes need to get the child for these OuterDocAccessible's which means
  the child is a proxy while the original object was an actual Accessible.
  This means we need to add a different function instead of making ChildAt() do
  the right thing.
2015-06-11 11:39:57 -04:00
Trevor Saunders
fbe3489762 bug 1107337 - support downcasting Accessible to OuterDocAccessible r=lsocks, davidb 2015-06-11 11:39:57 -04:00
Wes Kocher
c6d76d7fd9 Merge m-c to inbound, a=merge CLOSED TREE 2015-06-09 19:29:20 -07:00
Wes Kocher
f73f980797 Bug 845134 - Disable test_focusedChild.html on Windows 8 a=me
--HG--
extra : amend_source : 2b90a78c060fcc6c613b2dc63b036e31e6471224
2015-06-09 15:41:35 -07:00
Lorien Hu
5b82e263af no bug - cleaning up trailing whitespace in mac a11y code rs=tbsaunde 2015-06-08 10:59:19 -04:00
Lorien Hu
bc86c605b9 Bug 1169701 - Add wrapper to get mozAccessibles from ProxyAccessibles r=tbsaunde 2015-06-08 10:42:33 -04:00
Lorien Hu
f52568e4e7 Bug 1169701 - Fire native OS X accessibility events for proxied accessibles r=tbsaunde 2015-05-29 13:50:26 -04:00
Trevor Saunders
c9c2607c21 bug 1172538 - make sure a document has an IPC actor before shutting it down r=davidb, lsocks
If a document is shutdown before ever being bound to a parent document it
doesn't have an associated IPC actor, so we shouldn't try and shut one down.
2015-06-09 17:49:05 -04:00
Trevor Saunders
4f4d0ce590 bug 1171728 - Only look for an OuterDoc accessible parent of a proxy if it doesn't have a proxy parent r=lsocks 2015-06-05 16:10:34 -04:00
Trevor Saunders
041d344f10 bug 1170595 - switch to sending __delete__ from the parent instead of the child r=davidb, smaug
After the child sends the __delete__ message to the parent there is a period of
time in which the actor is registered, but the parent hasn't yet processed the
__delete__ message.  During that time the parent can still try and send
messages to the child, but that will crash the child process.  Fix this race by
making the child send a shutdown message to the parent, and have the parent
send __delete__ when it handles that message.
2015-06-05 16:10:34 -04:00
Trevor Saunders
ea5b8a7bb2 bug 1170595 - always use IdToAccessible to convert ids to accessibles r=lsocks 2015-06-05 16:10:33 -04:00
Lorien Hu
3d8a360681 bug 1168932 - Implement ProxyCreated and ProxyDestroyed to update mozAccessibles r=tbsaunde 2015-05-29 15:51:31 -04:00
Lorien Hu
56337113ae bug 1169408 - Merge mozButtonAccessible and mozPopupButtonAccessible r=surkov 2015-05-29 15:51:30 -04:00
Trevor Saunders
6afd924f84 bug 1169376 - Allow getting the OuterDocAccessible for the tab's top level document r=davidb 2015-05-29 15:51:30 -04:00
Yura Zenevich
bc1efeb0e0 Bug 1166321 - [AccessFu] adding support for role='switch'. r=eeejay
---
 accessible/jsat/EventManager.jsm                   | 15 ++++++---
 accessible/jsat/OutputGenerator.jsm                | 36 ++++++++++++++--------
 accessible/jsat/TraversalRules.jsm                 | 13 ++++----
 .../mochitest/jsat/doc_content_integration.html    |  7 +++++
 accessible/tests/mochitest/jsat/doc_traversal.html |  2 ++
 accessible/tests/mochitest/jsat/jsatcommon.js      | 12 ++++++++
 .../mochitest/jsat/test_content_integration.html   | 12 ++++++++
 accessible/tests/mochitest/jsat/test_output.html   | 17 ++++++++++
 .../tests/mochitest/jsat/test_traversal.html       |  8 +++--
 .../en-US/chrome/accessibility/AccessFu.properties |  5 +++
 10 files changed, 102 insertions(+), 25 deletions(-)
2015-05-29 11:55:53 -04:00
Trevor Saunders
8b78ae6c9a bug 1168204 - Expose more interfaces to windows for proxied accessibles r=davidb 2015-05-29 10:15:27 -04:00
Trevor Saunders
2f6260cea5 bug 1168202 - ia2AccessibleHyperlink::get_anchor needs to give the caller a reference to the anchor r=davidb 2015-05-29 10:15:27 -04:00
Trevor Saunders
d5200e484d bug 1167358 - use ProxyAccessible::Parent() a little more r=lsocks 2015-05-29 10:15:27 -04:00
Trevor Saunders
bdce3cf717 bug 1167604 - don't hide ProxyAccessible::Parent() with DocAccessibleParent::Parent r=lsocks 2015-05-29 10:15:26 -04:00
Trevor Saunders
7b3ae0b25b bug 1167295 - manage PDocAccessible with PBrowser instead of PContent r=smaug 2015-05-29 10:15:26 -04:00
Ryan VanderMeulen
566bd6c5ac Merge fx-team to m-c. a=merge 2015-05-28 10:08:37 -04:00
Dão Gottwald
ff4b5b2ba8 Bug 1167937 - Disable test_doc_busy.html on OS X 10.6 2015-05-28 08:12:15 +02:00
Eitan Isaacson
b60a45cbf7 Bug 1144516 - Remove offset of mozbrowser iframe. r=yzen 2015-05-26 10:13:17 -07:00
Mike Hommey
806e0220a2 Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps 2015-05-28 07:34:16 +09:00
Lorien Hu
59a44f4b2d bug 1109891 - part 3 - remove mGeckoTextAccessible r=tbsaunde 2015-05-22 11:09:49 -04:00
Lorien Hu
0d1c96745e bug 1109891 - part 2 - Allow mGeckoAccessible to store pointers to proxies and do some trivial cleanup r=tbsaunde 2015-05-22 11:09:48 -04:00
Lorien Hu
db0aaf92f6 bug 1109891 - part 1 - use an accessor method to get mGeckoAccessible r=tbsaunde 2015-05-22 11:09:48 -04:00
Neil Rashbrook
cf42e317ab Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan 2015-05-16 09:07:10 +01:00
Trevor Saunders
f55ad57842 bug 1164976 - fire useful state change and caret move events for proxies r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
04a2598121 bug 1164976 - Make DocAccessibleParent::GetAccessible return itself when appropriate r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
ef37b45d08 bug 1164976 - move AccessibleWrap::FireStateChangeEvent to be a member of MaiAtkObject r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
4dd9a89a4d bug 1164193 - emit a few more events on proxied accessibles for atk r=davidb 2015-05-15 20:29:14 -04:00
Wes Kocher
3c714c42eb Backed out changeset 17cfad44e12b (bug 1155963) for breaking b2g builds 2015-05-14 16:35:18 -07:00
Neil Rashbrook
ae441fafa2 Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan 2015-05-15 00:00:33 +01:00
Alexander Surkov
7f0a2bcc08 Bug 1113153 - use 'paragraph' role for paragraphs only, introduce 'text' role for small text containers, r=marcoz 2015-05-13 11:40:15 -04:00