mediawiki-extensions-Visual.../modules/ve/test/ce/imetests/input-firefox-win-chinese-traditional-handwriting.js
David Chan b4f4eeb4b6 Event Logger: collect IME functionality info
ve/ce/SurfaceObserver.js
* Do not setTimeout if frequency === null

demos/ve/eventLogger.html
* Standalone event logging script

ve/test/ce/imetests/*.js
* JSON event logs for various tests/browsers/IMEs

ve/test/ce/ve.ce.test.js
* Add an IME test

VisualEditor.hooks.php
* Add test files

Change-Id: I50e89d5a289f3fcb4fe2a6835a2ec96fb497242c
2013-11-25 16:56:09 +00:00

17 lines
1 KiB
JavaScript

ve.ce.imetests.push( [ 'input-firefox-win-chinese-traditional-handwriting', [
/*jshint quotmark:double */
{"imeIdentifier":"Chinese Traditional Handwriting","userAgent":"Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19.0","startDom":""},
{"seq":0,"time":20.16,"action":"sendEvent","args":["compositionstart",{}]},
{"seq":1,"time":20.205,"action":"changeText","args":["中"]},
{"seq":2,"time":20.205,"action":"changeSel","args":[1,1]},
{"seq":3,"time":20.205,"action":"sendEvent","args":["compositionend",{}]},
{"seq":4,"time":20.209,"action":"sendEvent","args":["input",{}]},
{"seq":5,"time":20.217,"action":"endLoop","args":[]},
{"seq":6,"time":29.676,"action":"sendEvent","args":["compositionstart",{}]},
{"seq":7,"time":29.681,"action":"changeText","args":["中國"]},
{"seq":8,"time":29.681,"action":"changeSel","args":[2,2]},
{"seq":9,"time":29.681,"action":"sendEvent","args":["compositionend",{}]},
{"seq":10,"time":29.686,"action":"sendEvent","args":["input",{}]},
{"seq":11,"time":29.688,"action":"endLoop","args":[]}
] ] );