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

Unified Diff: LayoutTests/http/tests/misc/isindex-with-no-form.html

Issue 96653004: Remove support for the obsolete <isindex> tag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test. Created 6 years, 10 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/http/tests/misc/isindex-with-no-form.html
diff --git a/LayoutTests/http/tests/misc/isindex-with-no-form.html b/LayoutTests/http/tests/misc/isindex-with-no-form.html
deleted file mode 100644
index adf7d5652464bdadee6af5bc661c5bf2ff0f167a..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/misc/isindex-with-no-form.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<html>
-<head>
-<script>
-function test()
-{
- var isindexElm = document.getElementById("isindex");
- if (!location.search.length) {
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- isindexElm.value = "This is a test";
- isindexElm.focus();
-
- if (window.eventSender)
- eventSender.keyDown(String.fromCharCode(0x0d));
- } else {
- var expected = "?This+is+a+test";
- if (location.search != expected)
- log("FAIL: Expected \"" + expected + "\" but got \"" + location.search + "\"");
- else
- log("PASS");
-
- if (window.testRunner)
- testRunner.notifyDone();
- }
-}
-
-function log(msg)
-{
- document.getElementById("log").appendChild(document.createTextNode(msg + "\n"));
-}
-
-window.onload = test;
-</script>
-</head>
-<body>
-<p>This page tests that we correctly put the value of an <tt>&lt;isindex&gt;</tt> element into the form data.</p>
-<p>If you are running this test by hand, press the enter/return key on your keyboard to submit.</p>
-<isindex id="isindex"></isindex>
-<pre id="log"></pre>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698