Geremy Condra | c957189 | 2012-03-05 12:32:24 -0800 | [diff] [blame] | 1 | <html> |
2 | <script> | ||||
3 | if (window.layoutTestController) { | ||||
4 | layoutTestController.dumpAsText(); | ||||
5 | layoutTestController.waitUntilDone(); | ||||
6 | } | ||||
7 | |||||
8 | function runTest() | ||||
9 | { | ||||
10 | document.write("PASS"); | ||||
11 | |||||
12 | if (window.layoutTestController) | ||||
13 | layoutTestController.notifyDone(); | ||||
14 | } | ||||
15 | |||||
16 | function select() | ||||
17 | { | ||||
18 | document.execCommand("SelectAll"); | ||||
19 | } | ||||
20 | |||||
21 | window.addEventListener("selectstart", runTest, true); | ||||
22 | window.setInterval(select, 0); | ||||
23 | </script> | ||||
24 | </html> |