Closed Bug 863739 Opened 7 years ago Closed 7 years ago

Add some text input selection related mochitests

Categories

(Firefox for Metro Graveyard :: Input, defect)

x86_64
Windows 8.1
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 23

People

(Reporter: jimm, Assigned: jimm)

References

Details

Attachments

(1 file)

No description provided.
General tests plus a test for bug 855417.
Attached patch tests v.1Splinter Review
Assignee: nobody → jmathies
Comment on attachment 740304 [details] [diff] [review]
tests v.1

A start in on this. Tests for basic selection of a word, scroll drag left/right, and a test for bug 862025.

The changes in head.js protect against run-ons in the drag helper in cases like this:

+    yield touchdrag.start(gWindow, xpos, ypos, xpos, ypos + 150);
+    yield waitForMs(2000);
+    touchdrag.end();

If end() is called before the series of steps is completed the callbacks stop as well.
Attachment #740304 - Flags: review?(rsilveira)
Comment on attachment 740304 [details] [diff] [review]
tests v.1

Review of attachment 740304 [details] [diff] [review]:
-----------------------------------------------------------------

Looks great!
Attachment #740304 - Flags: review?(rsilveira) → review+
https://hg.mozilla.org/mozilla-central/rev/21bfc7e0effd
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 23
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.