Unreviewed test garening, skip test that is unsupported on WK1.
[WebKit-https.git] / LayoutTests / http / tests / navigation / document-location-click-timeout.html
1 <html>
2 <head>
3 <script src="resources/document-location.js"></script>
4 <script>
5   function runTest() {
6     // Simulate clicking the Navigate button.
7     var button = document.getElementById("navigate");
8     var x = button.offsetLeft + button.offsetWidth / 2;
9     var y = button.offsetTop + button.offsetHeight / 2;
10     eventSender.mouseMoveTo(x, y);
11     eventSender.mouseDown(); 
12     eventSender.mouseUp(); 
13   }
14 </script>
15 </head>
16 <body onload="start()">
17 This tests that assigning to document.location from a timeout in a button click
18 adds a back/forward item.
19 <button onclick="setTimeout('setLocation()', 0)" id="navigate">Navigate</button>
20 </body>
21 </html>