Commit Graph

4325 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
9f1c0bf17d Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst
378b7180e7 Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Carsten "Tomcat" Book
9eaa0d1abc Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Olli Pettay
5ccd441014 Bug 1210407 - teach nsMaiInterfaceTable to use proxies, r=tbsaunde 2015-10-06 22:36:29 +03:00
Olli Pettay
efdb42747e Bug 1210408 - make nsMaiInterfaceAction work with proxies, r=tbsaunde 2015-10-06 22:14:18 +03:00
Shu-yu Guo
53a85861c1 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
335cec2303 Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Alexander Surkov
a94a922597 Bug 873438 - Implement IAccessible2_2::accessibleWithCaret, r=yzen 2015-10-06 12:36:47 -04:00
Alexander Surkov
d01dd7581f Bug 1205341 - get rid of aria-owns provided relations, part1: remove ARIA combobox special support (bug 819273 backout), r=yzen 2015-10-05 11:28:35 -04:00
Frédéric Wang
eb300f16f1 Bug 1178272 - Move table semantics to a separate mozTableAccessible.mm file. r=surkov 2015-10-01 16:00:00 +02:00
Frédéric Wang
76ace14722 Bug 1177640 - [Mac] Do not expose HTML table semantics for "layout" tables. r=surkov 2015-09-30 17:49:00 +02:00
Frédéric Wang
2410fabf3e Bug 718637 - Notify that the document is loaded. r=MarcoZ 2015-10-02 05:42:00 +02:00
Trevor Saunders
240195d9f0 bug 1210803 - expose the selection interface on proxied accessibles r=davidb 2015-10-02 06:38:21 -04:00
Trevor Saunders
8d6aae2bd4 bug 1210447 - fix ProxyAccessible::EmbeddedChildAt() on proxies of outerDocs r=davidb 2015-10-02 06:38:21 -04:00
Frédéric Wang
bd18bea20e Bug 1210441 - ProxyAccessible::IsTable* should take tabular MathML accessibles into account. r=tbsaunde 2015-10-01 11:06:00 +02:00
Alexander Surkov
c48a3fa5a4 Bug 1210108 - Emit object:state-changed:showing event for doorhangers, r=tbsaunde 2015-10-01 11:27:33 -04:00
Kevin Grandon
be9077f2e9 Bug 1204965 - Graphene support. Merge larch into mozilla-central. r=fabrice r=glandium 2015-09-30 23:49:00 +02:00
Frédéric Wang
e3b2d0dfa5 Bug 1210023 - Fix accessibilityAttributeValue for NSAccessibilityIndexAttribute. r=surkov 2015-10-01 08:40:35 +02:00
Bobby Holley
818dbc176c Bug 1208622 - Separate API entry points. r=bz 2015-09-30 16:31:46 -07:00
Alexander Surkov
ce0eb1a09d Bug 1205318 - make aria-owns loop alg more sophisticated, r=yzen 2015-09-29 15:17:40 -04:00
Eitan Isaacson
5d89cf51d8 Bug 1209054 - Make 2 finger tap toggle pause speech. r=yzen 2015-09-29 14:37:11 -04:00
Eitan Isaacson
50007a42b9 Bug 1182311 - Make 3 finger triple tap more reliable. r=yzen 2015-09-29 14:37:11 -04:00
Trevor Saunders
8e6d249aba bug 1208779 - null check aAccessible in GetChildIDFor() for 32 bit as well as 64 bit windows r=davidb 2015-09-29 11:34:07 -04:00
Nigel Babu
2efd791eda Backed out changeset 5f02a9d37e56 (bug 1208622) for windows build bustage
CLOSED TREE
2015-09-29 12:10:45 +05:30
Bobby Holley
c96a35b050 Bug 1208622 - Separate API entry points. r=bz 2015-09-28 22:51:30 -07:00
Alexander Surkov
4e85dd48bb Bug 1206165 - crash in mozilla::a11y::DocAccessible::UpdateTreeOnRemoval, part2, r=davidb 2015-09-28 16:04:40 -04:00
Trevor Saunders
567185d40b bug 1209147 - make proxying of Accessible::TakeFocus() async r=davidb
TakeFocus() ends up making sync calls to the parent process. That means if we
try to call it from a sync call to the child process we end up deadlocked.  The
easiest way to fix this is to make the message to the child process async.
2015-09-28 15:27:11 -04:00
Brian Grinstead
d0f82da2bd Bug 1034110 - Provide a way to observe mutations for ::before/::after pseudo elements;r=smaug
Adds a new chrome-only MutationObserverInit option called nativeAnonymousChildList
that will cause a mutation to fire when a native anonymous root is bound or unbound
2015-09-24 08:23:32 -07:00
Alexander Surkov
cdb2f4fdcb Bug 1205476 - crash in mozilla::a11y::DocAccessible::ProcessInvalidationList(), part3, r=davidb 2015-09-25 12:11:49 -04:00
Trevor Saunders
cec77bc3f4 bug 1207862 - make AccessibleWrap::GetXPAccessibleFor() return the AccessibleWrap for proxies r=davidb 2015-09-24 19:23:19 -04:00
Trevor Saunders
3ad5ef8365 bug 1207862 - make WrapperFor() take a const ProxyAccessible * r=davidb 2015-09-24 19:23:19 -04:00
Trevor Saunders
ec36e4fd98 bug 1207862 - make it possible to traverse down the tree of proxied documents r=davidb 2015-09-24 19:23:19 -04:00
Trevor Saunders
90595fa0ae bug 1207862 - Add DocManager::TopLevelRemoteDocs() r=davidb
Soon we will need to iterate over all of the top level remote documents.
2015-09-24 19:23:18 -04:00
Trevor Saunders
4a845e000f bug 1207862 - refactor GetXPAccessibleFor() so proxies and non proxies are handle in the same place for each type of id r=davidb
While we're reorganizing this function move the simple cases to the beginning,
      and make lookup in the document tree last.
2015-09-24 19:23:18 -04:00
Chris Peterson
b06d7f99a7 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Olli Pettay
2082db91c2 Bug 1207311 - No need for \!nsAccUtils::MustPrune(acc) in DocAccessibleChild::RecvExtents, r=tbsaunde 2015-09-23 01:45:27 +03:00
Olli Pettay
9682ed43f1 Bug 1207253 - make getChildCountCB correctly deal with outerdoc accessibles with proxy children, r=tbsaunde 2015-09-23 01:43:51 +03:00
Alexander Surkov
7f1e869419 Bug 1206107 - fire show event for reallocated accessible after it was reallocated, r=tbsaunde 2015-09-22 16:46:40 -04:00
Alexander Surkov
aea140336e Bug 1205476 - crash in mozilla::a11y::DocAccessible::ProcessInvalidationList, part2, r=davidb 2015-09-21 12:47:02 -04:00
Alexander Surkov
0c41bad9c7 Bug 1206165 - crash in mozilla::a11y::DocAccessible::UpdateTreeOnRemoval, r=davidb 2015-09-20 04:02:05 -04:00
Alexander Surkov
b933f5ff28 Bug 1205476 - crash in mozilla::a11y::DocAccessible::ProcessInvalidationList(), r=smaug 2015-09-18 08:52:46 -04:00
Trevor Saunders
79beccf79b bug 1199735 - fire windows events on proxies r=davidb 2015-09-17 16:49:25 -04:00
Trevor Saunders
3934b19d36 bug 1199735 - factor win event dispatch logic into its own function r=davidb 2015-09-17 16:49:24 -04:00
Trevor Saunders
94bb364291 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
4c76881ecb bug 1204070 - add a little more checking to proxy subtree removal r=davidb 2015-09-15 18:15:16 -04:00
Shu-yu Guo
d8faa01cea 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
4139b31f14 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
69dbf498ec Bug 1203697 - Add braille navigation. r=yzen r=mfinkle 2015-09-14 23:34:30 -07:00
Nicholas Nethercote
997456cb72 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.
2015-09-14 21:16:37 -07:00
Wes Kocher
07b10b3963 Backed out changeset 0f4a1154350d (bug 1133213) for frequent a11y crashes CLOSED TREE 2015-09-14 16:08:47 -07:00
Eitan Isaacson
c7712e076f Bug 1182214 - Follow-up to fix Presentation.displayedAccessibles getter. r=me CLOSED TREE 2015-09-14 13:34:26 -07:00
Alexander Surkov
4a2a221d21 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
35a6124902 Bug 1182214 - Update highlight rect as you scroll. r=yzen 2015-09-14 10:52:43 -07:00
Eitan Isaacson
2df3ec8610 Bug 1182222 - Make Layerview support accessibility HTML navigation. r=yzen r=mfinkle 2015-09-14 10:52:43 -07:00
Eitan Isaacson
6e351e8c90 Bug 1203283 - Introduce Android "Control" traversal rule. r=yzen 2015-09-14 10:52:43 -07:00
Trevor Saunders
82ec2d34ca bug 1196460 - remove proxy's ids when they are destroyed r=surkov 2015-09-14 13:33:39 -04:00
Trevor Saunders
31dcbd5a0f bug 1196460 - teach GetChildIDFor() to deal with proxied accessibles r=surkov 2015-09-14 13:33:38 -04:00
Trevor Saunders
9db336b535 bug 1196460 - provide mapping from id to accessible in DocProxyAccessibleWrap 2015-09-14 13:33:38 -04:00
Trevor Saunders
d85db249fb 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
eff35c900e bug 1196460 - make IsDoc() return true for wrappers of proxied documents r=surkov 2015-09-14 13:33:37 -04:00
Trevor Saunders
38a420fd55 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
acd026c4d6 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
b64d5149f2 bug 1196460 - make the ctor of HyperTextProxyAccessiblewrap public r=surkov 2015-09-14 13:33:36 -04:00
Masayuki Nakano
13ad066f9b Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
6038863222 Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00
Eitan Isaacson
e67820d100 Bug 1019432 - [AccessFu] Only capture explore by touch events in Android. r=yzen 2015-09-10 13:56:53 -07:00
Trevor Saunders
e8740b799a bug 1196372 - make GetHWNDFor() work with proxied accessibles r=surkov 2015-09-10 10:53:34 -04:00
Trevor Saunders
7d251d804b 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
fc81929349 Bug 1201146 - Introduce "Section" traversal rule. r=yzen 2015-09-04 10:04:19 -07:00
Trevor Saunders
c722ab05fa 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
829582f021 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
981b6596db Bug 1200836 - Land on first atomic object in container traversal. r=yzen 2015-09-02 09:44:30 -07:00
Olli Pettay
aa5d347dec 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
a71954e882 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
10d95cca57 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.
2015-08-27 20:44:53 -07:00
Masayuki Nakano
004e5bb7df Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
1b91479600 Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
e35ebe6f06 Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug 2015-08-29 08:58:29 +09:00
Alexander Surkov
e04eb8dce6 Bug 1194859 - crash in mozilla::a11y::ARIAGridCellAccessible::GroupPosition(), part2, r=marcoz 2015-08-28 10:52:21 -04:00
Marco Zehe
98a7d0b6a6 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.
2015-08-26 16:28:05 +02:00
Masayuki Nakano
3bf74a341a 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
40a65bd331 Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium 2015-08-25 09:14:38 -07:00
Ryan VanderMeulen
47504fd128 Backed out changeset 1d82f63f06e7 (bug 1184217) for Marionette crashes. 2015-08-25 17:02:57 -04:00
Trevor Saunders
7ebbef67f1 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
7a461bb473 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
1605394bcb 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
3c153be828 bug 1192330 - update text change data for proxied text change events r=surkov 2015-08-19 12:48:58 -04:00
Trevor Saunders
f378a1c7ce 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
01dba03e84 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
6deda0cbcd 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
eedf7b74e2 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
20d13edcc0 Bug 1194859 - crash in mozilla::a11y::ARIAGridCellAccessible::GroupPosition, r=marcoz 2015-08-18 20:38:24 -04:00
Trevor Saunders
5020e2c060 bug 1195471 - make getChildCountCB work with proxies r=davidb 2015-08-18 14:36:11 -04:00
Trevor Saunders
76c5e0a04e 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
866eb779aa bug 1188415 - make CheckDocTree return if the document tree is in a sane state 2015-08-17 18:06:13 -04:00
Trevor Saunders
76ba93fbf9 bug 1194853 - pass the correct interfaces to Proxycreated when creating documents r=davidb 2015-08-17 13:49:28 -04:00
Aryeh Gregor
a0d8e26be1 Bug 1179451 - Part 1: Rewrite some ternary operators as if/else. r=froydnj 2015-08-13 15:22:48 +03:00
Alexander Surkov
dc33966d53 Bug 1193786 - crash in mozilla::dom::Element::FindAttrValueIn, r=marcoz 2015-08-13 08:43:26 -04:00
Trevor Saunders
c876441db0 bug 1172516 - fix firing caret move events for proxied accessibles r=lsocks 2015-08-12 10:50:38 -04:00
Trevor Saunders
60e5b29709 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
0301045fed Bug 1187740 - Handle proxies in mozHTMLAccessible r=tbsaunde 2015-08-05 21:55:15 -04:00
Lorien Hu
0b39303422 Bug 1187995 - Add proxy handling to mozTextAccessible r=tbsaunde 2015-08-05 21:55:13 -04:00
Trevor Saunders
c9163dc0c7 bug 1191433 - use ProxyAccessible::AsDoc() in ProxyAccessible::Shutdown() r=lsocks 2015-08-05 16:14:49 -04:00
Trevor Saunders
f086de9888 bug 1191433 - add ProxyAccessible::Document r=lsocks 2015-08-05 16:14:49 -04:00
Trevor Saunders
0b3289321e bug 1191433 - add methods to downcast ProxyAccessible to DocAccessibleParent r=lsocks 2015-08-05 16:14:49 -04:00
Trevor Saunders
26f65f8273 bug 1191326 - always initialize ProxyAccessible::mOuterDoc r=lsocks 2015-08-05 10:57:52 -04:00
Trevor Saunders
9108e73dbc bug 1170049 - check if document tree is correct before cleaning it up r=lsocks 2015-08-05 10:57:28 -04:00
Lorien Hu
69588bb17f Bug 1175913 - (Part 2) Remove test expecting recreation on click listener change r=tbsaunde 2015-07-31 11:24:42 -04:00
Lorien Hu
f719b18121 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
f91533ec64 Bug 1189108 - Walk up tree to get LinkableAccessible actions instead of caching r=tbsaunde 2015-08-04 23:33:54 -04:00
Lorien Hu
5e844044a6 Bug 1187739 - (Part 2) Handle proxies in mozActionElements click, value r=tbsaunde 2015-08-04 14:56:20 -04:00
Lorien Hu
4ff6db9fc2 Bug 1187739 - (Part 1) Handle proxies in mozActionElements r=tbsaunde 2015-08-04 14:56:18 -04:00
Lorien Hu
ab1d107b8f Bug 1187742 - Handle proxies in mozAccessible {isEnabled,title,value,help,isExpired} r=tbsaunde 2015-08-04 14:56:17 -04:00
Lorien Hu
991559e71b Bug 1187611 - (part 3) Handle ProxyAccessibles in mozAccessible canBeFocused r=tbsaunde 2015-08-04 14:56:13 -04:00
Lorien Hu
2e9ded2c03 Bug 1187611 - (part 2) Handle ProxyAccessibles in mozAccessible window r=tbsaunde 2015-08-04 14:56:11 -04:00
Lorien Hu
adcddd62d0 Bug 1187611 - (part 1) Handle ProxyAccessibles in mozAccessible focus r=tbsaunde 2015-08-04 14:56:09 -04:00
Lorien Hu
e43e59977d Bug 1187609 - Check for proxies in mozAccessible role, subrole r=tbsaunde 2015-08-04 14:56:07 -04:00
Robert O'Callahan
3e3003e4ce Bug 1184842. Add aNewValue to nsIMutationObserver::AttributeWillChange. r=peterv 2015-07-25 18:05:19 +12:00
Robert O'Callahan
53c0044a87 Bug 1184842. Pass aOldValue to all mutation observers. r=peterv 2015-07-25 18:01:19 +12:00
Makoto Kato
e92450872e Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
Trevor Saunders
5b4d8bad41 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
fee08136c1 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
e970b16593 bug 1188415 - add document tree consistancy checks to more message handlers r=davidb 2015-07-28 16:32:16 -04:00
Trevor Saunders
cf3c1f71cd 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
22b7d2cda3 Bug 1187417 - (Part 2) Check for ProxyAccessible in mozAccessible size r=tbsaunde 2015-07-26 10:33:51 -04:00
Lorien Hu
4a08bb1fba Bug 1187417 - (Part 1) Check for ProxyAccessible in mozAccessible position r=tbsaunde 2015-07-26 10:33:23 -04:00
Lorien Hu
d20e8785cb Bug 1187413 - Check for ProxyAccessible in mozAccessible childAt r=tbsaunde 2015-07-26 10:30:56 -04:00
Nicholas Nethercote
b180037e7f Bug 1182969 - Use nsTHashTable::Iterator in accessible/. r=tbsaunde. 2015-07-22 20:49:25 -07:00
Trevor Saunders
06e76f533a 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
02aba88c39 Bug 1167601 - Follow-up to fix an a11y test that assumed that about:newtab was still XUL. r=tbsaunde 2015-07-22 16:46:26 -04:00
Trevor Saunders
18bf98b23a 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
a52dfea2db 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
72579c5b72 Bug 1163374 - Basic MathML Accessibility support in AccessFu. r=yzen 2015-07-13 11:53:00 +02:00
Carsten "Tomcat" Book
8114bfa085 Backed out changeset a1c5b634d9bd (bug 1163374) 2015-07-21 10:27:21 +02:00
Frédéric Wang
3f8610c96e Bug 1163374 - Basic MathML Accessibility support in AccessFu. r=yzen 2015-07-13 11:53:00 +02:00
Trevor Saunders
a02cd6dcb4 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
e096f3eed9 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
e8f24e5159 Bug 1171995 - Part 6: Handle proxies in mozAccessible accessibilityHitTest and accessibilityFocusedUIElement r=tbsaunde 2015-07-16 17:34:52 -04:00
Lorien Hu
a21b7adc4b Bug 1171995 - Part 5: Handle proxies in mozAccessible accessibilityAttributeValue r=tbsaunde 2015-07-16 17:34:52 -04:00
Lorien Hu
c113b12c38 Bug 1171995 - Part 4: Handle proxies in mozAccessible accessibilityAttributeNames r=tbsaunde 2015-07-16 17:34:52 -04:00
Lorien Hu
11f162f579 Bug 1171995 - Part 3: Handle proxies in mozAccessible accessibilityIsIgnored r=tbsaunde 2015-07-16 17:34:51 -04:00
Lorien Hu
d6a5276590 Bug 1171995 - Part 2: Add IsTable, IsTableRow, IsTableCell to proxied accessibles r=tbsaunde 2015-07-16 17:34:51 -04:00
Lorien Hu
a2d20d8faa Bug 1171995 - Part 1: Add FocusedChild to proxy accessibles r=tbsaunde 2015-07-16 17:34:51 -04:00
Trevor Saunders
10e84b1682 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
ae2127e399 Bug 1177765 - Add tests for MathML xmlroles. r=surkov 2015-07-06 04:44:00 -04:00
Frédéric Wang
463ea98c49 Bug 1177765 - Add xmlroles for MathML. r=surkov 2015-07-16 05:43:00 -04:00
Trevor Saunders
c3ad3a50d5 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
9fcaaf6738 Bug 1100602 - Kill child if accessibility ID is re-used (r=trevor) 2015-07-15 14:39:26 -07:00
Jeff Muizelaar
9214c5266a Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd 2015-07-08 16:51:09 -04:00
Lorien Hu
49983cb34e Bug 1172946 - (part 3) Add handling for proxies in mozAccessible children r=tbsaunde 2015-07-15 00:51:23 -04:00
Lorien Hu
afae05e54c Bug 1172946 - (part 2) Add handling for proxies in mozAccessible parent r=tbsaunde 2015-07-15 00:50:27 -04:00
Lorien Hu
31669f7868 Bug 1172946 - (part 1) Add mozilla a11y namespace to mozAccessible.h r=tbsaunde 2015-07-15 00:50:14 -04:00
Wes Kocher
0b10fd1d91 Backed out changeset f4651e7cfb26 (bug 1172516) for mn-e10s orange CLOSED TREE 2015-07-14 14:36:06 -07:00
Wes Kocher
48ff3f1f1f Backed out changeset 5a310370cec1 (bug 1173876) 2015-07-14 14:35:53 -07:00
Trevor Saunders
d82298a23e bug 1173876 - make getText{At,After,Before}OffsetCB work with proxies r=lsocks 2015-07-14 15:45:57 -04:00
Trevor Saunders
b57a496847 bug 1172516 - fix firing caret move events for proxied accessibles r=lsocks 2015-07-14 15:45:57 -04:00
Lorien Hu
a1105d9a16 Bug 1100602 - Fire show/hide events in HTMLLIAccessible::UpdateBullet r=tbsaunde 2015-07-14 11:10:30 -04:00
Trevor Saunders
281dd4576e bug 1172523 - fire useful text change events for proxies r=lsocks 2015-07-14 11:02:03 -04:00
Trevor Saunders
194d2c75b7 bug 1172523 - Move AccessibleWrap::FireAtkTextChangedEvent to MaiAtkObject::FireTextChangeEvent r=lsocks 2015-07-14 11:02:02 -04:00
Trevor Saunders
10d5941c2b bug 1172523 - Allow getting the modified text from an AccTextChangeEvent without copying r=lsocks 2015-07-14 11:02:02 -04:00
Trevor Saunders
c1e81e7509 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
fab1526206 Bug 1180189 - Fix crash in mozilla::a11y::HTMLTableRowAccessible::GroupPosition, r=MarcoZ 2015-07-14 09:27:26 +02:00
Trevor Saunders
666207270c 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
e52329c788 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
c7fc0a288e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Frédéric Wang
71464e7674 Bug 1179483 - Fix crash in mozilla::a11y::HyperTextAccessible::RelationByType. r=MarcoZ 2015-07-02 08:50:00 -04:00
Yura Zenevich
9faabadda5 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
02432eb394 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
21d73728f3 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Frederic Wang
5979f0efd6 Bug 1176973 - [NSAccessibility] Expose attribute AXMathLineThickness for fraction bars. r=MarcoZ 2015-07-02 06:01:00 +02:00
Frédéric Wang
375cc00c62 Bug 1178817 - Fix segfault in mozilla::a11y::HTMLTableRowAccessible::GroupPosition(). r=MarcoZ
CLOSED TREE
2015-07-01 05:02:00 -04:00
Frederic Wang
71203b5728 Bug 1179147 - merror and mstyle should be exposed as AXMathRow. r=MarcoZ 2015-07-01 02:14:00 -04:00
Marco Zehe
4801abf864 Bug 1178018 - Add and adjust more roles, subroles, and role descriptions on OS X to match Webkit and Blink, r=surkov 2015-06-27 10:50:33 -07:00
Marco Zehe
a23fd5dce8 Bug 1137748 - Expose correct roles, subroles, and roledescriptions for various WAI-ARIA roles on OS X, r=surkov 2015-06-26 17:31:44 -07:00
Alexander Surkov
835c74dc66 Bug 1177913 - add test coverage for aria-roledescription and aria-current, r=marcoz 2015-06-26 17:36:28 -07:00
Alexander Surkov
d8579797ab Bug 1177268 - implement aria-rowcount/index and aria-colcount/index, r=marcoz 2015-06-26 14:41:22 -07:00
Neil Deakin
80de8e4360 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
3f44140e1b Bug 744790 - Expose basic NSAccessibility attributes for tables. r=surkov 2015-06-25 21:51:00 +02:00
Frédéric Wang
0c2b7f3dff Bug 744790 - Part 1 - Map tabular accessibles to appropriate roles. r=surkov 2015-06-25 06:43:00 +02:00
Marco Zehe
aea3dce4d2 Bug 1177378 - Fix control type announcements on OS X by checking if subrole is not NIL when calculating role descriptions, r=surkov 2015-06-25 17:23:01 -07:00
Ryan VanderMeulen
55b2086097 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
98461fc4a4 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Alexander Surkov
83716711a3 Bug 1173364 - support ARIA table and cell roles, r=marcoz 2015-06-25 11:59:06 -07:00
Frédéric Wang
1191430074 Bug 1176123 - Add NODE_CHILD_OF/NODE_PARENT_OF relations to mroot. r=surkov 2015-06-24 15:40:00 +02:00
Frédéric Wang
f7bdd8acea Bug 1001641 - Provide equivalent support for MathML as WebKit for NSAccessibility. r=surkov 2015-06-23 18:17:00 +02:00
Alexander Surkov
1dee7937d6 Bug 1176683 - crash in mozilla::a11y::HyperTextAccessible::LandmarkRole() const, r=marcoz 2015-06-24 15:48:29 -07:00
Frédéric Wang
7f8cc1546f 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
3d98c52835 Bug 1175269 - Add MathML roles/subroles for NSAccessibility. r=surkov 2015-06-19 15:55:00 +02:00
Alexander Surkov
ec62f75bcc Bug 1150510 - Crash [@ nsStringBundle::GetStringFromName, r=marcoz 2015-06-17 12:37:19 -04:00
Frédéric Wang
a83412919b Bug 1175164 - Do not expose MathML semantics element in the accessibility tree. r=surkov 2015-06-16 16:15:00 +02:00
Frédéric Wang
db18e4ee03 Bug 1175182 - Expose fractions and roots as ATK_ROLE_PANEL for ATK < 2.16. r=surkov 2015-06-16 10:44:00 -04:00
Lorien Hu
de0488d79e 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
1b5ddbbba3 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
8dde60e22a Bug 1172577 - Handle proxies in mozAccessible method customDescription r=tbsaunde 2015-06-08 14:12:03 -04:00
Lorien Hu
1e8e12f3da 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
0d2ab00411 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
2015-06-11 14:01:50 -04:00
Trevor Saunders
b7a306fd2a bug 1172516 - fix firing caret move events for proxied accessibles r=lsocks 2015-06-11 11:40:00 -04:00
Trevor Saunders
2f9fbf733d bug 1172523 - fire useful text change events for proxies r=lsocks 2015-06-11 11:40:00 -04:00
Trevor Saunders
5ccf768f7c bug 1172523 - Move AccessibleWrap::FireAtkTextChangedEvent to MaiAtkObject::FireTextChangeEvent r=lsocks 2015-06-11 11:40:00 -04:00
Trevor Saunders
6411ad8bd2 bug 1172523 - Allow getting the modified text from an AccTextChangeEvent without copying r=lsocks 2015-06-11 11:39:59 -04:00