Alexander Surkov
94bea102a1
Bug 1363027 - keep removing accessible alive during event coalescence, r=davidb
2017-05-12 14:02:15 -04:00
Alexander Surkov
e220398188
Bug 1363027 - diagnostic asserts for Accessible::RemoveChild, r=davidb
2017-05-09 15:56:41 -04:00
Alexander Surkov
c744ece9e1
Bug 1362063 - replace delayed ValidateARIAOwned on straightforward DOM tree traversal, r=davidb
2017-05-04 13:21:17 -04:00
Alexander Surkov
dfec9a8532
Bug 1355488 - fix aria-owns on a document, r=davidb
2017-05-03 10:50:33 -04:00
Trevor Saunders
f891c30e65
bug 1348148 - try and avoid firing load events on unloaded documents r=davidb
...
It is awkward to need to have a DocAccessibleChild to send events with before
DocAccessible::DoInitialUpdate() is called because we might not have a
TabParent for the document until then. However we could try to fire reload
events on documents before DoInitialUpdate() was called which would require
having a DocAccessibleChild there to send the load event to the parent process.
However before DocAccessible::DoInitialUpdate() is called the document already
has a pending load event. If a document hasn't yet been the subject of a load
event it doesn't make a lot of sense to fire a reload event for that document,
and then the initial load event. So it should be safe to skip firing
reload events for documents where mLoadEvent specifies a load event to
fire in the future.
2017-05-02 13:34:40 -04:00
David Parks
25401b5154
Bug 1359129 - Use the most recent RootDocAccessible when delaying DocAccessibleChild messages. r=aklotz
...
We sometimes briefly have more than one root DocAccessible associated with a TabChild, for example, while navigating links in a page. This patch makes sure that we use the correct accessible when delaying messages that we forward to the parent process.
2017-05-01 14:04:55 -07:00
Alexander Surkov
083e10ff0a
Bug 1353094 - simplify the logic of accessible subtrees removal, r=davidb
2017-04-25 14:02:41 -04:00
Alexander Surkov
6ea3a45d37
Bug 1351414 - shutdown a moving accessible if it has no insertion point, r=yzen
2017-03-30 15:56:22 -04:00
Alexander Surkov
02bbc65297
Bug 1347075 - validate insertion index for a child move, r=yzen
2017-03-29 12:08:10 -04:00
David Parks
a1e5902990
Bug 1332690 - Assign Managers to DocAccessibleChilds. r=tbsaunde
...
The Manager is set by IPDL for remotely constructed objects but our DocAccessibleChilds are created on the child process side, so we need to assign a manager in the constructor so that we can find it when needed.
2017-03-27 10:03:43 -07:00
Alexander Surkov
9ead6abb1d
Bug 1347667 - unlink accessible's parent before accessible's shutdown when document shutdowns, r=yzen
2017-03-20 09:42:39 -04:00
Alexander Surkov
1f5d23072a
Bug 1334972 - crash when aria-owned child takes children from its parent, r=yzen
2017-02-03 13:51:52 -05:00
Trevor Saunders
e60082e201
bug 1240893 - ensure accessibles are shutdown before their document r=davidb, smaug
2017-01-19 17:18:39 -05:00
Trevor Saunders
d983307a3f
bug 1325834 - fixup windows bustage landed on a CLOSED TREE
2017-01-17 15:48:51 -05:00
Trevor Saunders
3c3e1bda2a
bug 1325834 - create the DocAccessibleChild in DocAccessible::DoInitialUpdate() r=davidb
...
It seems likely that some documents are created in content processes without
a DocAccessibleChild actor because there is no docshell or tabchild
associated with the document. However DocAccessible::DoInitialUpdate()
already calls functions that assume the document is associated with a
docshell. So hopefully trying to create the child actor there will mean it
is more successful.
2017-01-17 15:20:32 -05:00
Trevor Saunders
4c2b032d60
bug 1270916 - call CreateSubtree() before firing a show event for the tree root
...
r=davidb
This ensures that if creating the sub tree creates events to fire they will go
before the show event for the root of the tree. It is fine to fire show events
for the subtree before the root because they will just get coalesced away
anyway. However it is important that any hide events come before the hidden
subtree appears in the new tree.
2016-11-16 23:46:59 -05:00
Wes Kocher
32887b4cd0
Backed out 12 changesets (bug 1270916) for a11y crashes a=backout CLOSED TREE
...
Backed out changeset 916cbaf21a63 (bug 1270916)
Backed out changeset 8ee47068d1fb (bug 1270916)
Backed out changeset 60189bf08272 (bug 1270916)
Backed out changeset 5ca49b5d1c51 (bug 1270916)
Backed out changeset b8ead1b86059 (bug 1270916)
Backed out changeset 034efc9a4408 (bug 1270916)
Backed out changeset a9d6410f068e (bug 1270916)
Backed out changeset eefa622b467a (bug 1270916)
Backed out changeset 91a8f65a69fe (bug 1270916)
Backed out changeset cd68b5fd88a6 (bug 1270916)
Backed out changeset 4c58195d6bcf (bug 1270916)
Backed out changeset 8e5f19f19b7f (bug 1270916)
2016-11-16 16:16:13 -08:00
Trevor Saunders
1dca5b85d7
bug 1270916 - call CreateSubtree() before firing a show event for the tree root
...
r=davidb
This ensures that if creating the sub tree creates events to fire they will go
before the show event for the root of the tree. It is fine to fire show events
for the subtree before the root because they will just get coalesced away
anyway. However it is important that any hide events come before the hidden
subtree appears in the new tree.
2016-11-16 18:15:23 -05:00
Trevor Saunders
278510a50b
bug 1316789 - UncacheChildren should not go between documents r=davidb
2016-11-15 16:22:20 -05:00
Alexander Surkov
0b5b4c95d0
Bug 1310794 - implement aria-details and aria-errormessage, r=davidb
2016-10-25 13:51:27 -04:00
Alexander Surkov
78c970eb79
Bug 1294853 part1 - hide should preceed its related show on a move, r=yzen
2016-09-29 15:44:18 -04:00
Alexander Surkov
9570b1e29a
Bug 1303526 - Crash in mozilla::a11y::DocAccessible::ProcessInvalidationList, r=yzen
2016-09-23 16:57:16 -04:00
Michael Li
88848c863c
Bug 1296420 - Don't add node to DocAccessible's invalidation list if it's a target of aria-owns. r=surkov
...
MozReview-Commit-ID: tOCjCud8b0
2016-08-24 16:54:54 -04:00
Alexander Surkov
aa877fba26
Bug 1287721 - Keep strong pointers for nodes in the invalidation list of a document accessible. r=smaug
2016-08-24 22:16:45 -04:00
Alexander Surkov
4cf18085c4
Bug 1296113 - accessible element insertion following inaccessible element insertions results in a wrong tree, r=yzen
2016-08-19 12:10:58 -04:00
Alexander Surkov
b482a94cc1
Bug 1294500 - MOZ_ASSERT_UNREACHABLE() in DocAccessible.cpp introduced in bug 1246447 triggers in Thunderbird, r=yzen
2016-08-19 11:29:33 -04:00
Alexander Surkov
335b0e62f6
Bug 1294086 - remove debugging printf
2016-08-12 10:20:45 -04:00
Alexander Surkov
6be876aa30
Bug 1294086 - implement ARIA feed role, r=yzen
2016-08-10 14:07:29 -04:00
Michael Li
b10b51b6ac
Bug 1289223: Make EventTree process all accessibility show events. r=surkov
...
MozReview-Commit-ID: 1wRLGHR9Vfc
2016-08-09 15:07:04 -04:00
Alexander Surkov
922cf3bf5f
Bug 1274381 - scope accessible elements search to inserted nodes, r=yzen, f=marcoz
2016-08-05 10:20:58 -04:00
Alexander Surkov
d6b2bf2082
Bug 1246447 - crash in mozilla::a11y::DocAccessible::ARIAAttributeChanged, r=yzen
2016-08-04 10:49:21 -04:00
Alexander Surkov
2032aaa2d6
Bug 1286598 - make sure an accessible tree is updated on DOM tree removals, r=yzen
2016-07-20 09:40:55 -04:00
Alexander Surkov
54eabe84f0
Bug 1276857 - Shutdown an accessible if cannot be inserted into the tree, r=yzen
2016-07-12 23:15:22 -04:00
Carsten "Tomcat" Book
36031bf9dd
Backed out changeset af41c2ddcb5a (bug 1278929) for bustage on a CLOSED TREE
2016-06-28 17:00:35 +02:00
Trevor Saunders
0d01c06042
bug 1278929 - use std::unique_ptr in DocAccessible::AttrRelProviderArray r=froydnj
2016-06-28 10:23:22 -04:00
Carsten "Tomcat" Book
0555adf556
Backed out changeset b3acfc1fa613 (bug 1274381) for causing regression (bug 1281828) and on request from marcoz
2016-06-24 10:53:11 +02:00
Alexander Surkov
439584db37
Bug 1274381 - scope accessible elements search to inserted nodes, r=yzen, f=marcoz
2016-06-21 10:53:06 -04:00
Trevor Saunders
4a39610f6b
bug 1272712 - send a RoleChanged message when an accessible document's role changes r=davidb
2016-06-14 12:46:21 -04:00
Alexander Surkov
d34484c4e7
Bug 1278294 - add tree logging for single content insertion, part5, r=yzen
2016-06-08 13:51:47 -04:00
Alexander Surkov
0735356b35
Bug 1278294 - UpdateTreeOnRemoval should use logging::TreeInfo, part2, r=yzen
2016-06-08 07:33:06 -04:00
Wes Kocher
8739d878b2
Backed out changeset 452617569aeb (bug 1278294) for build bustage CLOSED TREE
2016-06-07 14:48:22 -07:00
Alexander Surkov
1abadcee77
Bug 1278294 - UpdateTreeOnRemoval should use logging::TreeInfo, part2, r=yzen
2016-06-07 17:21:59 -04:00
Alexander Surkov
df0dc143c3
Bug 1271946 - no alert, menupopup_start events from created subtree, partial backout of bug 1262420, r=marcoz
2016-05-18 08:58:26 -04:00
Trevor Saunders
7c5c42b888
bug 1271436 - add nsIDocShell::GetCommandManager() r=smaug
2016-05-17 18:16:07 -04:00
Alexander Surkov
294c8dd58b
Bug 1262420 - split updateTreeInternal for removals and insertions, part 2, r=yzen
2016-04-25 09:10:41 -04:00
Alexander Surkov
72ca539123
Bug 1262420 - split updateTreeInternal for removals and insertions, removals part, r=yzen
2016-04-25 09:07:48 -04:00
Alexander Surkov
873f332785
Bug 1262417 - bind a value change event with reorder event firing, r=yzen
2016-04-19 11:51:51 -04:00
Alexander Surkov
170f773f9f
Bug 1264473 - do not schedule child document rebuinding during main document shutdown, r=yzen
2016-04-14 11:15:16 -04:00
Jonathan Watt
570328a826
Bug 1263787 - Kill off the deprecated nsINode::GetCrossShadowCurrentDoc. r=baku
2016-03-31 13:20:14 +01:00
Jonathan Watt
d714197cfc
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00