summaryrefslogtreecommitdiffstats
path: root/dom/base/test/file_bug1303838.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/test/file_bug1303838.html')
-rw-r--r--dom/base/test/file_bug1303838.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/dom/base/test/file_bug1303838.html b/dom/base/test/file_bug1303838.html
new file mode 100644
index 0000000000..7e284e85f2
--- /dev/null
+++ b/dom/base/test/file_bug1303838.html
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML>
+<html>
+<!--
+Tests for tab switching on link clicks.
+-->
+<head>
+ <meta charset="utf-8">
+ <title>Tests for tab switching on link clicks.</title>
+</head>
+<body>
+ <a id="link-1" target="testTab" href="file_bug1303838_target_foo.html">Link 1</a><br>
+ <a id="link-2" target="testTab" href="file_bug1303838_target_bar.html">Link 2</a><br>
+ <a id="link-3" target="testTab" href="file_bug1303838_target_baz.html">Link 3</a><br>
+ <a id="link-4" href="#" onclick="testTab = window.open('file_bug1303838_target_foo.html', 'testTab'); return false;">Link 4</a><br>
+ <a id="link-5" href="#" onclick="testTab.location.href += '?1'; return false;">Link 5</a><br>
+ <a id="link-6" href="#" onclick="testTab.location.href += '#1'; return false;">Link 6</a><br>
+ <a id="link-7" target="testTab" href="file_bug1303838_target.html">Link 7</a><br>
+ <a id="anchor-link-1" target="testTab" href="file_bug1303838_target.html#foo">Anchor Link 1</a><br>
+ <a id="anchor-link-2" target="testTab" href="file_bug1303838_target.html#bar">Anchor Link 2</a><br>
+ <a id="anchor-link-3" target="testTab" href="file_bug1303838_target.html#baz">Anchor Link 3</a><br>
+ <a id="frame-link-1" target="testFrame" href="file_bug1303838_target_ifoo.html">Frame Link 1</a><br>
+ <a id="frame-link-2" target="testFrame" href="file_bug1303838_target_ibar.html">Frame Link 2</a><br>
+ <a id="frame-link-3" target="testFrame" href="file_bug1303838_target_ibaz.html">Frame Link 3</a><br>
+</body>
+</html>