summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_URIs.js
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 /netwerk/test/unit/test_URIs.js
parenta66e6546c361d238b0179af18e26bf18aa4a7eb9 (diff)
parentae14556114dcae29f679db7c15f0bc9b707bb89a (diff)
downloadUXP-ba80720469e27d3d7ae6f1095b3c187207adc051.tar
UXP-ba80720469e27d3d7ae6f1095b3c187207adc051.tar.gz
UXP-ba80720469e27d3d7ae6f1095b3c187207adc051.tar.lz
UXP-ba80720469e27d3d7ae6f1095b3c187207adc051.tar.xz
UXP-ba80720469e27d3d7ae6f1095b3c187207adc051.zip
Merge pull request #174 from janekptacijarabaci/url_parser_1
moebius#130: URL parser - fix: don't allow empty host name
Diffstat (limited to 'netwerk/test/unit/test_URIs.js')
-rw-r--r--netwerk/test/unit/test_URIs.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/netwerk/test/unit/test_URIs.js b/netwerk/test/unit/test_URIs.js
index b68c4f787..5bc7fe432 100644
--- a/netwerk/test/unit/test_URIs.js
+++ b/netwerk/test/unit/test_URIs.js
@@ -92,18 +92,6 @@ var gTests = [
ref: "",
relativeURI: "data/text/plain,2",
nsIURL: true, nsINestedURI: false },
- { spec: "ftp://",
- scheme: "ftp",
- prePath: "ftp://",
- path: "/",
- ref: "",
- nsIURL: true, nsINestedURI: false },
- { spec: "ftp:///",
- scheme: "ftp",
- prePath: "ftp://",
- path: "/",
- ref: "",
- nsIURL: true, nsINestedURI: false },
{ spec: "ftp://ftp.mozilla.org/pub/mozilla.org/README",
scheme: "ftp",
prePath: "ftp://ftp.mozilla.org",
@@ -135,18 +123,6 @@ var gTests = [
path: "//mozilla.org/",
ref: "",
nsIURL: false, nsINestedURI: false },
- { spec: "http://",
- scheme: "http",
- prePath: "http://",
- path: "/",
- ref: "",
- nsIURL: true, nsINestedURI: false },
- { spec: "http:///",
- scheme: "http",
- prePath: "http://",
- path: "/",
- ref: "",
- nsIURL: true, nsINestedURI: false },
{ spec: "http://www.example.com/",
scheme: "http",
prePath: "http://www.example.com",