From 2f56eede1f4a5dbb3387fda2be2dfaa10da01b8a Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Mon, 22 Jun 2009 21:11:04 +0200 Subject: [PATCH] Added schemeless URL testing --- TODO.txt | 2 -- tests/checker/data/http.html | 1 + tests/checker/data/http.html.result | 6 ++++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/TODO.txt b/TODO.txt index 93e41095..07379953 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,7 +1,5 @@ - [CHECKING] SF #2784996 Incorrect URL fragment handling -- [TEST] Test protocol-independent links like - - [CMDLINE] SF #2770077 Titles of bookmarks with umlauts are not printed correctly. - [GUI] Add more context menu actions: diff --git a/tests/checker/data/http.html b/tests/checker/data/http.html index a067e313..df3aa289 100644 --- a/tests/checker/data/http.html +++ b/tests/checker/data/http.html @@ -3,6 +3,7 @@ Just some HTTP links ok one slash no slash +no scheme no url no url, one slash no url, no slash diff --git a/tests/checker/data/http.html.result b/tests/checker/data/http.html.result index 0244a81f..e85fef1f 100644 --- a/tests/checker/data/http.html.result +++ b/tests/checker/data/http.html.result @@ -56,6 +56,12 @@ name no slash warning Base URL is not properly normed. Normed URL is http:///localhost%%3A8001/. error +url //localhost:8001/ (cached) +cache key http://localhost:8001/ +real url http://localhost:8001/ +name no scheme +valid + url http:// cache key http:// real url http://