Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: LayoutTests/platform/chromium/fast/forms/calendar-picker/calendar-picker-type-change-onclick.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/platform/chromium/fast/forms/calendar-picker/calendar-picker-type-change-onclick.html
diff --git a/LayoutTests/platform/chromium/fast/forms/calendar-picker/calendar-picker-type-change-onclick.html b/LayoutTests/platform/chromium/fast/forms/calendar-picker/calendar-picker-type-change-onclick.html
deleted file mode 100644
index c12f0a7afab2aa357f01044f881d07beab73bf74..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium/fast/forms/calendar-picker/calendar-picker-type-change-onclick.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<body>
-<script src="../../../../../fast/js/resources/js-test-pre.js"></script>
-<input type="date" onclick="changeType(this)" />
-<script>
-description('Check if we have no crash in a case that the input type is changed by clicking the calendar picker indicator.');
-
-function changeType(input) {
- input.type = 'text';
- testPassed('unless crash or assertion failure');
- finishJSTest();
-}
-
-jsTestIsAsync = true;
-if (!window.eventSender) {
- debug('Click on the triangle in the input field.');
-} else {
- setTimeout(function() {
- var dateInput = document.getElementsByTagName('input')[0];
- eventSender.mouseMoveTo(dateInput.offsetLeft + dateInput.offsetWidth - 6,
- dateInput.offsetTop + dateInput.offsetHeight / 2);
- eventSender.mouseDown();
- eventSender.mouseUp();
- }, 0);
-}
-</script>
-<script src="../../../../../fast/js/resources/js-test-post.js"></script>
-</body>

Powered by Google App Engine
This is Rietveld 408576698