Nicholas Nethercote
2511b2c327
Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
...
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.
MozReview-Commit-ID: 1VS4Dney4WX
--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Alexander Surkov
7679e64fd6
Bug 1264852 - destroy an event tree as it gets processed, r=n.nethercote
2016-04-28 13:12:46 -04:00
Trevor Saunders
06af77faee
bug 1267376 - bail out of RecvShowEvent() early if we failed to add children r=davidb
2016-04-27 10:16:21 -04:00
CJKu
3acf2e463b
Bug 1266948 - text-decoration-color: currentcolor should not use value from -webkit-text-fill-color; r=jfkthame
...
MozReview-Commit-ID: 2SfENZieSzQ
--HG--
extra : rebase_source : 3880f8fd6ae18e9f4b1cbf0a2f5eff48c060548b
2016-04-26 23:56:44 +08:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Trevor Saunders
471e46a43a
bug 1266518 - add a new event message for AccSelChangeEvents r=davidb
...
For these events atk needs to know about the widget not the event target, and
the easiest way to support that is by adding a new event message that sends the
widget id.
2016-04-25 13:38:06 -04:00
Trevor Saunders
ef5ed9eb74
bug 1266496 - fire some selection events for proxied accessibles r=davidb
...
we map both EVENT_SELECTION_CHANGED and EVENT_TEXT_SELECTION_CHANGED to
"selection_changed" similar to the non proxy case.
2016-04-25 13:38:06 -04:00
Alexander Surkov
446c271cb6
Bug 1262420 - split updateTreeInternal for removals and insertions, part 2, r=yzen
2016-04-25 09:10:41 -04:00
Alexander Surkov
e3f1739729
Bug 1262420 - split updateTreeInternal for removals and insertions, removals part, r=yzen
2016-04-25 09:07:48 -04:00
Sebastian Hengst
e61eaea5b1
Backed out changeset fd06074f3bbf (bug 1186029) for failure in new test browser_events_statechange.js at least if run with e10s. r=backout
2016-04-22 18:54:23 +02:00
Yura Zenevich
b6d43d1c3f
Bug 1186029 - e10s compatible name caching, events and tree update tests. r=eeejay
...
MozReview-Commit-ID: 5Y5sYgGI2L9
---
.eslintignore | 1 -
accessible/.eslintrc | 15 +
accessible/jsat/OutputGenerator.jsm | 7 +-
accessible/moz.build | 2 +
accessible/tests/browser/.eslintrc | 202 ++++++++++
accessible/tests/browser/browser.ini | 50 +++
accessible/tests/browser/browser_caching_name.js | 434 +++++++++++++++++++++
.../tests/browser/browser_events_caretmove.js | 21 +
accessible/tests/browser/browser_events_hide.js | 32 ++
accessible/tests/browser/browser_events_show.js | 17 +
.../tests/browser/browser_events_statechange.js | 60 +++
.../tests/browser/browser_events_textchange.js | 72 ++++
.../tests/browser/browser_treeupdate_ariadialog.js | 42 ++
.../tests/browser/browser_treeupdate_ariaowns.js | 317 +++++++++++++++
.../tests/browser/browser_treeupdate_canvas.js | 25 ++
.../browser/browser_treeupdate_cssoverflow.js | 64 +++
accessible/tests/browser/browser_treeupdate_doc.js | 303 ++++++++++++++
.../tests/browser/browser_treeupdate_gencontent.js | 78 ++++
.../tests/browser/browser_treeupdate_hidden.js | 30 ++
.../tests/browser/browser_treeupdate_imagemap.js | 176 +++++++++
.../tests/browser/browser_treeupdate_list.js | 43 ++
.../browser/browser_treeupdate_list_editabledoc.js | 39 ++
.../tests/browser/browser_treeupdate_listener.js | 43 ++
.../tests/browser/browser_treeupdate_optgroup.js | 91 +++++
.../tests/browser/browser_treeupdate_removal.js | 39 ++
.../tests/browser/browser_treeupdate_table.js | 51 +++
.../tests/browser/browser_treeupdate_textleaf.js | 34 ++
.../tests/browser/browser_treeupdate_visibility.js | 196 ++++++++++
.../tests/browser/browser_treeupdate_whitespace.js | 80 ++++
.../tests/browser/doc_treeupdate_ariadialog.html | 23 ++
.../tests/browser/doc_treeupdate_ariaowns.html | 44 +++
.../tests/browser/doc_treeupdate_imagemap.html | 21 +
.../tests/browser/doc_treeupdate_removal.xhtml | 11 +
.../tests/browser/doc_treeupdate_visibility.html | 78 ++++
accessible/tests/browser/events.js | 104 +++++
accessible/tests/browser/head.js | 266 +++++++++++++
accessible/tests/mochitest/common.js | 41 +-
37 files changed, 3145 insertions(+), 7 deletions(-)
create mode 100644 accessible/.eslintrc
create mode 100644 accessible/tests/browser/.eslintrc
create mode 100644 accessible/tests/browser/browser.ini
create mode 100644 accessible/tests/browser/browser_caching_name.js
create mode 100644 accessible/tests/browser/browser_events_caretmove.js
create mode 100644 accessible/tests/browser/browser_events_hide.js
create mode 100644 accessible/tests/browser/browser_events_show.js
create mode 100644 accessible/tests/browser/browser_events_statechange.js
create mode 100644 accessible/tests/browser/browser_events_textchange.js
create mode 100644 accessible/tests/browser/browser_treeupdate_ariadialog.js
create mode 100644 accessible/tests/browser/browser_treeupdate_ariaowns.js
create mode 100644 accessible/tests/browser/browser_treeupdate_canvas.js
create mode 100644 accessible/tests/browser/browser_treeupdate_cssoverflow.js
create mode 100644 accessible/tests/browser/browser_treeupdate_doc.js
create mode 100644 accessible/tests/browser/browser_treeupdate_gencontent.js
create mode 100644 accessible/tests/browser/browser_treeupdate_hidden.js
create mode 100644 accessible/tests/browser/browser_treeupdate_imagemap.js
create mode 100644 accessible/tests/browser/browser_treeupdate_list.js
create mode 100644 accessible/tests/browser/browser_treeupdate_list_editabledoc.js
create mode 100644 accessible/tests/browser/browser_treeupdate_listener.js
create mode 100644 accessible/tests/browser/browser_treeupdate_optgroup.js
create mode 100644 accessible/tests/browser/browser_treeupdate_removal.js
create mode 100644 accessible/tests/browser/browser_treeupdate_table.js
create mode 100644 accessible/tests/browser/browser_treeupdate_textleaf.js
create mode 100644 accessible/tests/browser/browser_treeupdate_visibility.js
create mode 100644 accessible/tests/browser/browser_treeupdate_whitespace.js
create mode 100644 accessible/tests/browser/doc_treeupdate_ariadialog.html
create mode 100644 accessible/tests/browser/doc_treeupdate_ariaowns.html
create mode 100644 accessible/tests/browser/doc_treeupdate_imagemap.html
create mode 100644 accessible/tests/browser/doc_treeupdate_removal.xhtml
create mode 100644 accessible/tests/browser/doc_treeupdate_visibility.html
create mode 100644 accessible/tests/browser/events.js
create mode 100644 accessible/tests/browser/head.js
--HG--
extra : rebase_source : 8b317297af584d0d19c13f34c3d6797d63efb345
2016-04-21 15:38:54 -04:00
Trevor Saunders
f2bc8b52ca
bug 1262563 - fire show / hide events for proxied accessibles r=davidb
2016-04-21 13:41:09 -04:00
Trevor Saunders
907963ea24
bug 1262563 - add IsFromUserInput to show / hide event messages r=davidb
2016-04-21 13:41:09 -04:00
Trevor Saunders
eaf7af766b
bug 1262563 - make FireShowHideEvent() a method of MaiAtkObject r=davidb
2016-04-21 13:41:09 -04:00
Trevor Saunders
ce3d231aa4
bug 1262563 - make FireShowHideEvent() return void r=davidb
2016-04-21 13:41:09 -04:00
Trevor Saunders
5509e10d38
bug 1262563 - fix how FireShowHideEvent gets the parent of a hide event target r=davidb
...
Especially for hide events its better to use the parent stored in the event
than the parent of the object when the event is fired. However xul trees fire
show / hide events where the event's type is AccEvent not a subtype of
AccMutationEvent, and in that case we need to fall back to the objects parent.
2016-04-21 13:41:09 -04:00
Trevor Saunders
78ec591787
bug 1262563 - stop passing an event to FireShowHideEvent() r=davidb
...
Later we will call this for proxies where we don't have an event, and anyway
all we need the event for is if it came from user input.
2016-04-21 13:41:09 -04:00
L. David Baron
d44900156e
Bug 1053986 - Rename nsIFrame::GetBorder to GetXULBorder. r=dholbert
...
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.
It also includes manual changes in accessible/.
MozReview-Commit-ID: D1nwxJmUzc9
2016-04-20 21:28:33 -07:00
L. David Baron
376413eeb5
Bug 1053986 - Rename nsIFrame::IsBoxFrame to IsXULBoxFrame. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
But with additional manual changes in accessible/.
MozReview-Commit-ID: W0wUPoQsVH
2016-04-20 21:28:30 -07:00
Masayuki Nakano
cbe8f5268a
Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
...
MozReview-Commit-ID: ESWM5ZyBpSR
--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Trevor Saunders
696d088bee
bug 1262233 - stop implementing ProxyAccessible::EmbeddedChildAt() with a sync message r=lsocks
2016-04-19 17:17:25 -04:00
Trevor Saunders
fbb720e10a
bug 1262233 - stop implementing ProxyAccessible::IndexOfEmbeddedChild() with a sync message r=lsocks
2016-04-19 17:17:25 -04:00
Trevor Saunders
426fa80158
bug 1262233 - stop using a sync message to implement ProxyAccessible::EmbeddedChildCount() r=lsocks
2016-04-19 17:17:25 -04:00
Trevor Saunders
5a44fb72ed
bug 1262233 - add ProxyAccessible::IsEmbeddedObject() r=lsocks
2016-04-19 17:17:25 -04:00
Alexander Surkov
83f637d163
Bug 1262417 - bind a value change event with reorder event firing, r=yzen
2016-04-19 11:51:51 -04:00
CJKu
f530904493
Bug 1261578 - Part 2. Correct text decoration color; r=jfkthame
...
MozReview-Commit-ID: LfZnmTnL5KY
--HG--
extra : rebase_source : 1bb95f3a8b59c2897f55e1f17ee8168366ca1cf5
2016-04-19 17:09:54 +08:00
Nathan Froyd
dc00d2ec98
Bug 1264784 - part 1 - call nsIFrame::{GetScreenRect,GetView} instead of their *External counterparts; r=dholbert
...
The latter functions just call through to the former functions, and
we're going to remove the latter functions in a separate, subsequent
patch.
2016-04-15 19:37:35 -04:00
Alexander Surkov
79ec4018bb
Bug 1264526 - process ARIA owns relocations for in-the-document accessibles only, r=yzen
2016-04-14 13:45:16 -04:00
Alexander Surkov
79325fd1a2
Bug 1264473 - do not schedule child document rebuinding during main document shutdown, r=yzen
2016-04-14 11:15:16 -04:00
Alexander Surkov
a426e529c3
Bug 1263188 - fix event tree coalescence, part4, r=yzen
2016-04-14 07:46:58 -04:00
Alexander Surkov
77445951cd
Bug 1263188 - more assertions, part3, r=yzen
2016-04-14 07:39:44 -04:00
Wes Kocher
6248f1e33c
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 4hSCKRdSJmM
2016-04-13 14:18:44 -07:00
Alexander Surkov
5b34156025
Bug 1263188 - fix event tree building, part2, r=yzen
2016-04-13 11:22:19 -04:00
Florian Quèze
826840fc31
Bug 1238286 - Searchbar placed in Australis Menu doesn't detect search plugins if Menu wasn't opened in the window, r=adw.
2016-04-11 15:07:27 +02:00
Alexander Surkov
bb313c6576
Bug 1263188 - fix event tree cutting, part1, r=yzen
2016-04-12 15:48:29 -04:00
Alexander Surkov
1499275e07
Bug 1262415 - make Accessible to keep weak pointers to parent and children, r=yzen
2016-04-12 11:20:56 -04:00
Jonathan Watt
de4c3d11fe
Bug 1263787 - Kill off the deprecated nsINode::GetCrossShadowCurrentDoc. r=baku
2016-03-31 13:20:14 +01:00
Jonathan Watt
9480920b04
Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku
2016-03-31 12:46:32 +01:00
Jonathan Watt
fb7bb15e68
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Trevor Saunders
317b423cfb
bug 1259023 - make nsIAccessible.{Next,Prev}Sibling work with proxied accessibles r=yzen
2016-04-13 04:00:56 -04:00
Trevor Saunders
ef3432fda2
bug 1259023 - make nsIAccessible.indexInParent work on proxied accessibles r=yzen
2016-04-13 04:00:56 -04:00
Trevor Saunders
8a74954930
bug 1259023 - make nsIAccessible.parent work with proxies r=yzen
2016-04-13 04:00:56 -04:00
Cameron McCormack
672aaef5a4
Bug 1261754 - Part 11: Move opacity from nsStyleDisplay to nsStyleEffects. r=dholbert
2016-04-12 15:52:43 +10:00
Cameron McCormack
cb363fa1df
Bug 1261754 - Part 6: Move vertical-align from nsStyleTextReset to nsStyleDisplay. r=dholbert
2016-04-12 15:52:41 +10:00
Trevor Saunders
5deea4c6a1
bug 1261144 - stop including Filters.h in EmbeddedObjCollector.h r=lsocks
2016-04-11 21:41:09 -04:00
Trevor Saunders
77a75b2795
bug 1261144 - devirtualize the dtor of EmbeddedObjCollector r=lsocks
2016-04-11 21:41:09 -04:00
Trevor Saunders
7f0c0c844c
bug 1261144 - remove filters::GetEmbeddedObj() because it is unused r=lsocks
2016-04-11 21:41:09 -04:00
Trevor Saunders
72142ef744
bug 1261144 - call Accessible::IsText() directly from EmbeddedObjCollector r=lsocks
2016-04-11 21:41:09 -04:00
Trevor Saunders
a6e634768b
bug 1261144 - use filters::GetEmbeddedObject() directly in EmbeddedObjCollector r=lsocks
2016-04-11 21:41:09 -04:00
Trevor Saunders
9d406fe177
bug 1261144 - rename AccCollector.{h,cpp} to EmbeddedObjCollector.{h,cpp} r=lsocks
2016-04-11 21:41:09 -04:00