Commit Graph

5815 Commits

Author SHA1 Message Date
Michael Li
c28fee3910 Bug 1284281 - Support QueryInterfacing proxy accessibles to nsIAccessibleHyperlink. r=tbsaunde 2016-07-07 08:13:00 +02:00
Phil Ringnalda
bc94fc8653 Merge f-t to m-c, a=merge 2016-07-09 08:53:47 -07:00
Chris Peterson
43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Alexander Surkov
2f30d77482 Bug 1279665 - skip aria-owns deferred accessible creation for XUL elements, r=yzen 2016-07-08 11:56:30 -04:00
Wes Kocher
4725525760 Merge m-c to fx-team, a=merge CLOSED TREE 2016-07-08 15:04:54 -07:00
Panos Astithas
235923e449 Use a zip instead of an xpi file to test document states in order to avoid the permission prompt (bug 1004061). r=tbsaunde
MozReview-Commit-ID: 7BOlEGFVaY


--HG--
rename : accessible/tests/mochitest/dumbfile.xpi => accessible/tests/mochitest/dumbfile.zip
2016-07-08 09:45:39 -04:00
Michael Li
cebbecb62d Bug 1283268 - Change nsAutoPtr to UniquePtr in EventTree and Accessible classes. r=nfroyd 2016-06-29 12:57:00 +02:00
Andi-Bogdan Postelnicu
f03cd9f1d5 Bug 1283060 - prevent null pointer dereference in logging::TreeInfo. r=surkov.alexander
MozReview-Commit-ID: KhNGsH8MRVz

--HG--
extra : rebase_source : 25dd42331cdff7c3fca75286350a87f0e536b43e
2016-06-29 14:06:31 +03:00
Carsten "Tomcat" Book
7c1fa57b1d Backed out changeset b3acfc1fa613 (bug 1274381) for causing regression (bug 1281828) and on request from marcoz 2016-06-24 10:53:11 +02:00
Trevor Saunders
e346d8b93e bug 1279984 - allow destroying proxies without a wrapper r=davidb
We can sometimes call ProxyDestroyed() on a proxy that never had a wrapper set
up so we should just bail out of ProxyDestroyed() in that case because there is
nothing to do.
2016-06-22 09:17:16 -04:00
Trevor Saunders
0843a2a966 bug 1279984 - avoid invalid proxy OuterDocAccessibles r=davidb
Before binding a child document to an outer doc proxy we need to make sure its
Outer doc proxies are only allowed to have one child which is the document they
own.  So before we bind a proxied document to a proxied outer doc we need to
make sure the outer doc either doesn't have children or has a document we can
unbind.
2016-06-22 09:17:16 -04:00
Alexander Surkov
d219d06d6d Bug 1274381 - scope accessible elements search to inserted nodes, r=yzen, f=marcoz 2016-06-21 10:53:06 -04:00
Alexander Surkov
05a65c74c5 Bug 1278294 - add DOM tree logging, part=7, r=yzen 2016-06-21 07:41:06 -04:00
Masayuki Nakano
13d4f396fe Bug 1185307 part.2 Replace upcast from nsISelection to mozilla::dom::Selection with nsISelection::AsSelection() r=smaug
MozReview-Commit-ID: Gs3oiAgJFG9

--HG--
extra : rebase_source : a136405d99ff3361a595157986b3a33026bcd5f5
2016-06-17 22:32:49 +09:00
Chris Manchester
025749bed2 Bug 1279643 - Don't compile interfaces with midl during artifact builds. r=mshal
MozReview-Commit-ID: Dza7tgekXHz
2016-06-14 05:30:41 -07:00
Alexander Surkov
f33c2d2c00 Bug 1278294 - move accessible tree logging into separate method, part=6, r=yzen 2016-06-20 11:35:38 -04:00
Astley Chen
5bcbb06586 Bug 1277131 : Part 3 - rename nsGkAtoms::tableOuterFrame and nsCSSAnonBoxes::tableOuter. r=heycam
MozReview-Commit-ID: 7GIjtUH9hdZ

--HG--
extra : rebase_source : 818cead88e560effa402e183b4a642fd1a7b9191
2016-06-16 13:35:43 +01:00
Astley Chen
1fcb0ee95d Bug 1277131 : Part 1 - rename nsTableOuterFrame to nsTableWrapperFrame. r=heycam
MozReview-Commit-ID: KrSHLbmovTM

--HG--
rename : layout/tables/nsTableOuterFrame.cpp => layout/tables/nsTableWrapperFrame.cpp
rename : layout/tables/nsTableOuterFrame.h => layout/tables/nsTableWrapperFrame.h
extra : rebase_source : 730a73b8439f1f5c5ccdb32b241deda5224c321c
2016-06-16 13:14:08 +01:00
Trevor Saunders
ea8a901a13 bug 1272712 - send a RoleChanged message when an accessible document's role changes r=davidb 2016-06-14 12:46:21 -04:00
Masayuki Nakano
a1636168ba Bug 1278014 part.6 Rename SelectionType::SELECTION_SPELLCHECK to SelectionType::eSpellCheck r=smaug
MozReview-Commit-ID: 4n2jEVax37O

--HG--
extra : rebase_source : eb8c0dbedfeac83de330ccef874525dea355b52c
2016-06-09 18:37:36 +09:00
Masayuki Nakano
d960ef26d5 Bug 1278014 part.5 Rename SelectionType::SELECTION_NORMAL to SelectionType::eNormal r=smaug
MozReview-Commit-ID: AAdxTTKEvrk

--HG--
extra : rebase_source : 82e10db6b8b17d4f571625e34bb3c8f1905ef58a
2016-06-09 18:35:22 +09:00
Masayuki Nakano
00591135a4 Bug 1278014 part.2 Define mozilla::SelectionType as an enum class and use it instead of RawSelectionType as far as possible r=smaug
This patch defines mozilla::SelectionType as an enum class.  This is safer than nsISelectionController::SELECTION_* since setting illegal value to its variable is checked at build time.  So, as far as possible, this should be used everywhere (but of course, this isn't available in scriptable interfaces).

And also this implements some useful methods for managing SelectionType and RawSelectionType which are implemented in layout/nsSelection.cpp because nsISelectionController is implemented by both PresShell and nsTextEditorState.  Therefore, implementing one of them may make hard to find them.  On the other hand, nsSelection.cpp is a better file name to look for them.

Note that this patch creates mozilla::Selection::RawType() for binding.  Native code should keep using Selection::Type() but the binding code needs to use RawType() due to impossible to convert from SelectionType to RawSelectionType without explicit cast.

MozReview-Commit-ID: 81vX7A0hHQN

--HG--
extra : rebase_source : d9f88e217c713c60d1c2578ce6421c73ccba8650
2016-06-11 11:06:37 +09:00
Jonathan Watt
b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Lorien Hu
f5740ca0da Bug 1274195 - Invalidate children of remote mozAccessible's remote parents r=tbsaunde 2016-06-09 14:33:48 -07:00
Lorien Hu
c86a00d637 Bug 1274194 - HyperTextAccessible InsertChildAt and RemoveChild now call AccessibleWrap for superclass method r=tbsaunde 2016-06-09 14:33:48 -07:00
Lorien Hu
aa26e8feb1 Bug 1252645 - Return native for outerdoc owner of top-level proxies in mozAccessible parent r=tbsaunde 2016-06-09 14:33:48 -07:00
Lorien Hu
ce5ba79772 Bug 1199755 - Retrieve native proxy children when mozAccessible children is called on outerdocs in parent r=tbsaunde 2016-06-09 14:33:48 -07:00
Lorien Hu
02f547704c Bug 1254824 - Stop filtering ignored mozAccessibles when creating native objects p4 r=surkov 2016-06-09 14:33:48 -07:00
Lorien Hu
0de68faca5 Bug 1254824 - Stop filtering ignored mozAccessibles when creating native objects p3 r=surkov 2016-06-09 14:33:48 -07:00
Lorien Hu
94e7bb6e3b Bug 1254824 - Stop filtering ignored mozAccessibles when creating native objects p2 r=surkov 2016-06-09 14:33:48 -07:00
Lorien Hu
12b9fceae9 Bug 1254824 - Stop filtering ignored mozAccessibles when creating native objects p1 r=surkov 2016-06-09 14:33:48 -07:00
Alexander Surkov
cfb8c639d1 Bug 1278294 - add tree logging for single content insertion, part5, r=yzen 2016-06-08 13:51:47 -04:00
Alexander Surkov
caf3e3023c Bug 1278294 - make all other tree loggings to log document address, part4, r=yzen 2016-06-08 13:45:22 -04:00
Alexander Surkov
fab3d8aff2 Bug 1278294 - text logging should log document address, part3, r=yzen 2016-06-08 11:39:28 -04:00
Marco Zehe
13bae14424 Bug 1278759 - Add tests to make sure accessibility tree is not affected by CSS flexbox markup, r=surkov
MozReview-Commit-ID: F7vq0Yfy9nU

--HG--
extra : rebase_source : 4bd2b69d54eb9508802234955b0080deeb41f08a
2016-06-08 14:08:39 +02:00
Alexander Surkov
a79ccd2084 Bug 1278294 - UpdateTreeOnRemoval should use logging::TreeInfo, part2, r=yzen 2016-06-08 07:33:06 -04:00
Wes Kocher
511408a877 Backed out changeset 452617569aeb (bug 1278294) for build bustage CLOSED TREE 2016-06-07 14:48:22 -07:00
Trevor Saunders
607fdf944b bug 1278392 - use std::unique_ptr for AccIterators r=froydnj 2016-06-07 17:36:44 -04:00
Alexander Surkov
7a5475e4a8 Bug 1278294 - UpdateTreeOnRemoval should use logging::TreeInfo, part2, r=yzen 2016-06-07 17:21:59 -04:00
Alexander Surkov
c203395a1e Bug 1278294 - make TreeInfo to log document address, r=yzen 2016-06-07 17:20:12 -04:00
Yura Zenevich
5a89db3e36 Bug 1276972 - adding value and attributes caching tests. r=eeejay
MozReview-Commit-ID: BOXh17Ql1dW

--HG--
extra : rebase_source : 6e73b27072d50dbc25fd28172a0cb1027b01c431
2016-06-06 10:29:24 -04:00
Trevor Saunders
434092ec78 bug 1278004 - support QIing proxied accessibles to nsIAccessibleValue r=davidb 2016-06-07 14:18:08 -04:00
Trevor Saunders
0b06041a22 bug 1277959 - cleanup Interfaces enum r=davidb 2016-06-03 18:02:48 -04:00
Marco Zehe
194d876eb2 Bug 634004 - Implement accessibility API support for html:details and html:summary elements, r=surkov
This implements the roles, states, and action names, but omits the state change event part that is currently made impossible by us recreating the html:summary accessible once it toggles the html:details open state. This is probably due to some reframing causing us to recreate the accessible. Suggest to move that to a separate bug and implement the basics now and the event later.

MozReview-Commit-ID: FEi5RIXdkG0

--HG--
extra : rebase_source : 9b65bc28483238e2339561e6494ccc2884cb7c42
2016-06-01 17:07:56 +02:00
Alexander Surkov
80432e7d0a Bug 1276562 - Hang when inserting a bulleted or numbered list into a contentEditable, r=yzen 2016-05-31 14:46:31 -04:00
Yura Zenevich
22103a6f33 Bug 1275983 - adding relations caching tests. r=eeejay
MozReview-Commit-ID: 3cisZF54kp0
2016-05-27 23:20:04 -04:00
Yura Zenevich
21020ab218 Bug 1275983 - support proxies in xpcAccessible::GetRelationByType(). r=tbsaunde
MozReview-Commit-ID: 3cisZF54kp0
2016-05-27 23:18:40 -04:00
Yura Zenevich
df0f8263f8 Bug 1275938 - adding state caching tests. r=eeejay
MozReview-Commit-ID: 7OqJJr0lFvr

--HG--
extra : rebase_source : e2a8bca151ce93c482d733e6c0d856397ac880c4
2016-05-26 11:33:52 -04:00
Yura Zenevich
5abaa0a46f Bug 1275586 - adding description caching tests. r=eeejay
MozReview-Commit-ID: HFxjW74WnfK

--HG--
extra : rebase_source : 06edfd613a9547cc92084c0fe4b2f80a3aa1f8a8
2016-05-25 10:47:45 -04:00
Mats Palmgren
df2b4d3bdd Bug 1272012 - Tweak or disable a few tests for <select size=1> Up/Down key behavior on OSX. 2016-05-25 21:52:36 +02:00
Alexander Surkov
5cf0dfd35e Bug 1268069 - embeded object collection may be not updated on removals, r=yzen 2016-05-25 15:48:45 -04:00
Sebastian Hengst
1ebe7c3c5e Backed out changeset 5e25db36b720 (bug 1272012) 2016-05-25 18:19:43 +02:00
Yura Zenevich
54b7c996a0 Bug 1272491 - better names within browser/ a11y tests. r=tbsaunde
MozReview-Commit-ID: Iwin16xJzqJ
2016-05-25 12:01:46 -04:00
Yura Zenevich
7d43849773 Bug 1272491 - fire xpcom show/hide events with e10s. r=tbsaunde
MozReview-Commit-ID: 9nwyHJMdlwO
2016-05-25 12:01:35 -04:00
Mats Palmgren
b8472acaf5 Bug 1272012 - Tweak or disable a few tests for <select size=1> Up/Down key behavior on OSX. 2016-05-25 10:48:52 +02:00
Carsten "Tomcat" Book
baa01dd21c Backed out changeset 467b0d255265 (bug 1272012) 2016-05-25 13:21:32 +02:00
Mats Palmgren
cdc61249b6 Bug 1272012 - Tweak or disable a few tests for <select size=1> Up/Down key behavior on OSX. 2016-05-25 10:48:52 +02:00
Eric Skoglund
ebe3c8320b Bug 1031184 - Introduce a NativeDescription method to more easily customize accessible descriptions for various classes, r=MarcoZ
Implemented a NativeDescription method

--HG--
extra : rebase_source : f0129eaea0f183ab3f67963dfbb61141af670f64
2016-05-23 00:12:54 +02:00
Alexander Surkov
db7566fedf Bug 1268320 - stop event tree processing if the document goes shutdown, r=yzen 2016-05-19 14:35:20 -04:00
Alexander Surkov
16496b7d62 Bug 1268320 - rename AccEvent::GetDocAccessible to AccEvent::Document, r=marcoz 2016-05-19 13:56:58 -04:00
Alexander Surkov
59bfc9cc59 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
Marco Zehe
6d3d2e75ef Bug 1248415 - Improve screen reader accessibility of various Preference panes groupbox labeling, r=surkov
--HG--
extra : rebase_source : c7942e48cc199f5c38d4da08a2b688e1072550e3
2016-05-18 07:10:49 +02:00
Trevor Saunders
256fff4fc9 bug 1271436 - add nsIDocShell::GetCommandManager() r=smaug 2016-05-17 18:16:07 -04:00
Alexander Surkov
db0f2224b6 Bug 1273020 - add more assertions, r=njn 2016-05-17 14:11:42 -04:00
Nicholas Nethercote
c63787f910 Bug 1273020 - Add missing null checks in ApplicationAccessible. r=surkov.
--HG--
extra : rebase_source : f28ed60b77797d975290f2b45c242526df984364
2016-05-16 12:36:25 +10:00
Chris Peterson
8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Yura Zenevich
414632d8b4 Bug 1271776 - fire text inserted/removed instead of text change events with e10s. r=tbsaunde
MozReview-Commit-ID: hz61vYrmdK
2016-05-12 08:36:22 -04:00
Masayuki Nakano
3e4ceded8b Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
MozReview-Commit-ID: 5tC8UqcfLek

--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09:00
Marco Bonardo
06932c74d1 Bug 1223728 - Remove the unifiedcomplete pref, the urlinline component and stop bundling the old autocomplete component in Firefox. r=adw
MozReview-Commit-ID: Ee08mDGxBjJ

--HG--
extra : rebase_source : 4473da657f85e443e5095b43b3e774e85292ecd1
extra : amend_source : c9c322ebae255a24c28e6367b9fe93474db21d6d
2016-05-05 00:14:51 +02:00
Alexander Surkov
a24bc2972b Bug 1270218 - keep indexes in parent updated in-the-middle of insertions and removals, r=yzen 2016-05-05 10:42:00 -04:00
Alexander Surkov
76c26b7a63 Bug 1034978 - crash in text attributes computation, r=marcoz 2016-05-03 12:47:05 -04:00
Yura Zenevich
94c96f680f 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               |  53 +++
 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 |  71 ++++
 .../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 ++++
 .../tests/browser/doc_treeupdate_whitespace.html   |  10 +
 accessible/tests/browser/events.js                 | 100 +++++
 accessible/tests/browser/head.js                   | 297 ++++++++++++++
 accessible/tests/mochitest/common.js               |  41 +-
 38 files changed, 3176 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/doc_treeupdate_whitespace.html
 create mode 100644 accessible/tests/browser/events.js
 create mode 100644 accessible/tests/browser/head.js

--HG--
extra : rebase_source : c742ebc96467872847e0a82c6ff87b964fafb5b2
2016-05-02 11:09:28 -04:00
Alexander Surkov
fff94f82b2 Bug 1268677 - embedded object index might be not update, r=yzen 2016-05-02 15:55:35 -04:00
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
Trevor Saunders
1b3f09554d bug 1261144 - remove the AccCollector class r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
dacc371487 bug 1261144 - move the data members of AccCollector to EmbeddedObjCollector r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
524f71756a bug 1261144 - devirtualize AppendObject() because the base class impl is never called r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
f7b3348349 bug 1261144 - move EnsureNGetIndex() to EmbeddedObjCollector r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
603f72aeff bug 1261144 - move EnsureNGetObject to EmbeddedObjCollector r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
aba880c668 bug 1261144 - devirtualize GetIndexAt() because the base class version is never called r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
57ae90bd8b bug 1261144 - move GetAccessibleAt to EmbeddedObjCollector r=lsocks 2016-04-11 21:41:09 -04:00
Trevor Saunders
ddf532b5f7 bug 1261144 - move Count() from AccCollector to EmbeddedObjCollector r=lsocks 2016-04-11 21:41:09 -04:00
Alexander Surkov
79b3a94e0d Bug 1263188 - stop bleeding, r=yzen 2016-04-11 10:01:13 -04:00
Alexander Surkov
f34bc138b9 Bug 1261439 - replace nsAccUtils::IsEmbeddedObject on a bit flag check, r=marcoz 2016-04-08 08:35:11 -04:00
Trevor Saunders
d70fabf87e bug 1262980 - expose the table interface on proxies r=dbolter 2016-04-07 17:06:54 -04:00
Alexander Surkov
51947ead2c Bug 1261425 - coalesce mutation events by a tree structure, r=yzen 2016-04-07 09:30:22 -04:00
Sebastian Hengst
589be256a0 Backed out changeset 0a9ecb630db6 (bug 1234121) for Marionette-e10s crashes on Linux in test_accessibility.py TestAccessibility.test_click_raises_no_exceptions. r=backout on a CLOSED TREE 2016-04-07 14:17:13 +02:00
Sebastian Hengst
c77c3ae876 Backed out changeset 071d44d633ea (bug 1234121) 2016-04-07 14:15:41 +02:00
Lorien Hu
edd5ded287 Bug 1234121 - FocusManager focused proxy cleared on hide event (Part 2) r=tbsaunde 2016-04-07 04:18:15 -07:00
Lorien Hu
4c94b38c77 Bug 1234121 - Remove sync calls for FocusedChild (Part 1) r=tbsaunde 2016-01-10 17:11:51 -08:00
Chris Manchester
b26e0edde6 Bug 1242051 - Remove erroneous line in accessible/tests/mochitest/selectable/a11y.ini causing test failures when running locally. r=me
DONTBUILD

MozReview-Commit-ID: 2dFZmRfFswt
2016-04-06 08:52:03 -07:00
Alexander Surkov
41a839ff6b Bug 1261408 - detect ARIA owned children early to avoid tree moving, r=yzen 2016-04-06 07:58:58 -04:00
Alexander Surkov
ead73ecd57 Bug 1261177 - split GetOrCreateAccessible method into two (Get and Create versions), r=yzen 2016-04-06 07:23:41 -04:00
Alexander Surkov
62081fdb80 Bug 1261170 - add a single node ProcessContentInserted method version, r=yzen 2016-04-05 20:48:30 -04:00
Alexander Surkov
2cf5799f02 Bug 1261174 - more events logging, r=yzen 2016-04-05 18:39:55 -04:00
Alexander Surkov
c2cdfb8b81 Bug 1261167 - remove Accessible::TestChildCache, r=marcoz 2016-04-05 17:35:31 -04:00
Alexander Surkov
167cbebba2 Bug 1261165 - remove Accessible::ChildrenFlags, r=yzen 2016-04-05 17:34:00 -04:00
alexander
ddd1904862 Bug 1260862 - "remove Cache/EnsureChildren". r=mzehe 2016-03-30 12:53:00 +02:00
alexander
5ce933a8d2 Bug 1261377 - "With current child caching reorganization, NVDA is no longer able to render some content". r=mzehe 2016-04-01 09:39:00 +02:00
Chris Manchester
f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00