Commit Graph

557 Commits

Author SHA1 Message Date
Ting-Yu Lin
16c27c8766 Bug 1019441 - Part 1: Add SelectionManager in marionette. r=mdas
* Extract those caret manipulating functions in test_touchcaret.py to
  selection.py, and generalize them for manipulating selection.
* Use SelectionManager in test_touchcaret.py.
* Remove unneeded </input> from test_touchcaret.html.
2014-06-11 03:02:00 -04:00
Ting-Yu Lin
0c30fcf209 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Enlarge touch caret expiration time to 60 seconds to avoid intermittent
test failures in test cases which need to move touch caret.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-11 02:48:00 -04:00
Ed Morley
196cd93457 Backed out changeset f6395f17c99f (bug 960897) for intermittent test failures 2014-06-10 18:03:30 +01:00
Ting-Yu Lin
047804b5f4 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-07 08:49:00 -04:00
Ed Morley
51a5e8d0e0 Merge mozilla-central and b2g-inbound 2014-06-06 19:12:21 +01:00
Ed Morley
0eb1c45071 Backed out changeset e982377e39a3 (bug 960897) since the new test_touchcaret.py intermittently fails 2014-06-06 18:14:43 +01:00
Ting-Yu Lin
ba201061d5 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-04 06:21:00 -04:00
Robert O'Callahan
f5c34109fd Bug 1005588. Fix getBoxQuads test to work when the feature prefs are disabled by default. r=matspal
--HG--
extra : rebase_source : fd13c824c8eb70e87c1926f1c8d1a6520203988d
2014-06-03 13:54:20 +12:00
Mats Palmgren
58a27e36b9 Bug 1007067 - Adding a reftest. r=smontagu 2014-05-29 15:15:14 +00:00
Gavin Sharp
595578ee3d Bug 881996 part 2. Remove now-unneeded workaround from printpreview_bug396024_helper.xul 2014-05-18 12:48:00 -07:00
Mats Palmgren
546eea50a2 Bug 1011163 - Remove the border which isn't essential for the test since it caused orange due to focus issues. r=me 2014-05-17 23:10:52 +00:00
Carsten "Tomcat" Book
ce3573f668 Merge mozilla-central to mozilla-inbound 2014-05-12 13:48:01 +02:00
Mats Palmgren
8eb6039ff7 Bug 1007065 - Don't apply the special -moz-hidden-unscrollable clipping on nsTextControlFrame since it always has an anonymous scroll frame that deals with overflow. r=roc 2014-05-12 11:45:27 +00:00
Henri Sivonen
6a6cd36d81 Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk. 2014-05-08 12:32:00 +03:00
Paolo Amadini
e611d38e81 Bug 856470 - Login Manager no longer requires initialization at startup. r=dolske 2013-09-14 20:24:00 +02:00
Ehsan Akhgari
2f8ba2e791 Bug 650586 - test_flush_on_paint.html needs to be explicit about its setTimeout requirements; r=roc 2014-05-06 21:21:20 -04:00
Markus Stange
5ddffeff89 Bug 1000875 - Improve test_fixed_bg_scrolling_repaints.html. r=roc 2014-05-05 10:23:41 +02:00
Dmitry Rozhkov
bf5bc9555a Bug 993936 - Make check for continuing session stricter. r=smaug 2014-04-24 13:21:56 +03:00
Aryeh Gregor
2c948ec408 Bug 923376 - Spellcheck all appended nodes, not just the first; r=ehsan 2014-04-06 17:56:08 +03:00
Mats Palmgren
f7f777c391 Bug 990340 - Use GetContentInsertionFrame() when searching for ::before/::after frames. r=bz 2014-04-23 22:52:43 +00:00
Oleg Romashin
7dd882ae9e Bug 968148 - Implement PointerCapture for pointer events. tests. r=smaug
--HG--
rename : layout/base/tests/test_bug582771.html => layout/base/tests/bug968148_inner.html
rename : dom/indexedDB/test/test_event_propagation.html => layout/base/tests/test_bug968148.html
extra : rebase_source : 723612a9487b7310daf56bfd0120f5ee971fe34e
2014-04-04 10:10:12 -07:00
Mark Hammond
cd2c8e6c5b Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Bill McCloskey
a8420df067 Bug 986691 - [e10s] Disable some layout tests (r=roc) 2014-03-28 11:25:11 -07:00
Robert O'Callahan
9b6f683504 Bug 918189. Part 2: Add tests for convertPoint/Rect/QuadFromNode. r=mats
--HG--
extra : rebase_source : e50c41da1a3cfc66f37e540b26fb8c9353ab5321
2013-09-20 22:22:11 +12:00
Robert O'Callahan
d30f7006c6 Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst
--HG--
extra : rebase_source : 2d01b350d84f220add776341a9cbcda5ace2ef01
2014-03-12 09:11:39 +08:00
Robert O'Callahan
04501d7edd Bug 917755. Part 6: Add tests for getBoxQuads. r=matspal
--HG--
extra : rebase_source : 2e49345a3035cdbe5e4d2ee7573f3c30da38da6a
2013-09-20 22:21:42 +12:00
Ryan VanderMeulen
355f83a308 Backed out 8 changesets (bug 917755) for bustage making inbound a CLOSED TREE.
Backed out changeset 98e31d225a5a (bug 917755)
Backed out changeset 43bceca43fb6 (bug 917755)
Backed out changeset 5117e3f594e7 (bug 917755)
Backed out changeset ada41f2f74b8 (bug 917755)
Backed out changeset 5272cfbd63f3 (bug 917755)
Backed out changeset f3bbd98021f7 (bug 917755)
Backed out changeset b049571a7cce (bug 917755)
Backed out changeset 472cb7738e14 (bug 917755)
2014-03-20 16:34:25 -04:00
Ryan VanderMeulen
4b007b082c Backed out changesets 716f942b5798, 48edbd324d0f, 3e6446f6d0e6 (bug 918189) for bustage. 2014-03-20 16:33:54 -04:00
Robert O'Callahan
201b14766b Bug 918189. Part 2: Add tests for convertPoint/Rect/QuadFromNode. r=mats 2013-09-20 22:22:11 +12:00
Robert O'Callahan
0518f069ab Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst 2014-03-12 09:11:39 +08:00
Robert O'Callahan
cb0ca90a5c Bug 917755. Part 6: Add tests for getBoxQuads. r=matspal 2013-09-20 22:21:42 +12:00
Carsten "Tomcat" Book
e1e727b8cc Backed out changeset 1b7530ddb0af (bug 917755) 2014-03-19 09:46:01 +01:00
Carsten "Tomcat" Book
174014df63 Backed out changeset e60fe593236d (bug 918189) 2014-03-19 09:45:57 +01:00
Carsten "Tomcat" Book
1a9bcfcc8e Backed out changeset 2f3187619c9e (bug 918189) 2014-03-19 09:45:48 +01:00
Robert O'Callahan
536ed13a33 Bug 918189. Part 2: Add tests for convertPoint/Rect/QuadFromNode. r=mats 2013-09-20 22:22:11 +12:00
Robert O'Callahan
0da1d0044c Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst 2014-03-12 09:11:39 +08:00
Robert O'Callahan
a4a2c7a113 Bug 917755. Part 6: Add tests for getBoxQuads. r=matspal 2013-09-20 22:21:42 +12:00
Bill McCloskey
aa5f40a77e Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
a3277d291d Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
f4f6bf8e4d Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Bill McCloskey
7193069fa0 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
69a746922b Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Vaibhav Agarwal
417b7f2e77 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-03-06 13:42:47 -05:00
Vaibhav Agarwal
9a59a5c96d Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Kearwood (Kip) Gilbert
607fa6edce Bug 687297 - Added Mochitest to verify that the per-presentation base minimum font size is propagated without being influenced by the language-specific global preference. r=dbaron
This test applies a large value to the font.minimum-size.ja preference, opens a new window, advances the url through an iso-8859-1 page, a Shift-JIS page, and back to an iso-8859-1 page.  If the height of a div containing text on the first iso-8859-1 page and last iso-8859-1 page do not match, then the test is failed.

This test has been excluded from B2G Desktop Client tests due to bug 948948.
2014-02-26 16:01:38 -08:00
Oleg Romashin
0f3424c689 Bug 977695 - Update bubbles/cancelable attribute for pointer events. r=smaug 2014-02-27 16:13:05 -08:00
Carsten "Tomcat" Book
4550825f00 Backed out changeset 1d16baf1f90a (bug 687297) 2014-02-27 10:21:29 +01:00
Kearwood (Kip) Gilbert
fe39b607a7 Bug 687297 - Added Mochitest to verify that the per-presentation base minimum font size is propagated without being influenced by the language-specific global preference. r=dbaron
This test applies a large value to the font.minimum-size.ja preference, opens a new window, advances the url through an iso-8859-1 page, a Shift-JIS page, and back to an iso-8859-1 page.  If the height of a div containing text on the first iso-8859-1 page and last iso-8859-1 page do not match, then the test is failed.
2014-02-26 23:00:13 -08:00
Oleg Romashin
c650e7620f Bug 974177 - PointerCancel must trigger PointerOut event. r=smaug
--HG--
extra : rebase_source : cd88e856cbae08f21aed564899195f9697053f3a
2014-02-26 13:37:30 -08:00
Oleg Romashin
31d70123f1 Bug 970964 - Get pointer events from touch and mouse. tests. r=smaug
--HG--
extra : rebase_source : a2856a27dc24f505297a52881b799282b09a3d47
2014-02-26 13:37:25 -08:00