Commit Graph

3510 Commits

Author SHA1 Message Date
Yura Zenevich
99b3c87699 Bug 981015 - added a number of improvements to make the TouchAdapter(now called PointerAdapter) more reliable. Fixed and updated tests for stability. r=eeejay, marcoz
---
 accessible/src/jsat/AccessFu.jsm                   |   9 +-
 accessible/src/jsat/Gestures.jsm                   | 948 +++++++++++++++++++++
 accessible/src/jsat/PointerAdapter.jsm             | 210 +++++
 accessible/src/jsat/TouchAdapter.jsm               | 431 ----------
 accessible/src/jsat/Utils.jsm                      |  10 +
 accessible/src/jsat/moz.build                      |   3 +-
 accessible/tests/mochitest/jsat/a11y.ini           |   4 +-
 accessible/tests/mochitest/jsat/dom_helper.js      |  74 +-
 accessible/tests/mochitest/jsat/gestures.json      | 253 +++---
 ...ouch_adapter.html => test_gesture_tracker.html} |  42 +-
 .../tests/mochitest/jsat/test_pointer_relay.html   |  95 +++
 11 files changed, 1499 insertions(+), 580 deletions(-)
 create mode 100644 accessible/src/jsat/Gestures.jsm
 create mode 100644 accessible/src/jsat/PointerAdapter.jsm
 delete mode 100644 accessible/src/jsat/TouchAdapter.jsm
 rename accessible/tests/mochitest/jsat/{test_touch_adapter.html => test_gesture_tracker.html} (51%)
 create mode 100644 accessible/tests/mochitest/jsat/test_pointer_relay.html

--HG--
rename : accessible/tests/mochitest/jsat/test_touch_adapter.html => accessible/tests/mochitest/jsat/test_gesture_tracker.html
2014-04-11 10:30:37 -04:00
Alexander Surkov
9365e710d7 Bug 977668 - Firefox hangs on Facebook text entry when inline lookups pop up, r=jwei 2014-04-09 14:23:04 -04:00
Ryan VanderMeulen
6e9126439e Merge m-c to fx-team on a CLOSED TREE. 2014-04-04 15:06:31 -04:00
Marco Zehe
f31cf99608 Bug 989958 - Expose PRESSED state on a native button element and remove CHECKABLE state from toggle buttons, r=surkov, r=eeejay 2014-04-04 10:01:19 +02:00
Jim Chen
0d00aee3a9 Bug 989046 - b. Drop JSON.stringify when calling handleGeckoMessage; r=mfinkle 2014-04-04 12:33:50 -04:00
Masayuki Nakano
ff8b968574 Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug 2014-04-03 13:18:38 +09:00
Masayuki Nakano
01ad44156b Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Alexander Surkov
aa82ea6624 Bug 638465 - do not ignore inital documents, r=tbsaunde 2014-04-02 15:36:48 -04:00
Daniel Holbert
ff8c36d435 Bug 984786 part 2: Mark destructor as protected or private in two refcounted a11y classes, and mark one as MOZ_FINAL. r=tbsaunde 2014-04-01 17:21:24 -07:00
Eitan Isaacson
c35a090ee3 Bug 990150 - Give AccessFu content tests debug output. r=yzen 2014-04-01 13:46:02 -07:00
Jonathan Wei
758374b521 Bug 987871 - Enable flag to fix double event firing on checkbox toggle 2014-04-01 16:42:04 -04:00
Dragos Nicolae
f9d7a44aef Bug 989735 - Fixed warnings in accessible/src/generic. r=trev.saunders 2014-03-30 05:21:00 +02:00
Masayuki Nakano
bd6decd65b Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Jonathan Wei
f227dccf28 Bug 986054 - Fire name change event on XUL richlistitem when children change, r=surkov. 2014-03-31 10:30:46 -04:00
Wes Kocher
44412dc598 Unback out and reland changeset a1223ec7312a (bug 987026) because it wasn't at fault for the mochitest failures on a CLOSED TREE 2014-03-28 14:22:53 -07:00
Wes Kocher
91bedd5149 Backed out changeset f65515f94aab (bug 987026) for apparently breaking ASAN mochitests, causing this CLOSED TREE 2014-03-28 13:40:20 -07:00
Alexander Surkov
ffd308ad0c Bug 987026 - Crash when adopting a focused element [@ mozilla::a11y::FocusManager::ProcessDOMFocus], r=jwei 2014-03-26 16:17:15 -04:00
Jonathan Wei
59c2405488 Bug 844023 - Flag accessible group info for updating when tree mutates, r=tbsaunde. 2014-03-28 10:01:06 -04:00
Neil Rashbrook
d8a22dc73a Bug 514280 Remove concrete classes from interface maps r=bsmedberg 2014-03-28 08:40:13 +00:00
Ehsan Akhgari
5b9f45a1a5 Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Birunthan Mohanathas
cbaedea4c8 Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz 2014-03-25 11:36:49 -04:00
Eitan Isaacson
a739c5ac9d Bug 981363 - Wait or cursor to be cleared in tests. Some cleanup and improvements. r=yzen 2014-03-24 09:29:44 -07:00
Masatoshi Kimura
6ddc1da58c Bug 980307 - Remove DataContainerEvent dependency from accessibility. r=tbsaunde 2014-03-21 12:59:59 +09:00
Daniel Holbert
3edac283b7 Bug 985955: Add eStyleUnit_FlexFraction to list of ignored style units in accessibility code that checks text positioning properties. r=tbsaunde 2014-03-21 09:16:23 +08:00
Eitan Isaacson
5377e54271 Bug 985126 - Utter value change. r=yzen 2014-03-19 10:08:54 -07:00
Eitan Isaacson
d5f367f926 Bug 980522 - Move AccessFu:[Activate,MoveCaret,MoveByGranularity] to ContentControl.jsm. r=yzen 2014-03-19 00:38:26 -07:00
Eitan Isaacson
e4b1e38d0a Bug 980521 - Introduce content text tests. r=yzen 2014-03-19 00:38:25 -07:00
Masayuki Nakano
a7a5e56dd5 Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
Masayuki Nakano
1824709e52 Bug 981261 part.4 Move EventListenerFlags from mozilla::dom:: to mozilla:: r=smaug 2014-03-17 15:56:52 +09:00
Jonathan Wei
976a7cf7e1 Bug 743568 - Fire name change event when a XUL row's name changes, r=surkov. 2014-03-14 14:22:08 -04:00
Yura Zenevich
0467881d25 Bug 982326 - disabled touch adapter tests for intermitten failures. r=eeejay
---
 accessible/tests/mochitest/jsat/a11y.ini | 1 +
 1 file changed, 1 insertion(+)
2014-03-12 15:44:03 -04:00
Jonathan Wei
3e77e23c46 Bug 743568 - Fire name change event when a XUL row's name updates, r=tbsaunde. 2014-03-12 15:25:14 -04:00
Cameron McCormack
375b03ec84 Bug 982495 - Add missing "break" in test_coalescence.html. r=surkov 2014-03-12 11:44:59 -04:00
Yura Zenevich
60dee6120a Bug 976082 - added tests for Touch Adapter. r=eeejay
---
 accessible/tests/mochitest/jsat/a11y.ini           |   3 +
 accessible/tests/mochitest/jsat/dom_helper.js      | 157 +++++++++++++++++
 accessible/tests/mochitest/jsat/gestures.json      | 194 +++++++++++++++++++++
 accessible/tests/mochitest/jsat/jsatcommon.js      |  15 +-
 .../tests/mochitest/jsat/test_touch_adapter.html   |  66 +++++++
 5 files changed, 430 insertions(+), 5 deletions(-)
 create mode 100644 accessible/tests/mochitest/jsat/dom_helper.js
 create mode 100644 accessible/tests/mochitest/jsat/gestures.json
 create mode 100644 accessible/tests/mochitest/jsat/test_touch_adapter.html
2014-03-10 23:33:58 -04:00
Alexander Surkov
5c1593aac7 Bug 980480 - hit testing and boundaries fail on retina displays, r=tbsaunde 2014-03-07 20:05:20 -05:00
Rik Cabanier
80e9bf65b1 Bug 979995 - Fix reference to non-existing element and re-enable test. r=surkov 2014-03-07 09:00:52 -05:00
Trevor Saunders
3739fec771 bug 977838 - move refify a11y::Relation r=surkov 2014-02-27 17:24:31 -05:00
Trevor Saunders
c1e0d102d4 bug 969532 - add TextRange stub r=davidb 2014-02-27 11:33:09 -05:00
Ehsan Akhgari
971c665e8a Bug 741295 - Part 0: Undo the windows.h damage in AccessibleWrap.h 2014-03-06 12:22:55 -05:00
Wes Kocher
ddba49d0f2 Merge m-c to inbound 2014-03-05 18:57:07 -08:00
Alexander Surkov
f5aef9e395 Bug 977170 - can't query IAccessible from HTML area element having ISimpleDOMNode pointer, r=tbsaunde 2014-03-05 19:36:56 -05:00
Wes Kocher
25f66de647 Backed out changeset e91a61089c37 (bug 976082) for linux debug m-oth permafails 2014-03-05 16:33:46 -08:00
Yura Zenevich
9c303859ec Bug 976082 - added tests for Touch Adapter. r=eeejay
---
 accessible/tests/mochitest/jsat/a11y.ini           |   3 +
 accessible/tests/mochitest/jsat/dom_helper.js      | 157 +++++++++++++++++++++
 accessible/tests/mochitest/jsat/gestures.json      | 132 +++++++++++++++++
 accessible/tests/mochitest/jsat/jsatcommon.js      |  15 +-
 .../tests/mochitest/jsat/test_touch_adapter.html   |  54 +++++++
 5 files changed, 356 insertions(+), 5 deletions(-)
 create mode 100644 accessible/tests/mochitest/jsat/dom_helper.js
 create mode 100644 accessible/tests/mochitest/jsat/gestures.json
 create mode 100644 accessible/tests/mochitest/jsat/test_touch_adapter.html
2014-03-05 16:45:29 -05:00
Gregory Szorc
6855aa46f4 Bug 979640 - Make build system error on missing test files; r=ted
Previously, the build system may silently missing test files defined in
manifests. This patch makes missing test files a fatal error, detected
when reading test manifests.

The test_bug872273.html XBL test appeared to be orphaned in
content/xbl/test. It has been reunited with its family.

dom/tests/mochitest/notification referenced a single test file which was
recently deleted. That manifest has been removed.

Missing test files related to the Python unit tests for the build system
have been added. (They are a bunch of empty files.)

--HG--
extra : amend_source : cb6b9bf91e57569c8be312d3c16fef69b2b0b950
2014-03-04 17:48:50 -08:00
Ryan VanderMeulen
31a858278a Backed out changeset 593206fbd97e (bug 979640) for mochitest-other failures.
CLOSED TREE
2014-03-05 13:52:02 -05:00
Gregory Szorc
1944284f31 Bug 979640 - Make build system error on missing test files; r=ted
Previously, the build system may silently missing test files defined in
manifests. This patch makes missing test files a fatal error, detected
when reading test manifests.

The test_bug872273.html XBL test appeared to be orphaned in
content/xbl/test. It has been reunited with its family.

dom/tests/mochitest/notification referenced a single test file which was
recently deleted. That manifest has been removed.

Missing test files related to the Python unit tests for the build system
have been added. (They are a bunch of empty files.)

--HG--
extra : rebase_source : 8c64986169064401951585c07deadada8c905550
2014-03-04 17:48:50 -08:00
Eitan Isaacson
05be99d38f Bug 976274 - Introduce hide support. r=yzen 2014-03-04 17:49:27 -08:00
Eitan Isaacson
1b35433cbc Bug 976271 - Add dialog tests to jsat suite. r=yzen 2014-03-04 17:49:27 -08:00
Eitan Isaacson
69b9dffd6c Bug 965537 - [AccessFu] Introduce ContentControl. r=yzen 2014-03-04 17:49:27 -08:00
Masayuki Nakano
d26caa0d74 Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00