diff options
Diffstat (limited to 'comm/mail/base/test/browser/files/links.html')
-rw-r--r-- | comm/mail/base/test/browser/files/links.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/comm/mail/base/test/browser/files/links.html b/comm/mail/base/test/browser/files/links.html new file mode 100644 index 0000000000..f5703dc4ef --- /dev/null +++ b/comm/mail/base/test/browser/files/links.html @@ -0,0 +1,38 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="utf-8"/> + <title>Links to other places</title> +</head> +<body> + <h1>Links to things</h1> + <p>This page is a test of what happens when you click on links. It should be loaded from http://example.org:80.</p> + + <h2>This page:</h2> + <ul> + <li><a id="this-hash" href="#hash">Anchor on this page</a></li> + <li><a id="this-nohash" href="links.html">This page</a></li> + </ul> + + <h2>Pages on this domain:</h2> + <ul> + <li><a id="local-here" href="sampleContent.html">A page in the same directory</a></li> + <li><a id="local-elsewhere" href="/browser/comm/mail/components/extensions/test/browser/data/content.html">A page elsewhere</a></li> + </ul> + + <h2>Pages on other places on this TLD:</h2> + <ul> + <li><a id="other-https" href="https://example.org/browser/comm/mail/base/test/browser/files/links.html">This page, but over HTTPS</a></li> + <li><a id="other-port" href="http://example.org:8000/browser/comm/mail/base/test/browser/files/links.html">This page, but on example.com:8000</a></li> + <li><a id="other-subdomain" href="http://test1.example.org/browser/comm/mail/base/test/browser/files/links.html">This page, but on test1.example.com</a></li> + <li><a id="other-subsubdomain" href="http://sub1.test1.example.org/browser/comm/mail/base/test/browser/files/links.html">This page, but on sub1.test1.example.com</a></li> + </ul> + + <h2>Pages on a completely different domain:</h2> + <ul style="margin-bottom: 100vh;"> + <li><a id="other-domain" href="http://mochi.test:8888/browser/comm/mail/base/test/browser/files/links.html">This page, but on mochi.test</a></li> + </ul> + + <h2 id="hash">This is the hash target!</h2> +</body> +</html> |