summaryrefslogtreecommitdiff
path: root/dom/html/test
diff options
context:
space:
mode:
authorNew Tobin Paradigm <email@mattatobin.com>2018-04-16 08:25:45 -0400
committerGitHub <noreply@github.com>2018-04-16 08:25:45 -0400
commitba80720469e27d3d7ae6f1095b3c187207adc051 (patch)
treef864e580c5cd7d99127aac64e9c3ae0ee6e9aa4b /dom/html/test
parenta66e6546c361d238b0179af18e26bf18aa4a7eb9 (diff)
parentae14556114dcae29f679db7c15f0bc9b707bb89a (diff)
downloaduxp-ba80720469e27d3d7ae6f1095b3c187207adc051.tar.gz
Merge pull request #174 from janekptacijarabaci/url_parser_1
moebius#130: URL parser - fix: don't allow empty host name
Diffstat (limited to 'dom/html/test')
-rw-r--r--dom/html/test/test_bug558788-1.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/dom/html/test/test_bug558788-1.html b/dom/html/test/test_bug558788-1.html
index 94b7a5f00e..4db61ed738 100644
--- a/dom/html/test/test_bug558788-1.html
+++ b/dom/html/test/test_bug558788-1.html
@@ -154,13 +154,14 @@ function checkInputURL()
sendString("ttp://mozilla.org");
checkValidApplies(element);
- for (var i=0; i<13; ++i) {
+ for (var i=0; i<10; ++i) {
synthesizeKey("VK_BACK_SPACE", {});
checkValidApplies(element);
}
synthesizeKey("VK_BACK_SPACE", {});
- for (var i=0; i<4; ++i) {
+ // "http://" is now invalid
+ for (var i=0; i<7; ++i) {
checkInvalidApplies(element);
synthesizeKey("VK_BACK_SPACE", {});
}