| OLD | NEW |
| (Empty) |
| 1 This tests confirmComposition() of InputMethodContext. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 PASS context instanceof InputMethodContext is true | |
| 7 Check if composition text 'abcd' is committed properly. | |
| 8 PASS compositionstart fired | |
| 9 PASS compositionend fired | |
| 10 PASS event.type is "compositionend" | |
| 11 PASS event.data is "abcd" | |
| 12 PASS textInput fired | |
| 13 PASS event.type is "textInput" | |
| 14 PASS event.data is "abcd" | |
| 15 PASS test.value is "abcd" | |
| 16 Check if no compositionend event will occur when composition is empty. | |
| 17 PASS test.value is "abcd" | |
| 18 Check if composition text 'efgh' is committed properly, and appended to the inpu
t field's value. | |
| 19 PASS compositionstart fired | |
| 20 PASS compositionend fired | |
| 21 PASS event.type is "compositionend" | |
| 22 PASS event.data is "efgh" | |
| 23 PASS textInput fired | |
| 24 PASS event.type is "textInput" | |
| 25 PASS event.data is "efgh" | |
| 26 PASS test.value is "abcdefgh" | |
| 27 Check if confirmComposition on non-focused element doesn't affect the focused ed
itor. | |
| 28 PASS compositionstart fired | |
| 29 PASS compositionend fired | |
| 30 PASS event.type is "compositionend" | |
| 31 PASS event.data is "" | |
| 32 PASS test.value is "abcdefgh" | |
| 33 PASS successfullyParsed is true | |
| 34 | |
| 35 TEST COMPLETE | |
| 36 | |
| OLD | NEW |