Brief update on UIEvent key testing

Gary Kačmarčík (Кошмарчик) <[email protected]> Sun, 22 Nov 2015 16:19:48 -0800
Newsgroups gmane.comp.web.dom.general
Message-ID <CAGnkXoE97OxPYDa7kUZ9GJG9BdH7kTdHFTLR14PteA3jJCtduw@mail.gmail.com>
--94eb2c087aa0db6e4f05252a2e13
Content-Type: text/plain; charset=UTF-8

I just made an update to some of our key event testing files:

   - I updated the Key Event Viewer
   <https://cdn.rawgit.com/w3c/uievents/gh-pages/tools/key-event-viewer.html>.
   Renamed from Key Event Tester since it wasn't testing anything. Also made
   updates to how the fields are presented and added a sequence id.


   - I also added some manual keyboard tests for 101en-us
   <https://cdn.rawgit.com/w3c/uievents/gh-pages/tests/key-mtest-101en-us.html>
   and 102fr-fr
   <https://cdn.rawgit.com/w3c/uievents/gh-pages/tests/key-mtest-102fr-fr.html>
   .
   - These tests assume you have the correct physical keyboard and locale
      set.
      - Only keydown and keyup events are tested.
      - Only the 'key', 'code' and modifier flag attributes are tested.
      - Dead keys are not handled properly.
      - I couldn't completely verify the French keyboard tests since I
      don't have a physical French keyboard with me at the moment.
      - The tests pass on Firefox. Fail on all other browsers.
         - Chrome Canary succeeds if you disable the 'key' check in Options.

These tests are linked from UIEvent's main github page
<https://github.com/w3c/uievents> (near the bottom).

Please let me know if you have any suggestions for improving these
tools/tests.

-Gary

--94eb2c087aa0db6e4f05252a2e13
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I just made an update to some of our key event testin=
g files:</div><div><ul><li>I updated the <a href=3D"https://cdn.rawgit.com/=
w3c/uievents/gh-pages/tools/key-event-viewer.html">Key Event Viewer</a>. Re=
named from Key Event Tester since it wasn&#39;t testing anything. Also made=
 updates to how the fields are presented and added a sequence id.</li></ul>=
</div><div><ul><li>I also added some manual keyboard tests for <a href=3D"h=
ttps://cdn.rawgit.com/w3c/uievents/gh-pages/tests/key-mtest-101en-us.html">=
101en-us</a> and <a href=3D"https://cdn.rawgit.com/w3c/uievents/gh-pages/te=
sts/key-mtest-102fr-fr.html">102fr-fr</a>.<br></li><ul><li>These tests assu=
me you have the correct physical keyboard and locale set.</li><li>Only keyd=
own and keyup events are tested.</li><li>Only the &#39;key&#39;, &#39;code&=
#39; and modifier flag attributes are tested.</li><li>Dead keys are not han=
dled properly.</li><li>I couldn&#39;t completely verify the French keyboard=
 tests since I don&#39;t have a physical French keyboard with me at the mom=
ent.</li><li>The tests pass on Firefox. Fail on all other browsers.</li><ul=
><li>Chrome Canary succeeds if you disable the &#39;key&#39; check in Optio=
ns.</li></ul></ul></ul></div><div>These tests are linked from=C2=A0<a href=
=3D"https://github.com/w3c/uievents">UIEvent&#39;s main github page</a>=C2=
=A0(near the bottom).</div><div><br></div><div>Please let me know if you ha=
ve any suggestions for improving these tools/tests.</div><div><br></div><di=
v>-Gary</div><div><br></div></div>

--94eb2c087aa0db6e4f05252a2e13--