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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/send-undefined-and-null.html

Issue 40513003: Delete/move the remaining stale tests in TestExpectations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete plugins/reentrant-update-widget-positions.html as well Created 7 years, 2 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/xmlhttprequest/send-undefined-and-null.html
diff --git a/LayoutTests/http/tests/xmlhttprequest/send-undefined-and-null.html b/LayoutTests/http/tests/xmlhttprequest/send-undefined-and-null.html
deleted file mode 100644
index b7ac4923f6fdc66f45c1b959ca759dca1aa220f5..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/xmlhttprequest/send-undefined-and-null.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<html>
-<body>
-Tests that sending undefined or null results in an empty request body.
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-
-var console_messages = document.createElement("ul");
-document.body.appendChild(console_messages);
-
-function log(message)
-{
- var item = document.createElement("li");
- item.appendChild(document.createTextNode(message));
- console_messages.appendChild(item);
-}
-
-xhr = new XMLHttpRequest;
-xhr.open("POST", "resources/post-echo.cgi", false);
-xhr.send(undefined);
-if (!xhr.responseText.length)
- log("PASS for undefined");
-else
- log("FAILED: The posted content when sending 'undefined' is '" + xhr.responseText +"'. It should have been ''.");
-
-xhr = new XMLHttpRequest;
-xhr.open("POST", "resources/post-echo.cgi", false);
-xhr.send(null);
-if (!xhr.responseText.length)
- log("PASS for null");
-else
- log("FAILED: The posted content when sending 'null' is '" + xhr.responseText +"'. It should have been ''.");
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698