Bug 1621918 - Remove test_pointerevent_pointermove-manual.html; r=smaug

Depends on D66566

Differential Revision: https://phabricator.services.mozilla.com/D66567

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Edgar Chen 2020-03-12 15:01:22 +00:00
Родитель 53aed7aafa
Коммит e8539f63f0
3 изменённых файлов: 0 добавлений и 72 удалений

Просмотреть файл

@ -62,8 +62,6 @@ support-files = pointerevent_pointerleave_after_pointercancel_touch-manual.html
support-files = pointerevent_pointerleave_does_not_bubble-manual.html
[test_pointerevent_pointerleave_pen-manual.html]
support-files = pointerevent_pointerleave_pen-manual.html
[test_pointerevent_pointermove-manual.html]
support-files = pointerevent_pointermove-manual.html
[test_pointerevent_pointermove_isprimary_same_as_pointerdown-manual.html]
support-files = pointerevent_pointermove_isprimary_same_as_pointerdown-manual.html
[test_pointerevent_pointermove_on_chorded_mouse_button-manual.html]

Просмотреть файл

@ -1,44 +0,0 @@
<!doctype html>
<html>
<head>
<title>Pointermove</title>
<meta name="viewport" content="width=device-width">
<meta name="assert" content="When a pointer changes coordinates, the pointermove event must be dispatched."/>
<link rel="stylesheet" type="text/css" href="pointerevent_styles.css">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<!-- Additional helper script for common checks across event types -->
<script type="text/javascript" src="pointerevent_support.js"></script>
</head>
<body onload="run()">
<h2>PointerMove</h2>
<h4>Test Description: This test checks if pointermove event triggers. Move your mouse over the black rectangle or slide it if you are using touchscreen.</h4>
<div id="target0" style="background:black"></div>
<script>
var eventTested = false;
var detected_pointertypes = {};
var test_pointermove = async_test("pointermove event received");
add_completion_callback(showPointerTypes);
function run() {
var target0 = document.getElementById("target0");
// When a pointer changes coordinates, the pointermove event must be dispatched.
// TA: 5.3
on_event(target0, "pointermove", function (event) {
detected_pointertypes[event.pointerType] = true;
if (eventTested == false) {
test_pointermove.done();
eventTested = true;
}
});
}
</script>
<h1>Pointer Events pointermove Tests</h1>
<div id="complete-notice">
<p>The following pointer types were detected: <span id="pointertype-log"></span>.</p>
<p>Refresh the page to run the tests again with a different pointer type.</p>
</div>
<div id="log"></div>
</body>
</html>

Просмотреть файл

@ -1,26 +0,0 @@
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=1000870
-->
<head>
<meta charset="utf-8">
<title>Test for Bug 1000870</title>
<meta name="author" content="Maksim Lebedev" />
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<script type="text/javascript" src="mochitest_support_external.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
<script type="text/javascript">
SimpleTest.waitForExplicitFinish();
function startTest() {
runTestInNewWindow("pointerevent_pointermove-manual.html");
}
function executeTest(int_win) {
sendMouseEvent(int_win, "target0", "mousemove");
}
</script>
</head>
<body>
</body>
</html>