Closed Bug 1120519 Opened 11 years ago Closed 11 years ago

(CopyPasteTest) JS marionette test to control caret

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gduan, Assigned: gduan)

References

Details

Attachments

(1 file)

We should be able to control caret by js marionette.
Assignee: nobody → gduan
I will need to use SpecialPowers object of window when running marionette.
Although I can estimate and control the location of caret, there's still no way to send event to it since it live in shell not gaia.
Attached file PR to master
I finally find a way to tap on the caret by series of action and timer. waiting for the test.
Comment on attachment 8550215 [details] [review] PR to master Hi Alive, could I have your review on this patch? In this patch, I added a selection.js for better managing selection area and caret position. And also added a marionette test with that lib for shortcut case.
Attachment #8550215 - Flags: review?(alive)
Attachment #8550215 - Flags: review?(alive) → review+
Comment on attachment 8550215 [details] [review] PR to master Thanks Alive, I just added one more commit (I will squash if r+) 1. added method to move caret by word's position 2. added a new test case I think it's better to put it in the same bug. could I have your review again? Thanks.
Attachment #8550215 - Flags: review+ → review?(alive)
Comment on attachment 8550215 [details] [review] PR to master please squash your commits into one before merge
Attachment #8550215 - Flags: review?(alive) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: