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

Unified Diff: LayoutTests/platform/chromium-win/fast/forms/calendar-picker/date-open-picker-with-f4-key.html

Issue 15103004: Move Win-specific LayoutTests to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add calandar-picker tests to NeverFixTests for Mac Created 7 years, 7 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-win/fast/forms/calendar-picker/date-open-picker-with-f4-key.html
diff --git a/LayoutTests/platform/chromium-win/fast/forms/calendar-picker/date-open-picker-with-f4-key.html b/LayoutTests/platform/chromium-win/fast/forms/calendar-picker/date-open-picker-with-f4-key.html
deleted file mode 100644
index f31d515f840d1bd979105dad871889294f740418..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium-win/fast/forms/calendar-picker/date-open-picker-with-f4-key.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../../../../fast/js/resources/js-test-pre.js"></script>
-<script src="resources/calendar-picker-common.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<input type=date id=test>
-<script>
-if (window.internals)
- internals.setEnableMockPagePopup(true);
-
-description("Tests if pressing F4 opens the calendar picker.");
-
-debug('Check that page popup doesn\'t exist at first.');
-shouldBeNull('document.getElementById("mock-page-popup")');
-
-debug('Press F4 key.');
-sendKey(document.getElementById('test'), 'F4');
-shouldBeNonNull('document.getElementById("mock-page-popup")');
-
-function sendKey(input, keyName, ctrlKey, altKey) {
- var event = document.createEvent('KeyboardEvent');
- event.initKeyboardEvent('keydown', true, true, document.defaultView, keyName, 0, ctrlKey, altKey);
- input.dispatchEvent(event);
-}
-</script>
-<script src="../../../../../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698