Debian Codegraph @

extensions/VisualEditor/lib/ve/tests/ce/imetests/input-firefox-ubuntu-ibus-chinese-cantonese.js

raw symbols SCIP
1 /*!
2 * VisualEditor IME test for Firefox on Ubuntu in Cantonese Chinese using iBus.
3 *
4 * @copyright See AUTHORS.txt
5 */
6
7 ve.ce.imetests.push( [ 'input-firefox-ubuntu-ibus-chinese-cantonese', [
8 { imeIdentifier: 'ibus Chinese cantonese', userAgent: 'Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0) Gecko/20100101 Firefox/24.0', startDom: 'x' },
9 { seq: 0, time: 12.252, action: 'sendEvent', args: [ 'compositionstart', {} ] },
10 { seq: 1, time: 12.26, action: 'changeText', args: [ '唔' ] },
11 { seq: 2, time: 12.26, action: 'changeSel', args: [ 1, 1 ] },
12 { seq: 3, time: 12.26, action: 'sendEvent', args: [ 'input', {} ] },
13 { seq: 4, time: 12.302, action: 'endLoop', args: [] },
14 { seq: 5, time: 13.784, action: 'changeText', args: [ '<br>' ] },
15 { seq: 6, time: 13.784, action: 'changeSel', args: [ 0, 0 ] },
16 { seq: 7, time: 13.784, action: 'sendEvent', args: [ 'compositionend', {} ] },
17 { seq: 8, time: 13.794, action: 'sendEvent', args: [ 'input', {} ] },
18 { seq: 9, time: 13.798, action: 'sendEvent', args: [ 'compositionstart', {} ] },
19 { seq: 10, time: 13.802, action: 'changeText', args: [ '唔<br>' ] },
20 { seq: 11, time: 13.802, action: 'changeSel', args: [ 1, 1 ] },
21 { seq: 12, time: 13.802, action: 'sendEvent', args: [ 'compositionend', {} ] },
22 { seq: 13, time: 13.81, action: 'sendEvent', args: [ 'input', {} ] },
23 { seq: 14, time: 13.852, action: 'endLoop', args: [] },
24 { seq: 15, time: 24.071, action: 'sendEvent', args: [ 'compositionstart', {} ] },
25 { seq: 16, time: 24.079, action: 'changeText', args: [ '唔家<br>' ] },
26 { seq: 17, time: 24.079, action: 'changeSel', args: [ 2, 2 ] },
27 { seq: 18, time: 24.079, action: 'sendEvent', args: [ 'input', {} ] },
28 { seq: 19, time: 24.115, action: 'endLoop', args: [] },
29 { seq: 20, time: 24.464, action: 'changeText', args: [ '唔高<br>' ] },
30 { seq: 21, time: 24.464, action: 'sendEvent', args: [ 'input', {} ] },
31 { seq: 22, time: 24.491, action: 'endLoop', args: [] },
32 { seq: 23, time: 24.796, action: 'changeText', args: [ '唔改<br>' ] },
33 { seq: 24, time: 24.796, action: 'sendEvent', args: [ 'input', {} ] },
34 { seq: 25, time: 24.836, action: 'endLoop', args: [] },
35 { seq: 26, time: 26.862, action: 'changeText', args: [ '唔<br>' ] },
36 { seq: 27, time: 26.862, action: 'changeSel', args: [ 1, 1 ] },
37 { seq: 28, time: 26.862, action: 'sendEvent', args: [ 'compositionend', {} ] },
38 { seq: 29, time: 26.877, action: 'sendEvent', args: [ 'input', {} ] },
39 { seq: 30, time: 26.882, action: 'sendEvent', args: [ 'compositionstart', {} ] },
40 { seq: 31, time: 26.888, action: 'changeText', args: [ '唔該<br>' ] },
41 { seq: 32, time: 26.888, action: 'changeSel', args: [ 2, 2 ] },
42 { seq: 33, time: 26.888, action: 'sendEvent', args: [ 'compositionend', {} ] },
43 { seq: 34, time: 26.902, action: 'sendEvent', args: [ 'input', {} ] },
44 { seq: 35, time: 27.036, action: 'endLoop', args: [] }
45 ] ] );