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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/menulist-submit-without-selection.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/menulist-submit-without-selection.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/menulist-submit-without-selection.html b/third_party/WebKit/LayoutTests/fast/forms/menulist-submit-without-selection.html
deleted file mode 100644
index 14a9df6f06f82a45847e20941ee1bca8939aed19..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/menulist-submit-without-selection.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script>
-description('A unselected option was submitted as fallback. This behavior was removed by the change of webkit.org/b/35056.');
-
-var parent = document.createElement('div');
-document.body.appendChild(parent);
-parent.innerHTML = '<form action="">'
- + '<input type=hidden name="submitted" value="true">'
- + '<select name="select">'
- + '<option disabled>Disabled</option>'
- + '</select>'
- + '</form>';
-
-if (window.testRunner)
- testRunner.waitUntilDone();
-var query = window.location.search;
-if (query.indexOf('submitted=true') == -1) {
- var select = document.getElementsByTagName('select')[0];
- select.selectedIndex = 0;
- document.forms[0].submit();
-} else {
- shouldBe('query.indexOf("select=Disabled")', '-1');
- if (window.testRunner)
- testRunner.notifyDone();
-}
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698