You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



Networking (general) Test Plan

Abstract:
This document provides general network functional testing. Specific protocols are handled in specific test plans.

Overview:
The majority of the tests are link-clicks.

The test needs to be expanded to explain the expected results (right now, the tester is assumed to know what the correct result is).
Also, the tests need to be applied to more entry points for URLs (URL/location bar, "Open as New Window", "Open as Tab", etc.)

URL Schemes

Area Description Comments
about: about: about: meta bug  96712
aim: Send IM (default) Mozilla will use AIM, Netscape 6 will use NIM.
Fails in Linux
mailto: mailto: mailto: if MailNews is not installed 56478
gopher: the original home of gopher List of gopher bugs (needs updating)
telnet: telnet://hostname URL: telnet:// unregistered in Linux 33282 
wais: wais://something.com/searching?forthis WAIS is unimplemented, but RFC specified scheme: 61540
javascript:
javascript:alert("pass")
NOTE: the javascript code must be URL escaped to work
resource:
resource:///
Copy into URL bar to test
data:
data: URL
Per RFC 2397
chrome:
chrome://navigator/content/navigator.xul Should only work in URL bar
other invalid:// Unimplemented schemes should display error: 100176
relative URLs
Use Roy Fielding's test page
Point at links, and compare status bar w/ result column.

DNS, IP addressing, ports and sockets
 
Area Description Comments
DNS hostnames starts with numbers
maximum label size: 63 characters 
excceeds max label size (64 characters)
nonexistent FQDN
[RFE] Catch illegal DNS requests w/ error 140379
todo: many labels
IPv4 addresses mozilla.org's IP address
localhost, blocked port
localhost: unused port
http://63.207.57.30
http://255.255.255.255/
http://3486011863 decimal ip addressing
http://127.1/

-> works
-> "port blocked for security reasons"
-> connection refused (if Internet Keywords is on, send to search engine)
-> connection establishment timeout
Mac OS X, Linux  refuse to connect to broadcast address Win32 says "could not be found", Mac X classic times out.
Win32 and Linux accepts IP addresses as one large decimal value: 67730
IP addresses that are not dotted quads: 160819

multiple DNS records (need public test example) Preferably a three-address entry that has one non-existent host, one host w/ a listener on the http port, and one valid port. 86917
"internet keywords"
searches
hostname that does not resolve in DNS goes to keywords.
hostname -> default domain in OS.
hostname (URI ignored) -> search.netscape.com

"mozilla" and "open source"
if Internet Keywords is off:
  • mozilla -> "mozilla" will fail (unless you have "mozilla" in your local domain), then domain completion will try "www.mozilla.com" and fail.
  • open source -> invalid URL error.
if Internet Keywords is on:
  • mozilla -> http://www.mozilla.org. This is the Internet Keyword server returning a redirect to your browser.
  • open source -> search result of Google's AOL branded server.
localhost handling http://localhost/ connects to 127.0.01 (loopback). If nothing is running will search for keyword:localhost (if Internet Keywords is on) or return connection refused error.
Isolated lan  Necko should work w/o DNS some discussion in bug 11204

Suggestions, questions, feedback for this page: bug 141758

To Do:

Needs more consideration for testing w/ non-standard installs (browser-only, non Mozilla trunk products, etc.)

Last update:
11.25.02 - updated for Mozilla 1.2