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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/select-change-popup-to-listbox-in-event-handler.html

Issue 1509853008: Move select/option/optgroup-related tests in fast/forms to fast/forms/select. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: third_party/WebKit/LayoutTests/fast/forms/select-change-popup-to-listbox-in-event-handler.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/select-change-popup-to-listbox-in-event-handler.html b/third_party/WebKit/LayoutTests/fast/forms/select-change-popup-to-listbox-in-event-handler.html
deleted file mode 100644
index a2722b3ebbd5edda93125e9b8664a394b9d2b8c4..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/select-change-popup-to-listbox-in-event-handler.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE>
-<html>
-<head>
- <title>Change popup to list inside mouse event handler.</title>
- <script type="text/javascript" charset="utf-8">
- if (window.testRunner)
- testRunner.dumpAsText();
-
- function sendClick()
- {
- var select = document.getElementById("select");
- var rect = select.getBoundingClientRect();
-
- var evt = document.createEvent("MouseEvents");
- evt.initMouseEvent("mousedown", true, true, window,
- 0, 0, 0, rect.top + 4, rect.left + 4, false, false, false, false, 0, null);
-
- select.dispatchEvent(evt);
- }
-
- window.addEventListener('load', sendClick, false);
- </script>
-</head>
-<body>
- <p>This test should not crash.</p>
- <select id="select" onFocus="this.size = 10">
- <option value="0">One</option>
- <option value="1">Two</option>
- <option value="2">Three</option>
- </select>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698