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

15 lines
1 KiB
JavaScript

ve.ce.imetests.push( [ 'input-ie-win-chinese-traditional-handwriting', [
/*jshint quotmark:double */
{"imeIdentifier":"Chinese Traditional Handwriting","userAgent":"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET4.0C)","startDom":""},
{"seq":0,"time":33.748,"action":"sendEvent","args":["compositionstart",{}]},
{"seq":1,"time":33.752,"action":"changeText","args":["中"]},
{"seq":2,"time":33.752,"action":"changeSel","args":[1,1]},
{"seq":3,"time":33.752,"action":"sendEvent","args":["compositionend",{}]},
{"seq":4,"time":33.846,"action":"endLoop","args":[]},
{"seq":5,"time":49.047,"action":"sendEvent","args":["compositionstart",{}]},
{"seq":6,"time":49.049,"action":"changeText","args":["中國"]},
{"seq":7,"time":49.049,"action":"changeSel","args":[2,2]},
{"seq":8,"time":49.049,"action":"sendEvent","args":["compositionend",{}]},
{"seq":9,"time":49.091,"action":"endLoop","args":[]}
] ] );