mediawiki-extensions-Visual.../modules/ve/test/ce/imetests/input-chrome-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

13 lines
786 B
JavaScript

ve.ce.imetests.push( [ 'input-chrome-win-chinese-traditional-handwriting', [
/*jshint quotmark:double */
{"imeIdentifier":"Chinese Traditional Handwriting","userAgent":"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36","startDom":""},
{"seq":0,"time":8.491,"action":"changeText","args":["中"]},
{"seq":1,"time":8.491,"action":"changeSel","args":[1,1]},
{"seq":2,"time":8.491,"action":"sendEvent","args":["input",{}]},
{"seq":3,"time":8.536,"action":"endLoop","args":[]},
{"seq":4,"time":14.097,"action":"changeText","args":["中國"]},
{"seq":5,"time":14.097,"action":"changeSel","args":[2,2]},
{"seq":6,"time":14.097,"action":"sendEvent","args":["input",{}]},
{"seq":7,"time":14.112,"action":"endLoop","args":[]}
] ] );