Skip to content

Commit d7fd694

Browse files
joyeecheungitaloacasas
authored andcommitted
test: remove redundant additional url tests
url-tests-additional.js now is a placeholder since existing test cases have been upstreamed. This is now a temporary place for test cases not upstreamed yet. Refs: web-platform-tests/wpt#4693 PR-URL: #11439 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Timothy Gu <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent e92ddd4 commit d7fd694

File tree

1 file changed

+4
-85
lines changed

1 file changed

+4
-85
lines changed

test/fixtures/url-tests-additional.js

+4-85
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,6 @@
1+
'use strict';
2+
3+
// This file contains test cases not part of the WPT
4+
15
module.exports = [
2-
{
3-
'url': 'tftp://foobar.com/someconfig;mode=netascii',
4-
'protocol': 'tftp:',
5-
'hostname': 'foobar.com',
6-
'pathname': '/someconfig;mode=netascii'
7-
},
8-
{
9-
'url': 'telnet://user:[email protected]:23/',
10-
'protocol': 'telnet:',
11-
'username': 'user',
12-
'password': 'pass',
13-
'hostname': 'foobar.com',
14-
'port': '23',
15-
'pathname': '/'
16-
},
17-
{
18-
'url': 'ut2004://10.10.10.10:7777/Index.ut2',
19-
'protocol': 'ut2004:',
20-
'hostname': '10.10.10.10',
21-
'port': '7777',
22-
'pathname': '/Index.ut2'
23-
},
24-
{
25-
'url': 'redis://foo:bar@somehost:6379/0?baz=bam&qux=baz',
26-
'protocol': 'redis:',
27-
'username': 'foo',
28-
'password': 'bar',
29-
'hostname': 'somehost',
30-
'port': '6379',
31-
'pathname': '/0',
32-
'search': '?baz=bam&qux=baz'
33-
},
34-
{
35-
'url': 'rsync://foo@host:911/sup',
36-
'protocol': 'rsync:',
37-
'username': 'foo',
38-
'hostname': 'host',
39-
'port': '911',
40-
'pathname': '/sup'
41-
},
42-
{
43-
'url': 'git://github.com/foo/bar.git',
44-
'protocol': 'git:',
45-
'hostname': 'github.com',
46-
'pathname': '/foo/bar.git'
47-
},
48-
{
49-
'url': 'irc://myserver.com:6999/channel?passwd',
50-
'protocol': 'irc:',
51-
'hostname': 'myserver.com',
52-
'port': '6999',
53-
'pathname': '/channel',
54-
'search': '?passwd'
55-
},
56-
{
57-
'url': 'dns://fw.example.org:9999/foo.bar.org?type=TXT',
58-
'protocol': 'dns:',
59-
'hostname': 'fw.example.org',
60-
'port': '9999',
61-
'pathname': '/foo.bar.org',
62-
'search': '?type=TXT'
63-
},
64-
{
65-
'url': 'ldap://localhost:389/ou=People,o=JNDITutorial',
66-
'protocol': 'ldap:',
67-
'hostname': 'localhost',
68-
'port': '389',
69-
'pathname': '/ou=People,o=JNDITutorial'
70-
},
71-
{
72-
'url': 'git+https://github.com/foo/bar',
73-
'protocol': 'git+https:',
74-
'hostname': 'github.com',
75-
'pathname': '/foo/bar'
76-
},
77-
{
78-
'url': 'urn:ietf:rfc:2648',
79-
'protocol': 'urn:',
80-
'pathname': 'ietf:rfc:2648'
81-
},
82-
{
83-
'url': 'tag:[email protected],2001:foo/bar',
84-
'protocol': 'tag:',
85-
'pathname': '[email protected],2001:foo/bar'
86-
}
876
];

0 commit comments

Comments
 (0)