Closed
Bug 722961
Opened 13 years ago
Closed 13 years ago
Make some tests for autocomplete with IME
Categories
(Toolkit :: Autocomplete, defect)
Toolkit
Autocomplete
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: masayuki, Assigned: masayuki)
References
(Blocks 1 open bug)
Details
(Keywords: inputmethod)
Attachments
(1 file, 1 obsolete file)
|
37.50 KB,
patch
|
m_kato
:
review+
|
Details | Diff | Splinter Review |
Like other IME tests, we should test the autocomplete behavior when user is using IME. Then, we can remove the tests for autocomplete of bug 717147.
| Assignee | ||
Comment 1•13 years ago
|
||
Oh, toolkit/content/tests/chrome/test_autocomplete_with_composition.xul might be better path.
Summary: Make some tests for autocomplete with IME in widget/tests → Make some tests for autocomplete with IME
| Assignee | ||
Comment 2•13 years ago
|
||
This tests both nsIAutoCompleteInput implementation, XUL <textbox type="autocomplete"> and nsFormFillController. Actual testing is in file_autocomplete_with_composition.js. test_autocomplete_with_composition_on_textbox.xul and test_autocomplete_with_composition_on_input.html use it.
This tests can be passed with the patch in bug 720659.
Attachment #593789 -
Flags: review?(gavin.sharp)
| Assignee | ||
Comment 3•13 years ago
|
||
The new tests can be passed without the fix of bug 720659.
I should add more tests but anyway the tests are useful for other cases.
| Assignee | ||
Comment 4•13 years ago
|
||
Comment on attachment 593789 [details] [diff] [review]
Patch
I'm going to attach new patch which has more tests.
Attachment #593789 -
Flags: review?(gavin.sharp)
| Assignee | ||
Comment 5•13 years ago
|
||
Attachment #593789 -
Attachment is obsolete: true
Attachment #603228 -
Flags: review?(gavin.sharp)
| Assignee | ||
Comment 6•13 years ago
|
||
gavin: ping
Comment 7•13 years ago
|
||
Is there anyone more familiar with IME available to review this? I'm not sure that I can usefully review it.
| Assignee | ||
Comment 8•13 years ago
|
||
(In reply to Gavin Sharp (use gavin@gavinsharp.com for email) from comment #7)
> Is there anyone more familiar with IME available to review this? I'm not
> sure that I can usefully review it.
For the IME behavior, Kato-san may be one of good reviewers. However, I'm not sure he is familiar with autocomplete.
Comment 9•13 years ago
|
||
Comment on attachment 603228 [details] [diff] [review]
Patch
I think he is likely to be a better reviewer than I am.
Kato-san, if you cannot review this you can re-direct it back to me.
Attachment #603228 -
Flags: review?(gavin.sharp) → review?(m_kato)
Comment 10•13 years ago
|
||
Comment on attachment 603228 [details] [diff] [review]
Patch
Review of attachment 603228 [details] [diff] [review]:
-----------------------------------------------------------------
good
::: toolkit/content/tests/chrome/test_autocomplete_with_composition_on_input.html
@@ +4,5 @@
> + <title>autocomplete with composition tests on HTML input element</title>
> + <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
> + <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
> + <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/ChromeUtils.js"></script>
> + <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/ChromeUtils.js"></script>
twice ChromeUtils.js?
Attachment #603228 -
Flags: review?(m_kato) → review+
| Assignee | ||
Comment 11•13 years ago
|
||
Comment 12•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
You need to log in
before you can comment on or make changes to this bug.
Description
•