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

Unified Diff: LayoutTests/fast/forms/url-with-line-break-and-whitespace.html

Issue 893013003: Revert of Input type url with line break and leading-trailing whitespace should be stripped. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | Source/core/html/forms/URLInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/url-with-line-break-and-whitespace.html
diff --git a/LayoutTests/fast/forms/url-with-line-break-and-whitespace.html b/LayoutTests/fast/forms/url-with-line-break-and-whitespace.html
deleted file mode 100644
index 8ef3ce4d2c29094dadfbee6fd63730d85dc6e767..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/forms/url-with-line-break-and-whitespace.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<input type="url" id="input1" value=" homepage " />
-<input type="url" id="input2" value="home&#x000D;&#x000A;page" />
-<script>
-test(function()
-{
- var input = document.getElementById("input1");
- assert_equals(input.value, "homepage");
- input.value = " home page ";
- assert_equals(input.value, "home page");
- input.value = "home\u000Apage";
- assert_equals(input.value, "homepage");
- input.value = "home\u000Dpage";
- assert_equals(input.value, "homepage");
- input.value = "home\u000D\u000Apage";
- assert_equals(input.value, "homepage");
- input = document.getElementById("input2");
- assert_equals(input.value, "homepage");
-}, "Input type url with line break and leading-trailing whitespace should be stripped");
-</script>
« no previous file with comments | « no previous file | Source/core/html/forms/URLInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698