aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2013-01-11 16:11:11 +0800
committerCarlos Garcia Campos <cgarcia@igalia.com>2013-01-11 16:11:11 +0800
commit11d8b3ed3849e4ed18e9741af5ce316c4ccb29b8 (patch)
treed1cb8cb1131c9c202dd0a7c3f33e0b351d52180d /tests
parent23525a8bc71de569ade7dd809d2473eacbcee77c (diff)
downloadgsoc2013-epiphany-11d8b3ed3849e4ed18e9741af5ce316c4ccb29b8.tar
gsoc2013-epiphany-11d8b3ed3849e4ed18e9741af5ce316c4ccb29b8.tar.gz
gsoc2013-epiphany-11d8b3ed3849e4ed18e9741af5ce316c4ccb29b8.tar.bz2
gsoc2013-epiphany-11d8b3ed3849e4ed18e9741af5ce316c4ccb29b8.tar.lz
gsoc2013-epiphany-11d8b3ed3849e4ed18e9741af5ce316c4ccb29b8.tar.xz
gsoc2013-epiphany-11d8b3ed3849e4ed18e9741af5ce316c4ccb29b8.tar.zst
gsoc2013-epiphany-11d8b3ed3849e4ed18e9741af5ce316c4ccb29b8.zip
ephy-string: Handle about: and ephy-about: as special cases in ephy_string_get_host_name()
And return NULL like for file:// URIs. https://bugzilla.gnome.org/show_bug.cgi?id=691416
Diffstat (limited to 'tests')
-rw-r--r--tests/ephy-string-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ephy-string-test.c b/tests/ephy-string-test.c
index 6d407b003..bcb1aae63 100644
--- a/tests/ephy-string-test.c
+++ b/tests/ephy-string-test.c
@@ -35,6 +35,8 @@ static const HostnameTest hostname_tests[] = {
{ "www.google.com", "www.google.com" },
{ "google.com", "google.com" },
{ "file:///tmp/", NULL },
+ { "about:blank", NULL },
+ { "ephy-about:applications", NULL },
{ NULL, NULL },
{ "garbage garbage", "garbage garbage" } /* FIXME: should this be NULL? */
};