Commit Graph

740 Commits

Author SHA1 Message Date
Ted Clancy
3ddc80c508 Bug 1164693 - Part 1: Directional caret should point in caret direction in bidi paragraphs. r=smontagu 2015-06-05 21:44:54 -04:00
Ms2ger
a2e1435a44 Bug 1172536 - Stop using for each loops in layout; r=roc
These are SpiderMonkey-proprietary legacy feature which has been deprecated
and is expected to be removed in due course.

This commit also fixes a number of bugs in test_bug708874.xul. In particular,
because of the semicolon after the for head, the (alleged) loop body was only
executed for the final element of the array ({}), and because each of the
functions under test threw an exception, only the first call was executed.

I do not know of a way to test the changes in frame-verify.js, so I can't
guarantee they actually work.
2015-06-20 09:16:51 +02:00
Maksim Lebedev
c34a4b75cb Bug 1162990 - Add test for check pointerleave event behavior. r=smaug 2015-06-17 01:54:00 -04:00
Andrew Comminos
3fe1d2d38a Bug 1171972 - Don't expect scrollbar buttons on GTK themes. r=karlt 2015-06-05 09:34:00 -04:00
Ted Clancy
444d9b2f03 Bug 1067788 - part 3: Fix timeouts in test_reftests_with_caret.html. r=ehsan 2015-05-28 10:56:59 -04:00
Ting-Yu Lin
593c41d3dd Bug 1164233 - Enlarge the timeout margin from 1.5x to 3x. r=mtseng 2015-05-13 19:36:00 +08:00
John Daggett
337f09b44d Bug 1056479 p5 - fixup printpreview test. r=jfkthame 2015-05-13 14:11:26 +09:00
Ting-Yu Lin
a53683721f Bug 1163490 - Remove SpecialPowers from marionette carets test. r=jgriffin 2015-05-11 02:17:00 +08:00
Carsten "Tomcat" Book
e550594f22 Backed out changeset 51287191cc06 (bug 1056479) 2015-05-12 12:20:53 +02:00
John Daggett
15d457180c Bug 1056479 p5 - fixup printpreview test. r=jfkthame 2015-05-12 17:44:26 +09:00
Ting-Yu Lin
97269d63c3 Bug 1110039 - Part 5 - Reuse marionette tests for AccessibleCaret. r=roc
AccessibleCaret should behave like TouchCaret and SelectionCarets. I
refactor the setUp() to support both the old and new preferences.

Rename test_selectioncarets_multiplerange.py to test_selectioncarets2.py
since it now contains more than just multirange tests.

_test_handle_tilt_when_carets_overlap_to_each_other() is modified
because AccessibleCaret does not inflate the caret hit rectangle as
TouchCaret/SelectionCarets did. The point for tilt caret edges need to
shrink a bit.

In test_touchcaret.py, instead of setting _large_expiration_time, I just
disable caret timeout by default for every test. For those timeout
tests, use one second timeout to reduce test running time, and allow
1.5x margin to prevent intermittent failures.

Refine test case that move touch caret to front by using the real
position at the front rather than (0, 0).

Use skip_if_not_rotatable decorator for better log message.
2015-05-07 07:55:00 +02:00
Carsten "Tomcat" Book
1dea6c6eeb Backed out 10 changesets (bug 1056479) for bustage on a CLOSED TREE
Backed out changeset d5b1f2b78915 (bug 1056479)
Backed out changeset bcc65b714dd6 (bug 1056479)
Backed out changeset 0b35e8a463d2 (bug 1056479)
Backed out changeset 0933391809c9 (bug 1056479)
Backed out changeset 93bd67204fac (bug 1056479)
Backed out changeset 5260b93eb0b9 (bug 1056479)
Backed out changeset 130bea3f8623 (bug 1056479)
Backed out changeset 408e078cc18d (bug 1056479)
Backed out changeset a651c240979d (bug 1056479)
Backed out changeset d74ae8fcaac9 (bug 1056479)
2015-05-12 08:25:19 +02:00
John Daggett
7a56d47852 Bug 1056479 p5 - fixup printpreview test. r=jfkthame 2015-05-12 14:51:17 +09:00
Ehsan Akhgari
0d96a01e8e Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan 2015-05-08 22:45:16 -04:00
Ehsan Akhgari
97fbfcfe3b Bug 1137544 - Make a couple of tests more robust 2015-05-03 23:08:08 -04:00
Kartikaya Gupta
05d5dd9734 Back out cset 17aad8f83237 (bug 1154499) now that we have a nightly with APZ enabled. r=me a=me 2015-04-22 09:36:25 -04:00
Wes Kocher
7d10c7b370 Merge inbound to m-c a=merge 2015-04-21 15:23:57 -07:00
Wes Kocher
ca3636e2e3 Merge fx-team to m-c a=merge 2015-04-21 15:15:48 -07:00
David Anderson
5b1fe423b2 Enable APZ for E10S on Windows for one Nightly. This patch will be backed out after one nightly. (bug 1154459, r=kats, a=ryanvm) 2015-04-21 15:35:19 -04:00
Seth Fowler
6924a75d55 Bug 1145439 (Part 2) - Make test_scroll_event_ordering.html wait for rAF to unthrottle. r=roc 2015-04-21 09:44:43 -07:00
Maksim Lebedev
151bffd694 Bug 1153130 - Add test for prevent FireFox crashes when pointer events are enabled. r=smaug 2015-04-17 03:06:00 +02:00
Phil Ringnalda
afbd405312 Backed out changeset ffde08dc5ceb (bug 1154459) for bustage
CLOSED TREE
2015-04-19 08:19:14 -07:00
David Anderson
b5aae329b5 Enable APZ for E10S on Windows for one nightly build. (bug 1154459, r=kats) 2015-04-17 11:49:55 -04:00
Ehsan Akhgari
179551eebd Bug 956530 follow-up: Fix the test failure on Windows 8 caused by the text box having a glowing outline as a result of being clicked on
Landed on a CLOSED TREE
2015-04-14 10:54:00 -04:00
Ms2ger
2aad41dbe8 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Ehsan Akhgari
3ca164861a Bug 956530 - Clear the delayed caret data when clicking on a selected part of a text control if the focus event handler selects the control; r=roc 2015-04-14 08:29:11 -04:00
Kearwood (Kip) Gilbert
00e03c37c2 Bug 1148219 - Improve reliability of the test_scroll_snapping.html mochitest. r=roc
- The test_scroll_snapping.html mochitest now waits up to 30 frames for
  scrolling to start before giving up and reporting a failure.
2015-04-06 13:32:00 +02:00
Jeremy Chen
5b9ceb29c3 Bug 1140625 - Part 4: Fix scroll_selection_into_view test to make its function remain. r=roc 2015-03-24 01:21:00 -04:00
Kearwood Gilbert
f60bf7698a Bug 969250 - Part 2: Tests for scroll snapping for scrollbars (v2 Patch), r=roc relanding on a CLOSED TREE 2014-02-17 15:47:29 +13:00
Wes Kocher
cad55266a2 Backed out 2 changesets (bug 969250) on the other theory that it broke lots of tests, forcing a prolonged CLOSED TREE
Backed out changeset 3c1005c81e52 (bug 969250)
Backed out changeset 3ed9d5170d13 (bug 969250)
2015-03-25 14:46:47 -07:00
Kearwood Gilbert
823b93a145 Bug 969250 - Part 2: Tests for scroll snapping for scrollbars (v2 Patch), r=roc 2014-02-17 15:47:29 +13:00
Ehsan Akhgari
0ad9c6146e Bug 1142360 - Move the mochitests for bugs 441782, 467672 and 570378 to the reftest framework; r=dbaron
This will help fix an intermittent test failure as explained in bug
1142360 comment 301.  It also has the additional benefit of making
things faster overall, since the reflows of the huge mochitest test
runner page every time the bidi.numeral pref changes are very expensive,
and such overhead doesn't exist in the reftest framework.
2015-03-21 12:37:01 -04:00
80ccf309d8 Bug 1120705 - Part 2: Tests (v2 Patch), r=roc
- Ensure that the scrollbar button scrolling is limited
  by the page size, to maintain context when scrolling
  small scroll frames.
2015-03-18 18:36:00 +01:00
Ting-Yu Lin
8e02540a79 Bug 1140238 - Part 1: Add a test to drag first caret over non-selectable. r=automatedtester
The original test had dragged the second SelectionCaret over
non-selectable elements. After that, we should further drag the first
SelectionCaret over non-selectable elements, and confirm that the
selection ranges are correct.
2015-03-10 20:40:00 -04:00
L. David Baron
5654c2e566 Bug 1142360 - Make bidi_numeral_test.js use assertSnapshots rather than using compareSnapshots directly so that it dumps images on failure. r=ehsan
Note that this adds a parameter to the callback function so that we can
keep track of which canvas is for the test and which is for the
reference; previously we didn't care.

It also puts testfile and reffile in local variables so that they can be
reused, and then appends the extra bidi numeral information to reffile
when calling assertSnapshots so that the messages contain the same (or
more) data as before.
2015-03-13 22:24:10 -07:00
Jonathan Griffin
8873726f67 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Carsten "Tomcat" Book
2c24f80da6 Backed out changeset 2550379cff3c (bug 969250) 2015-03-11 10:33:01 +01:00
Kearwood Gilbert
cad62e7b5b Bug 969250 - Part 2: Tests for scroll snapping for scrollbars. r=roc 2014-02-17 15:47:29 +13:00
Ehsan Akhgari
09c0fc5c26 Bug 922977 - Request a longer timeout when running test_reftests_with_caret.html 2015-03-10 12:55:30 -04:00
Miranda Emery
b8d24ab41f Bug 945584: Part 9 - Tests for scroll snapping (v4 Patch) r=roc 2014-02-04 14:54:23 +13:00
Ehsan Akhgari
9a96471db6 Bug 1097242 - Make sure contenteditable -moz-user-select styles can be overridden by web pages; r=dbaron 2015-03-05 09:55:37 -05:00
Ehsan Akhgari
219657b6df Bug 1127140 - Run the tests for bug 989012 with the touch caret disabled 2015-03-05 09:53:22 -05:00
Jeremy Chen
4a389990e3 Bug 1138839 - Part2 - Fix naming issue in marionette test for selection carets. r=automatedtester 2015-03-03 02:03:00 +01:00
Jeremy Chen
8ab9ba113d Bug 1138839 - Part1 - Marionette test for selecting text inside an iframe. r=automatedtester 2015-03-03 01:58:00 +01:00
Chris Manchester
a198da353d Bug 1109183 - Fix imports of the marionette client and remove spurious entry from sys.path provided by mach. r=ahal 2015-03-03 17:37:19 -08:00
Anish
faaa00a85c Bug 1135091 - convert remaining SpecialPowers.setBoolPref to pushPrefEnv, p=anishchandran94@gmail.com, r=jmaher, mwargers 2015-03-03 08:46:35 -05:00
Jeremy Chen
566a038c7a Bug 1136567 - Marionette test for selection carets' positions after changing orientation of device. r=Automatedtester 2015-03-01 22:45:00 +01:00
Ehsan Akhgari
e5ee1daeb8 Attempt to fix bug 1137717 by focusing the test frame 2015-03-02 16:06:08 -05:00
Ehsan Akhgari
0886b2b1e0 Bug 1132768 - Consider non-editable regions in contenteditable elements as user-select:all even if the editable region doesn't have the focus; r=roc 2015-02-26 09:18:27 -05:00
Anish Chandran
a70bbfb75a Bug 1135383 - Convert Marionette unit tests to use SpecialPowers.pushPrefEnv. r=jmaher, r=mwargers 2015-02-25 19:31:36 +01:00