mediawiki-extensions-Visual.../modules/ve/test/ce/imetests/input-firefox-ubuntu-ibus-korean-korean.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

103 lines
6.8 KiB
JavaScript

ve.ce.imetests.push( [ 'input-firefox-ubuntu-ibus-korean-korean', [
/*jshint quotmark:double */
{"imeIdentifier":"ibus Korean Korean","userAgent":"Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0) Gecko/20100101 Firefox/24.0","startDom":""},
{"seq":0,"time":14.043,"action":"sendEvent","args":["compositionstart",{}]},
{"seq":1,"time":14.05,"action":"changeText","args":["ㅎ"]},
{"seq":2,"time":14.05,"action":"changeSel","args":[1,1]},
{"seq":3,"time":14.05,"action":"sendEvent","args":["input",{}]},
{"seq":4,"time":14.09,"action":"endLoop","args":[]},
{"seq":5,"time":14.424,"action":"changeText","args":["하"]},
{"seq":6,"time":14.424,"action":"sendEvent","args":["input",{}]},
{"seq":7,"time":14.435,"action":"endLoop","args":[]},
{"seq":8,"time":14.743,"action":"changeText","args":["한"]},
{"seq":9,"time":14.743,"action":"sendEvent","args":["input",{}]},
{"seq":10,"time":14.752,"action":"endLoop","args":[]},
{"seq":11,"time":15.381,"action":"sendEvent","args":["compositionend",{}]},
{"seq":12,"time":15.384,"action":"sendEvent","args":["input",{}]},
{"seq":13,"time":15.387,"action":"sendEvent","args":["compositionstart",{}]},
{"seq":14,"time":15.39,"action":"changeText","args":["한ㄱ"]},
{"seq":15,"time":15.39,"action":"changeSel","args":[2,2]},
{"seq":16,"time":15.39,"action":"sendEvent","args":["input",{}]},
{"seq":17,"time":15.406,"action":"endLoop","args":[]},
{"seq":18,"time":15.667,"action":"changeText","args":["한그"]},
{"seq":19,"time":15.667,"action":"sendEvent","args":["input",{}]},
{"seq":20,"time":15.675,"action":"endLoop","args":[]},
{"seq":21,"time":16.072,"action":"changeText","args":["한글"]},
{"seq":22,"time":16.072,"action":"sendEvent","args":["input",{}]},
{"seq":23,"time":16.085,"action":"endLoop","args":[]},
{"seq":24,"time":16.39,"action":"sendEvent","args":["compositionend",{}]},
{"seq":25,"time":16.394,"action":"sendEvent","args":["input",{}]},
{"seq":26,"time":16.4,"action":"sendEvent","args":["keydown",{"keyCode":32}]},
{"seq":27,"time":16.404,"action":"sendEvent","args":["keypress",{"keyCode":0}]},
{"seq":28,"time":16.411,"action":"changeText","args":["한글 <br>"]},
{"seq":29,"time":16.411,"action":"changeSel","args":[3,3]},
{"seq":30,"time":16.411,"action":"sendEvent","args":["input",{}]},
{"seq":31,"time":16.45,"action":"endLoop","args":[]},
{"seq":32,"time":16.51,"action":"sendEvent","args":["keyup",{"keyCode":32}]},
{"seq":33,"time":16.525,"action":"endLoop","args":[]},
{"seq":34,"time":16.837,"action":"sendEvent","args":["compositionstart",{}]},
{"seq":35,"time":16.844,"action":"changeText","args":["한글 ㅅ<br>"]},
{"seq":36,"time":16.844,"action":"changeSel","args":[4,4]},
{"seq":37,"time":16.844,"action":"sendEvent","args":["input",{}]},
{"seq":38,"time":16.875,"action":"endLoop","args":[]},
{"seq":39,"time":17.154,"action":"changeText","args":["한글 시<br>"]},
{"seq":40,"time":17.154,"action":"sendEvent","args":["input",{}]},
{"seq":41,"time":17.197,"action":"endLoop","args":[]},
{"seq":42,"time":17.461,"action":"changeText","args":["한글 싷<br>"]},
{"seq":43,"time":17.461,"action":"sendEvent","args":["input",{}]},
{"seq":44,"time":17.488,"action":"endLoop","args":[]},
{"seq":45,"time":17.728,"action":"changeText","args":["한글 시<br>"]},
{"seq":46,"time":17.728,"action":"sendEvent","args":["compositionend",{}]},
{"seq":47,"time":17.74,"action":"sendEvent","args":["input",{}]},
{"seq":48,"time":17.752,"action":"sendEvent","args":["compositionstart",{}]},
{"seq":49,"time":17.76,"action":"changeText","args":["한글 시허<br>"]},
{"seq":50,"time":17.76,"action":"changeSel","args":[5,5]},
{"seq":51,"time":17.76,"action":"sendEvent","args":["input",{}]},
{"seq":52,"time":17.8,"action":"endLoop","args":[]},
{"seq":53,"time":17.975,"action":"changeText","args":["한글 시험<br>"]},
{"seq":54,"time":17.975,"action":"sendEvent","args":["input",{}]},
{"seq":55,"time":18.004,"action":"endLoop","args":[]},
{"seq":56,"time":18.336,"action":"sendEvent","args":["compositionend",{}]},
{"seq":57,"time":18.344,"action":"sendEvent","args":["input",{}]},
{"seq":58,"time":18.352,"action":"sendEvent","args":["keydown",{"keyCode":32}]},
{"seq":59,"time":18.359,"action":"sendEvent","args":["keypress",{"keyCode":0}]},
{"seq":60,"time":18.367,"action":"changeText","args":["한글 시험 <br>"]},
{"seq":61,"time":18.367,"action":"changeSel","args":[6,6]},
{"seq":62,"time":18.367,"action":"sendEvent","args":["input",{}]},
{"seq":63,"time":18.404,"action":"endLoop","args":[]},
{"seq":64,"time":18.481,"action":"sendEvent","args":["keyup",{"keyCode":32}]},
{"seq":65,"time":18.494,"action":"endLoop","args":[]},
{"seq":66,"time":18.859,"action":"sendEvent","args":["compositionstart",{}]},
{"seq":67,"time":18.87,"action":"changeText","args":["한글 시험 ㅎ<br>"]},
{"seq":68,"time":18.87,"action":"changeSel","args":[7,7]},
{"seq":69,"time":18.87,"action":"sendEvent","args":["input",{}]},
{"seq":70,"time":18.909,"action":"endLoop","args":[]},
{"seq":71,"time":19.18,"action":"changeText","args":["한글 시험 하<br>"]},
{"seq":72,"time":19.18,"action":"sendEvent","args":["input",{}]},
{"seq":73,"time":19.212,"action":"endLoop","args":[]},
{"seq":74,"time":19.447,"action":"changeText","args":["한글 시험 합<br>"]},
{"seq":75,"time":19.447,"action":"sendEvent","args":["input",{}]},
{"seq":76,"time":19.479,"action":"endLoop","args":[]},
{"seq":77,"time":19.789,"action":"sendEvent","args":["compositionend",{}]},
{"seq":78,"time":19.798,"action":"sendEvent","args":["input",{}]},
{"seq":79,"time":19.808,"action":"sendEvent","args":["compositionstart",{}]},
{"seq":80,"time":19.817,"action":"changeText","args":["한글 시험 합ㄴ<br>"]},
{"seq":81,"time":19.817,"action":"changeSel","args":[8,8]},
{"seq":82,"time":19.817,"action":"sendEvent","args":["input",{}]},
{"seq":83,"time":19.864,"action":"endLoop","args":[]},
{"seq":84,"time":20.135,"action":"changeText","args":["한글 시험 합니<br>"]},
{"seq":85,"time":20.135,"action":"sendEvent","args":["input",{}]},
{"seq":86,"time":20.173,"action":"endLoop","args":[]},
{"seq":87,"time":20.495,"action":"changeText","args":["한글 시험 합닏<br>"]},
{"seq":88,"time":20.495,"action":"sendEvent","args":["input",{}]},
{"seq":89,"time":20.531,"action":"endLoop","args":[]},
{"seq":90,"time":20.817,"action":"changeText","args":["한글 시험 합니<br>"]},
{"seq":91,"time":20.817,"action":"sendEvent","args":["compositionend",{}]},
{"seq":92,"time":20.837,"action":"sendEvent","args":["input",{}]},
{"seq":93,"time":20.849,"action":"sendEvent","args":["compositionstart",{}]},
{"seq":94,"time":20.859,"action":"changeText","args":["한글 시험 합니다<br>"]},
{"seq":95,"time":20.859,"action":"changeSel","args":[9,9]},
{"seq":96,"time":20.859,"action":"sendEvent","args":["input",{}]},
{"seq":97,"time":20.908,"action":"endLoop","args":[]}
] ] );