| Index: content/test/data/simple_links.html
|
| diff --git a/content/test/data/simple_links.html b/content/test/data/simple_links.html
|
| index 43f7405ccb28c28e2cbd6cb655cca899d2786e0c..80957277f8aa7259d548490dc0b0f63d384a706a 100644
|
| --- a/content/test/data/simple_links.html
|
| +++ b/content/test/data/simple_links.html
|
| @@ -14,6 +14,9 @@
|
| function setPortNumber(portNumber) {
|
| var link = document.getElementById("cross_site_link");
|
| link.setAttribute("href", "http://foo.com:" + portNumber + "/title2.html");
|
| +
|
| + link = document.getElementById("cross_site_new_window_link");
|
| + link.setAttribute("href", "http://foo.com:" + portNumber + "/title2.html");
|
| return true;
|
| }
|
|
|
| @@ -21,10 +24,18 @@
|
| return simulateClick(document.getElementById("same_site_link"));
|
| }
|
|
|
| + function clickSameSiteNewWindowLink() {
|
| + return simulateClick(document.getElementById("same_site_new_window_link"));
|
| + }
|
| +
|
| function clickCrossSiteLink() {
|
| return simulateClick(document.getElementById("cross_site_link"));
|
| }
|
|
|
| + function clickCrossSiteNewWindowLink() {
|
| + return simulateClick(document.getElementById("cross_site_new_window_link"));
|
| + }
|
| +
|
| function clickViewSourceLink() {
|
| return simulateClick(document.getElementById("view_source_link"));
|
| }
|
| @@ -34,5 +45,7 @@
|
| <a href="title2.html" id="same_site_link">same-site</a><br>
|
| <a href="http://foo.com/title2.html" id="cross_site_link">cross-site</a><br>
|
| <a href="view-source:about:blank" id="view_source_link">view-source:</a><br>
|
| +<a href="title2.html" id="same_site_new_window_link" target="_blank">same-site new window</a>
|
| +<a href="http://foo.com/title2.html" id="cross_site_new_window_link" target="_blank">cross-site new window</a>
|
|
|
| </html>
|
|
|