Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / http / tests / navigation / redirect-preserves-referrer.html
1 <html>
2 <head>
3 <script>
4 function start() {
5     if (window.testRunner) {
6         testRunner.dumpAsText();
7         testRunner.waitUntilDone();
8         var link = document.getElementById("link");
9         eventSender.mouseMoveTo(link.offsetLeft + 2, link.offsetTop + 2);
10         eventSender.mouseDown();
11         eventSender.mouseUp();
12     }
13 }
14 </script>
15 </head>
16 <body onload="start();">
17 <a id="link" href="resources/redirect-to-referrer-check.pl">Link</a>
18 </body></html>