Tom Tromey
e507f8c1d3
Bug 1334304 - use MOZ_FORMAT_PRINTF in accessible/base/Logging.h; r=surkov
...
MozReview-Commit-ID: 5cpxhepA7br
2017-05-03 14:47:35 -06:00
Alexander Surkov
c744ece9e1
Bug 1362063 - replace delayed ValidateARIAOwned on straightforward DOM tree traversal, r=davidb
2017-05-04 13:21:17 -04:00
Emilio Cobos Álvarez
643f3f8618
Bug 1361051: rename mozilla::FrameType to mozilla::LayoutFrameType. r=xidorn
...
This avoids conflicts with mozilla::dom::FrameType.
MozReview-Commit-ID: 7aEMbHRaTFk
2017-05-01 19:32:52 +02:00
Emilio Cobos Álvarez
3731858edf
Bug 1360241: Devirtualize nsIFrame::GetType. r=heycam
...
MozReview-Commit-ID: 5Nzhyta5Hle
2017-04-30 17:30:08 +02:00
Alexander Surkov
083e10ff0a
Bug 1353094 - simplify the logic of accessible subtrees removal, r=davidb
2017-04-25 14:02:41 -04:00
Brian Birtles
4de61d72aa
Bug 1315874 - Drop 'ForElement' from GetStyleContextForElementXXX methods; r=heycam
...
In the next patch we want to add a method called
GetUnanimatedStyleContextForElementNoFlush but that's much too long. Instead it
seems better to just drop 'ForElement' from all these methods since it should be
fairly obvious we are getting the style context for an element given that the
first argument is an element.
MozReview-Commit-ID: JQKaEuCKV2F
2017-04-05 14:39:23 +09:00
Paul Bignier
c1fcb05d9d
Bug 1352802 - Typo fixes around 'accessible'. r=MattN
...
MozReview-Commit-ID: 27CyNOMXkRq
2017-04-03 09:47:00 -07: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
559add51ec
Bug 1330484 - crash in NotificationController::WillRefresh, r=yzen
2017-03-23 13:59:16 -04:00
Alexander Surkov
0c2e303af6
Bug 1346518 - extend Accessible::RemoveChild debugging assertions, part2, r=yzen
2017-03-22 18:31:18 -04:00
Jeff Muizelaar
6eb096b5f0
Bug 1285533. Remove non-fontconfig platform fontlist codepath. r=lsalzman
...
This has been disabled for two years. It's time for it to die.
2017-03-22 14:58:19 -04: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
Trevor Saunders
b947a88b5b
bug 1346439 - fixup linked list manipulation in CoalesceMutationEvents() r=davidb
...
Its possible to coalesce away events such that the first two events in the
queue are reorder events where the second reorder can be coalesced with the
first. In that case there's no point in shuffling the list before removing
the second reorder event.
2017-03-17 14:03:44 -04:00
Alexander Surkov
bd078714c8
Bug 1342433 - onclick changes shouldn't recreate the tree, r=yzen
2017-03-15 15:19:26 -04:00
Sebastian Hengst
467f2cc5c2
Backed out changeset 7c05090a2cd0 (bug 1342433) for failing browser_treeupdate_listener.js. r=backout
2017-03-15 19:11:12 +01:00
Alexander Surkov
591c24e23a
Bug 1342433 - don't recreate a tree on onclick changes, r=yzen
2017-03-14 14:29:08 -04:00
Mats Palmgren
89416847ae
Bug 1340771 part 2 - Introduce a WeakFrame class for heap allocated weak frame pointers, stored in a hashtable for fast lookup. r=tn
...
* * *
Bug 1340771 part 3 - Change existing heap allocated AutoWeakFrame instances to use WeakFrame instead. r=tn
MozReview-Commit-ID: GSuUiy98jBa
2017-03-01 18:03:14 +01:00
Mats Palmgren
7c43dcf986
Bug 1340771 part 1 - Rename nsWeakFrame to AutoWeakFrame (automated change). r=tn
...
MozReview-Commit-ID: 8pl4nyeGEkr
2017-03-01 18:03:14 +01:00
Wes Kocher
5a055d83d9
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 9bhCPrArK3P
2017-02-02 16:39:24 -08:00
Boris Zbarsky
f9cb78afdc
Bug 835981 part 5. Change nsIDOMXULElement::GetBoxObject consumers to nsXULElement. r=peterv
2017-02-02 10:32:58 -05:00
Trevor Saunders
753d700002
bug 1322593 - don't coalesce non contiguous text changes under the same accessible r=davidb
2017-01-23 16:08:29 -05:00
Trevor Saunders
c0b1022713
bug 1322593 - avoid merging text change events for unrelated accessibles r=davidb
2017-01-23 16:08:29 -05:00
Marco Zehe
baa689aa95
Bug 1335734 - Make sure ARIA role 'directory' exposes the READONLY state so it doesn't get treated as a widget, r=surkov
...
MozReview-Commit-ID: 9J90gANe9Ib
2017-02-02 06:46:00 +01: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
1f35f39ddb
bug 1331286 - remove accessibility.ipc_architecture_enabled pref r=davidb
2017-01-16 14:13:34 -05:00
Trevor Saunders
57ca8dd369
bug 1325258 - make some asserts diagnostic asserts to investigate crashes
2017-01-06 15:29:06 -05:00
Cameron McCormack
5f9911da79
Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
...
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Xidorn Quan
8de7838e67
Bug 1326209 part 2 - Change background-color to use complex color. r=dholbert
...
MozReview-Commit-ID: 1n3TC3CVY7U
2016-12-30 02:03:29 +11:00
Ting-Yu Chou
63910c9baa
Bug 1322465 part 1 - Use explicit/MOZ_IMPLICIT for the unary constructors in accessible/. r=Ehsan
...
MozReview-Commit-ID: ItoYyiF1Vjo
2016-12-16 15:43:21 +08:00
Robert Longson
29661e49d9
Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv
2016-12-18 11:11:47 +00:00
Sebastian Hengst
35ac5ad5d2
Backed out changeset 0b44e8715bf5 (bug 1239100) for build bustage (SVGGeometryElement.webidl missing). r=backout
2016-12-18 11:42:51 +01:00
Robert Longson
7691b0761b
Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv
2016-12-18 09:54:02 +00:00
Aaron Klotz
ae77ad7918
Bug 1321936: Check whether new child docs are defunct before doing IPC binding; r=tbsaunde
...
MozReview-Commit-ID: 2kX991JncyV
2016-12-02 12:33:01 -07:00
Trevor Saunders
f9f54c2689
bug 1324019 - remove TreeMutation::mEventTree field r=davidb
...
It causes warnings if the logging define is undefined as it is on aurora,
because the field is then unused. Since the only uses can easily be
replaced with the mQueueEvents field we can just do that and remove the
useless field.
2016-12-16 14:07:44 -05:00
Aaron Klotz
d95a08fb8f
Bug 1314707: Replace PDocAccessible::SendCOMProxy with new parameter to PDocAccessibleConstructor and async RecvParentCOMProxy call in child. Sending of a11y events from child to parent is now deferred until DocAccessibleChild::RecvParentCOMProxy is called; r=tbsaunde
...
MozReview-Commit-ID: DjxSfLJQtTu
2016-12-01 16:28:54 -07:00
Alexander Surkov
645a54e54a
Bug 1313693 - implement iterable states, part1 - add 64bit version of states stringifying, r=davidb
2016-12-13 14:00:16 -05:00
Ting-Yu Lin
03d0c3c4c4
Bug 1317588 Part 2 - Remove mozilla::css::Side typedef. r=mats
...
This patch is written with the help of the following script.
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename "css::Side" "Side"
MozReview-Commit-ID: DPV6vivpPUp
2016-11-18 16:28:38 +08:00
Yura Zenevich
c1394b8292
Bug 1297474 - shutdown accessibility service only if there are no references to accessibles in JS. r=surkov
...
MozReview-Commit-ID: BTOuBQXA1Ly
2016-11-22 08:40:13 -05:00
Carsten "Tomcat" Book
3bc05955d6
Backed out changeset e79129082f4a (bug 1297474) for crashes in m-oth windows tests
2016-11-21 10:33:49 +01:00
Yura Zenevich
2f14076ddd
Bug 1297474 - shutdown accessibility service only if there are no references to accessibles in JS. r=surkov
...
MozReview-Commit-ID: BTOuBQXA1Ly
2016-11-20 00:45:57 -05:00
Sebastian Hengst
6c96c69eae
Backed out changeset 48ac718556a0 (bug 1297474) for crash in Marionette test test_switch_remote_frame.py TestSwitchRemoteFrame.test_remote_frame_revisit. r=backout
2016-11-19 09:25:27 +01:00
Yura Zenevich
b95d3c825b
Bug 1297474 - shutdown accessibility service only if there are no references to accessibles in JS. r=surkov
...
MozReview-Commit-ID: BTOuBQXA1Ly
2016-11-18 23:35:25 -05:00
Trevor Saunders
7a31c642b3
bug 1270916 - switch to use the new mutation event queue system r=davidb
...
This puts events in the queue instead of the event tree, and then fires them
based on the queue. Some tests need to be adjusted to make sure they check
constraints on event order correctly.
2016-11-16 23:47:02 -05:00
Trevor Saunders
4b4368ddc6
bug 1270916 - add methods to maintain a queue of mutation events to coalesce or fire r=davidb
...
Mutation events are kept in a queue before firing. The queue is only
coalesced when necessary, at present this is when queueing a hide event, or
just before firing all the events. It may be possible to do without the
former, but that is left as future work. The state of what types of events an
accessible is a target of is stored in the accessible. Combining that with a
map from accessible and type pairs to events we can quickly remove unnecessary
events from the queue when we need to coalesce.
2016-11-16 23:46:58 -05:00
Trevor Saunders
e833c461c3
bug 1270916 - add a map from accessible and event type to an event r=davidb
2016-11-16 23:46:57 -05:00
Trevor Saunders
b9d4219e0d
bug 1270916 - allow tracking when a mutation event was fired relative to other mutation events r=davidb
2016-11-16 23:46:55 -05:00
Trevor Saunders
307bb653c3
bug 1270916 - remove EventTree::{Shown,Hidden}() r=davidb
...
They are pretty useless wrappers, and in the future it will be useful to have
access to the event object independent of the EventTree.
2016-11-16 23:46:54 -05:00
Trevor Saunders
6664f42c54
bug 1270916 - make TreeMutation track if it should be queueing events r=davidb
...
Soon we will want to know if events should be emitted independt of EventTrees.
2016-11-16 23:46:53 -05:00
Trevor Saunders
35ea9597a7
bug 1270916 - allow keeping AccTreeMutation in a list r=davidb
...
Soon we will use the list to track the order of the events.
2016-11-16 23:46:51 -05:00
Trevor Saunders
9040d67e00
bug 1270916 - allow downcasting AccEvent to AccTreeMutationEvent r=davidb
2016-11-16 23:46:50 -05:00