Closed Bug 1215517 Opened 4 years ago Closed 4 years ago

Add tests for eSetSelection, eQueryTextContent and eQuerySelectedText

Categories

(Core :: User events and focus handling, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

(Keywords: inputmethod)

Attachments

(3 files, 2 obsolete files)

For rewriting ContentEventHandler in bug 1213589, we should add tests for detecting the regressions.
I checked some odd result with todo_is(). I'll file them if they won't be fixed by current my work.
Attachment #8675268 - Flags: review?(bugs)
Summary: Add tests for eSetSelection and eQueryTextContent → Add tests for eSetSelection, eQueryTextContent and eQuerySelectedText
Comment on attachment 8675268 [details] [diff] [review]
part.1 Add tests for eSetSelection event in rich text editor

rs+
Attachment #8675268 - Flags: review?(bugs) → review+
Attachment #8675269 - Flags: review?(bugs) → review+
Comment on attachment 8675502 [details] [diff] [review]
part.3 Test the result of eQuerySelectedText in runSetSelectionEventTest() for checking the behavior of ContentEventHandler::GetFlatTextOffsetOfRange()

rs+
Attachment #8675502 - Flags: review?(bugs) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/80d578836131322040a650a1a7672a4f84fa9a98
Bug 1215517 part.1 Add tests for eSetSelection event in rich text editor rs=smaug

https://hg.mozilla.org/integration/mozilla-inbound/rev/9f97448cf56a8f5fe758f9d0ab271d87fb4f3aa7
Bug 1215517 part.2 Add tests for eQueryTextContent event in rich text editor r=smaug

https://hg.mozilla.org/integration/mozilla-inbound/rev/4e79bfe043c8419874fff97657178408eb51ea63
Bug 1215517 part.3 Test the result of eQuerySelectedText in runSetSelectionEventTest() for checking the behavior of ContentEventHandler::GetFlatTextOffsetOfRange() rs=smaug
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.