aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EventContext.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-01-23 03:49:36 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-23 03:49:36 +0800
commit1fe097be0563f19a3de39dc5222ecc5c6356ca24 (patch)
tree7369e8871b1e5e07276c67b48bf84a26adfcf2eb /embed/mozilla/EventContext.cpp
parent75e8fb3168db840673091b4b1e315f635949cd89 (diff)
downloadgsoc2013-epiphany-1fe097be0563f19a3de39dc5222ecc5c6356ca24.tar
gsoc2013-epiphany-1fe097be0563f19a3de39dc5222ecc5c6356ca24.tar.gz
gsoc2013-epiphany-1fe097be0563f19a3de39dc5222ecc5c6356ca24.tar.bz2
gsoc2013-epiphany-1fe097be0563f19a3de39dc5222ecc5c6356ca24.tar.lz
gsoc2013-epiphany-1fe097be0563f19a3de39dc5222ecc5c6356ca24.tar.xz
gsoc2013-epiphany-1fe097be0563f19a3de39dc5222ecc5c6356ca24.tar.zst
gsoc2013-epiphany-1fe097be0563f19a3de39dc5222ecc5c6356ca24.zip
data: urls can be opened in new tabs too.
2004-01-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * src/ephy-tab.c: (address_has_web_scheme): data: urls can be opened in new tabs too.
Diffstat (limited to 'embed/mozilla/EventContext.cpp')
-rw-r--r--embed/mozilla/EventContext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp
index e8705e9d5..39fe58183 100644
--- a/embed/mozilla/EventContext.cpp
+++ b/embed/mozilla/EventContext.cpp
@@ -821,6 +821,7 @@ nsresult EventContext::CheckLinkScheme (const nsAString &link)
scheme.EqualsIgnoreCase ("https") ||
scheme.EqualsIgnoreCase ("ftp") ||
scheme.EqualsIgnoreCase ("file") ||
+ scheme.EqualsIgnoreCase ("data") ||
scheme.EqualsIgnoreCase ("about") ||
scheme.EqualsIgnoreCase ("gopher"))
{