Commit Graph

4075 Commits

Author SHA1 Message Date
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
Trevor Saunders
54dce77086 bug 1172053 - don't malloc the signal name in FireAtkTextChangedEvent r=lsocks 2015-06-11 11:39:59 -04:00
Trevor Saunders
195d4c0296 bug 1172053 - don't call malloc in FireAtkShowHideEvent r=lsocks 2015-06-11 11:39:59 -04:00
Trevor Saunders
079964cb6d 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
4a9a25c9f1 bug 1107337 - Teach refChildCB to deal with proxies r=lsocks, davidb 2015-06-11 11:39:58 -04:00
Trevor Saunders
2e34b54154 bug 1107337 - implement ProxyAccessible::EmbeddedChildAt r=lsocks, davidb 2015-06-11 11:39:58 -04:00
Trevor Saunders
114d68ece6 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
4e4b993151 bug 1107337 - support downcasting Accessible to OuterDocAccessible r=lsocks, davidb 2015-06-11 11:39:57 -04:00
Wes Kocher
a5ade4b835 Merge m-c to inbound, a=merge CLOSED TREE 2015-06-09 19:29:20 -07:00
Wes Kocher
dbf9de369d Bug 845134 - Disable test_focusedChild.html on Windows 8 a=me 2015-06-09 15:41:35 -07:00
Lorien Hu
3a70121a73 no bug - cleaning up trailing whitespace in mac a11y code rs=tbsaunde 2015-06-08 10:59:19 -04:00
Lorien Hu
19d8213b8c Bug 1169701 - Add wrapper to get mozAccessibles from ProxyAccessibles r=tbsaunde 2015-06-08 10:42:33 -04:00
Lorien Hu
97a16ae5fb Bug 1169701 - Fire native OS X accessibility events for proxied accessibles r=tbsaunde 2015-05-29 13:50:26 -04:00
Trevor Saunders
6d456a702c 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
a247ed1a16 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
ac0bc4f5e9 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
1ca2b86b2d bug 1170595 - always use IdToAccessible to convert ids to accessibles r=lsocks 2015-06-05 16:10:33 -04:00
Lorien Hu
d741591216 bug 1168932 - Implement ProxyCreated and ProxyDestroyed to update mozAccessibles r=tbsaunde 2015-05-29 15:51:31 -04:00
Lorien Hu
614e9d21a8 bug 1169408 - Merge mozButtonAccessible and mozPopupButtonAccessible r=surkov 2015-05-29 15:51:30 -04:00
Trevor Saunders
f49c42798f 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
1a112fb50c 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
902c0a100f bug 1168204 - Expose more interfaces to windows for proxied accessibles r=davidb 2015-05-29 10:15:27 -04:00
Trevor Saunders
f108222964 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
a3d0d81ab7 bug 1167358 - use ProxyAccessible::Parent() a little more r=lsocks 2015-05-29 10:15:27 -04:00
Trevor Saunders
561ae2eecc bug 1167604 - don't hide ProxyAccessible::Parent() with DocAccessibleParent::Parent r=lsocks 2015-05-29 10:15:26 -04:00
Trevor Saunders
a5c55ae6ad bug 1167295 - manage PDocAccessible with PBrowser instead of PContent r=smaug 2015-05-29 10:15:26 -04:00
Ryan VanderMeulen
52e526e5e5 Merge fx-team to m-c. a=merge 2015-05-28 10:08:37 -04:00
Dão Gottwald
a495d64a92 Bug 1167937 - Disable test_doc_busy.html on OS X 10.6 2015-05-28 08:12:15 +02:00
Eitan Isaacson
4a0a415c4a Bug 1144516 - Remove offset of mozbrowser iframe. r=yzen 2015-05-26 10:13:17 -07:00
Mike Hommey
d03760e105 Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps 2015-05-28 07:34:16 +09:00
Lorien Hu
1155f8ac44 bug 1109891 - part 3 - remove mGeckoTextAccessible r=tbsaunde 2015-05-22 11:09:49 -04:00
Lorien Hu
706b320072 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
4a201434bb bug 1109891 - part 1 - use an accessor method to get mGeckoAccessible r=tbsaunde 2015-05-22 11:09:48 -04:00
Neil Rashbrook
441960eebc 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
13ad23633a bug 1164976 - fire useful state change and caret move events for proxies r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
9c6779e315 bug 1164976 - Make DocAccessibleParent::GetAccessible return itself when appropriate r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
a7221f7c1a bug 1164976 - move AccessibleWrap::FireStateChangeEvent to be a member of MaiAtkObject r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
a13b05ac34 bug 1164193 - emit a few more events on proxied accessibles for atk r=davidb 2015-05-15 20:29:14 -04:00
Wes Kocher
484229a7ff Backed out changeset 17cfad44e12b (bug 1155963) for breaking b2g builds 2015-05-14 16:35:18 -07:00
Neil Rashbrook
5b5c002aaf 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
fd85fecad0 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
Marco Zehe
c7fe779f63 Bug 1162434 part 2 - Fix ISimpleDOMNode Unique ID on 64 bit systems, r=surkov 2015-05-13 16:22:19 +02:00
John Daggett
a553c0ff77 Bug 1056479 p4 - fix accessibility api for font-weight. r=jfkthame 2015-05-13 14:11:25 +09:00
Alexander Surkov
f9fae6e951 Bug 1162434 - Make windows emulation work on X64, r=marcoz 2015-05-12 12:43:38 -04:00
Trevor Saunders
785b33b959 bug 1164135 - fix AtkHyperlink::GetStartIndex r=davidb 2015-05-12 14:51:24 -04:00
Carsten "Tomcat" Book
bb77274ecf Backed out changeset a517a5188e1b (bug 1056479) 2015-05-12 12:20:57 +02:00
John Daggett
23ed31e546 Bug 1056479 p4 - fix accessibility api for font-weight. r=jfkthame 2015-05-12 17:44:23 +09:00
Carsten "Tomcat" Book
1c0b0eacfa Backed out 10 changesets (bug 1056479) for bustage on a CLOSED TREE
Backed out changeset d5b1f2b78915 (bug 1056479)
Backed out changeset bcc65b714dd6 (bug 1056479)
Backed out changeset 0b35e8a463d2 (bug 1056479)
Backed out changeset 0933391809c9 (bug 1056479)
Backed out changeset 93bd67204fac (bug 1056479)
Backed out changeset 5260b93eb0b9 (bug 1056479)
Backed out changeset 130bea3f8623 (bug 1056479)
Backed out changeset 408e078cc18d (bug 1056479)
Backed out changeset a651c240979d (bug 1056479)
Backed out changeset d74ae8fcaac9 (bug 1056479)
2015-05-12 08:25:19 +02:00
John Daggett
e086f48942 Bug 1056479 p4 - fix accessibility api for font-weight. r=jfkthame 2015-05-12 14:51:17 +09:00
Trevor Saunders
556aa59558 bug 1162621 - proxy Accessible::IndexOfEmbeddedChild r=davidb
This is a bit dirty, we should be able to implement this just in the main
process by looking at the role of the children.  However doing it this way is
simpler and allows us to share code with the non e10s case.
2015-05-08 23:46:20 -04:00
Trevor Saunders
0a8ca50f18 bug 1162654 - allow proxies to implement the document interface r=davidb 2015-05-08 23:46:14 -04:00