Commit Graph

88 Commits

Author SHA1 Message Date
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
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
Yura Zenevich
c3bf1b28ff Bug 1087608 - ensuring multitap gestures do not resolve to explore. r=eeejay
MozReview-Commit-ID: 9CZm709gGMC
2016-03-30 11:56:14 -04:00
J. Ryan Stinnett
a6d2c487b5 Bug 1238160 - Set tab context's isolation from frame attr. r=smaug
Renames existing nsFrameLoader::OwnerIsBrowser* methods to add "Moz" prefix for
clarity.

Adds nsFrameLoader::OwnerIsIsolatedMozBrowserFrame which checks the noisolation
attribute of mozbrowser frames, if present.

This is used to set isolation in nsFrameLoader::GetNewTabContext only when true.

MozReview-Commit-ID: Dz02xBoKh1P
2016-03-02 10:35:56 -06:00
Eitan Isaacson
613e31f413 Bug 1238368 - Re-introduce workaround for Android tap gesture. r=yzen
MozReview-Commit-ID: 6yfX4PDbnF3
2016-02-15 06:21:12 -08:00
Yura Zenevich
aa6aa35b56 Bug 1087608 - eliminating a pref observer leak and fixing test timeout overflow that cause intermittents. r=eeejay 2016-01-28 13:00:45 -05:00
Till Schneidereit
5dec54d943 Bug 1101817 - Part 1: Remove usages of WeakMap.prototype.clear from Gecko. r=yzen,mak,yoric,gijs,jlongster
--HG--
extra : rebase_source : ef9f83be96af75ee25f8e9fb90ce2b84ab3689bd
2016-01-04 13:06:50 +01:00
Trevor Saunders
3dd3759899 bug 1213402 - separate value change events into text value changes and numeric value changes r=davidb
Arguably these are different things, and it will be easier to proxy events for
atk this way because atk only wants the numeric value changes.
2015-11-10 15:55:08 -05:00
Justin Obara
d8a59a9eeb Bug 1169019 - Removed screenreader announcement from gecko. r=yzen 2015-11-08 21:24:41 -08:00
Yura Zenevich
b03320ca91 Bug 1220860 - fixing an error with getting documentElement on AccessFu stop. r=eeejay 2015-11-02 15:28:53 -08:00
Tooru Fujisawa
38a0e6918a Bug 1217038 - Remove for-each and legacy array comprehension from accessible/. r=yzen
--HG--
extra : commitid : DTBUPm8NCs3
2015-10-18 23:21:31 +09:00
Yura Zenevich
709f9eb640 Bug 1211122 - ensuring that we check position against an actual doc/dialog on doc load event. r=marcoz 2015-10-16 09:39:30 -04:00
Yura Zenevich
b074ad4db9 Bug 1212528 - ensuring first seen document in ancestry is announced first. r=marcoz 2015-10-15 16:42:33 -04:00
Eitan Isaacson
8e6e82af8d Bug 1214398 - Add highlight box to doc body if it is available and set z-index. r=yzen 2015-10-13 14:03:00 +02:00
Kevin Grandon
d176e0d847 Bug 1204965 - Graphene support. Merge larch into mozilla-central. r=fabrice r=glandium 2015-09-30 23:49:00 +02:00
Eitan Isaacson
73c5918430 Bug 1209054 - Make 2 finger tap toggle pause speech. r=yzen 2015-09-29 14:37:11 -04:00
Eitan Isaacson
be5c1b2046 Bug 1182311 - Make 3 finger triple tap more reliable. r=yzen 2015-09-29 14:37:11 -04:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Eitan Isaacson
93caf7a23f Bug 1203697 - Add braille navigation. r=yzen r=mfinkle 2015-09-14 23:34:30 -07:00
Eitan Isaacson
a2240f17d1 Bug 1182214 - Follow-up to fix Presentation.displayedAccessibles getter. r=me CLOSED TREE 2015-09-14 13:34:26 -07:00
Eitan Isaacson
bfdf59d692 Bug 1182214 - Update highlight rect as you scroll. r=yzen 2015-09-14 10:52:43 -07:00
Eitan Isaacson
95147a7039 Bug 1182222 - Make Layerview support accessibility HTML navigation. r=yzen r=mfinkle 2015-09-14 10:52:43 -07:00
Eitan Isaacson
64ab2ee765 Bug 1203283 - Introduce Android "Control" traversal rule. r=yzen 2015-09-14 10:52:43 -07:00
Eitan Isaacson
29a74fb99d Bug 1019432 - [AccessFu] Only capture explore by touch events in Android. r=yzen 2015-09-10 13:56:53 -07:00
Eitan Isaacson
76e27d8d68 Bug 1201146 - Introduce "Section" traversal rule. r=yzen 2015-09-04 10:04:19 -07:00
Eitan Isaacson
af27c436af Bug 1200836 - Land on first atomic object in container traversal. r=yzen
--HG--
rename : accessible/jsat/TraversalRules.jsm => accessible/jsat/Traversal.jsm
2015-09-02 09:44:30 -07:00
Eitan Isaacson
17f9630967 Bug 1199884 - Keep match roles empty in BaseTraversalRules that don't provide roles. r=yzen 2015-08-31 09:45:02 -07:00
Eitan Isaacson
3aee5343dc Bug 1182208 - Add support for android scrolling and range accessibility actions. r=mfinkle r=yzen 2015-08-21 11:32:57 -07:00
Eitan Isaacson
0b342b3e00 Bug 1176292 - Send 'toggle-shade' control event to content on 3 finger triple tap. r=yzen 2015-07-30 17:25:08 -07:00
Frédéric Wang
dff89a06cc Bug 1163374 - Basic MathML Accessibility support in AccessFu. r=yzen
--HG--
extra : rebase_source : bd7f417fb9096efdf0b1d094f78643ad4ccbd2e6
2015-07-13 11:53:00 +02:00
Carsten "Tomcat" Book
d91bdb1107 Backed out changeset a1c5b634d9bd (bug 1163374)
--HG--
extra : rebase_source : 621812e06ee3f9c61e422522f802acbc53dc90e8
2015-07-21 10:27:21 +02:00
Frédéric Wang
697fd30045 Bug 1163374 - Basic MathML Accessibility support in AccessFu. r=yzen 2015-07-13 11:53:00 +02:00
Yura Zenevich
65f102910e 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
Yura Zenevich
bc1efeb0e0 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
Eitan Isaacson
b60a45cbf7 Bug 1144516 - Remove offset of mozbrowser iframe. r=yzen 2015-05-26 10:13:17 -07:00
Ross Ziegler
f18bd05cf5 Bug 1152454 - Made liveregions responsive to name/value change events. r=yzen
---
 accessible/jsat/EventManager.jsm                         | 12 ++++++++++++
 accessible/jsat/Presentation.jsm                         | 10 ++++++----
 .../tests/mochitest/jsat/doc_content_integration.html    | 15 +++++++++++++++
 accessible/tests/mochitest/jsat/jsatcommon.js            |  2 +-
 .../tests/mochitest/jsat/test_content_integration.html   | 16 +++++++++++++---
 5 files changed, 47 insertions(+), 8 deletions(-)
2015-04-21 17:06:18 -04:00
Botond Ballo
d78faff72e Bug 1139675 - Update JS callers of nsIDOMWindowUtils.setResolution and getResolution in accessibility code. r=yzen
--HG--
extra : rebase_source : 18d7bf41512f410f3a4ff70b2f88d05f2a4842c9
extra : source : daa3e0425813a9207e0bd17cb203501102fe80f5
2015-03-06 17:14:18 -05:00
Yura Zenevich
ec2fb52019 Bug 1136241 - making sure that hint/role strings are returned with no spaces to support localization. r=eeejay
---
 accessible/jsat/OutputGenerator.jsm             | 2 +-
 accessible/jsat/Utils.jsm                       | 3 ++-
 accessible/tests/mochitest/jsat/test_hints.html | 4 ++++
 3 files changed, 7 insertions(+), 2 deletions(-)
2015-02-25 16:33:34 -05:00
Max Li
c244052c0b Bug 1122857 - form controls fail to emit TYPE_VIEW_CLICKED events upon state change. r=eeejay
--HG--
extra : rebase_source : 7c9e940f3cceca9eb2cc83c0c2c4cf2fe6a21a0c
2015-02-20 12:38:50 -05:00
Yura Zenevich
c9eb8bea8b Bug 1129955 - added support for accessible name changes in AccessFu. r=eeejay
---
 accessible/jsat/EventManager.jsm                   |  8 ++++++++
 accessible/jsat/Presentation.jsm                   | 21 ++++++++++++++++++++
 .../mochitest/jsat/doc_content_integration.html    |  5 +++++
 accessible/tests/mochitest/jsat/jsatcommon.js      |  9 +++++++++
 .../mochitest/jsat/test_content_integration.html   | 23 +++++++++++++++++++---
 5 files changed, 63 insertions(+), 3 deletions(-)
2015-02-05 14:06:53 -05:00
Eitan Isaacson
ef4857a6f0 Bug 1124982 - [AccessFu] Use correct symbols for keycodes in ContentControl.adjustRange(). r=yzen 2015-01-24 17:33:45 -08:00
Yura Zenevich
cd9e52e4dd Bug 1000295 - added elements with role='status' to traversal rules. r=eeejay
---
 accessible/jsat/TraversalRules.jsm                  |  4 +++-
 accessible/tests/mochitest/jsat/doc_traversal.html  |  2 ++
 accessible/tests/mochitest/jsat/test_output.html    | 13 +++++++++++++
 accessible/tests/mochitest/jsat/test_traversal.html |  2 +-
 4 files changed, 19 insertions(+), 2 deletions(-)
2015-01-24 01:21:20 -05:00
Eitan Isaacson
cb6bd63ce4 Bug 1105475 - Make sendChromeEvent work with Mulet. r=yzen 2014-12-01 09:27:46 -08:00
Eitan Isaacson
2b377909b2 Bug 1104400 - Get all message managers in Mulet setup. r=yzen 2014-11-26 13:05:23 -08:00
Yura Zenevich
90136e9047 Bug 1069574 - [AccessFu] added support for interaction hints in B2G. r=eeejay
---
 accessible/jsat/Presentation.jsm                |  3 +-
 accessible/jsat/Utils.jsm                       | 19 ++++++
 accessible/tests/mochitest/jsat/a11y.ini        |  1 +
 accessible/tests/mochitest/jsat/output.js       | 13 ++++
 accessible/tests/mochitest/jsat/test_hints.html | 85 +++++++++++++++++++++++++
 5 files changed, 120 insertions(+), 1 deletion(-)
 create mode 100644 accessible/tests/mochitest/jsat/test_hints.html
2014-11-20 10:00:05 -05:00
Frédéric Wang
7e49e58515 Bug 919279 - Send Accessibility:Event to indicate when the user wants to exit the view. r=eitan 2014-11-13 10:58:00 +01:00
Max Li
8e22c191b1 Bug 1071777 - Send a context menu event on braille long press. r=eeejay 2014-11-09 16:37:16 -08:00
Max Li
1c013f94e5 Bug 1011886 - [AccessFu] Introduce key echo by character, word, and character and word. r=eeejay 2014-10-31 08:48:21 -07:00
Yura Zenevich
dad47aa61f Bug 1069588 - reporting value of the combobox, excluding subtree from combobox output. r=eeejay
---
 accessible/jsat/OutputGenerator.jsm              |  3 +-
 accessible/tests/mochitest/jsat/test_output.html | 41 ++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 2 deletions(-)
2014-10-22 00:39:49 -04:00