test_wpt_pointerevent_pointerout_pen-manual.html (1080B)
1 <!DOCTYPE HTML> 2 <html> 3 <!-- 4 https://bugzilla.mozilla.org/show_bug.cgi?id=1000870 5 --> 6 <head> 7 <meta charset="utf-8"> 8 <title>Test for Bug 1000870</title> 9 <meta name="author" content="Maksim Lebedev" /> 10 <script src="/tests/SimpleTest/SimpleTest.js"></script> 11 <script src="/tests/SimpleTest/EventUtils.js"></script> 12 <script type="text/javascript" src="mochitest_support_external.js"></script> 13 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> 14 <script type="text/javascript"> 15 SimpleTest.waitForExplicitFinish(); 16 function startTest() { 17 runTestInNewWindow("wpt/pointerevent_pointerout_pen-manual.html"); 18 } 19 function executeTest(int_win) { 20 sendMouseEvent(int_win, "target0", "mousedown", {inputSource:MouseEvent.MOZ_SOURCE_PEN}); 21 sendMouseEvent(int_win, "target0", "mouseup", {inputSource:MouseEvent.MOZ_SOURCE_PEN}); 22 sendMouseEvent(int_win, "target0", "mousecancel", {inputSource:MouseEvent.MOZ_SOURCE_PEN}); 23 } 24 </script> 25 </head> 26 <body> 27 </body> 28 </html>