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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/select-double-onchange.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-double-onchange.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/select-double-onchange.html b/third_party/WebKit/LayoutTests/fast/forms/select-double-onchange.html
deleted file mode 100644
index 1051b9272e85c4004ebd426c9716a5948c707f85..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/select-double-onchange.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<html>
- <head>
- <title></title>
- <script type="text/javascript">
- var onchangeCount = 0;
-
- function test()
- {
- if (!window.eventSender)
- return;
-
- testRunner.dumpAsText();
-
- var popup = document.getElementById("switcher");
- popup.focus();
-
- eventSender.keyDown("t", null);
- eventSender.keyDown("\r", null);
- }
-
- function changed(select)
- {
- select.blur();
- onchangeCount++;
-
- var result = document.getElementById("result");
- result.innerText = onchangeCount == 1 ? "SUCCESS" : "FAILURE: onchange count was " + onchangeCount;
- }
- </script>
- </head>
- <body onload="test()">
- <p>
- Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=13857">http://bugs.webkit.org/show_bug.cgi?id=13857</a>
- REGRESSION: onChange function applied to select element executes twice when focus is set</i>.
- </p>
- <p id="result">
- To test interactively, select the other option in the pop up. This text should change to SUCCESS.
- </p>
- <select name="switcher" id="switcher" onchange="changed(this)">
- <option value="one">One</option>
- <option value="two">Two</option>
- </select>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698