blob: fc8007b69234bc146a1d9896be55e6fb81a4be72 [file] [log] [blame]
Dave Tapuskadfe486c12017-06-09 16:53:131<!DOCTYPE html>
2<html>
3<script src="../resources/testharness.js"></script>
4<script src="../resources/testharnessreport.js"></script>
5<body>
6<embed id="touch_plugin" type="application/x-webkit-test-webplugin" accepts-touch="raw-lowlatency"></embed>
7<script>
8
9test(function() {
10 // ensure layout is valid.
11 touch_plugin.offsetLeft;
12
Xianzhu Wangaf4fa412018-05-14 21:26:5213 assert_equals(internals.touchStartOrMoveEventHandlerCount(document), 1, "One touch event handler registered.");
Dave Tapuskadfe486c12017-06-09 16:53:1314}, "raw handler added");
15
16</script>
17</body>