| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
| 5 <script src="resources/util.js"></script> | 5 <script src="resources/util.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <div id="container"> | 8 <div id="container"> |
| 9 <input type="text" id="destination"/> | 9 <input type="text" id="destination"/> |
| 10 </div> | 10 </div> |
| 11 | 11 |
| 12 <script> | 12 <script> |
| 13 | 13 |
| 14 description("Spell check selects the misspelled word on context click in an inpu
t field. " + | 14 description("Spell check selects the misspelled word on context click in an inpu
t field. " + |
| (...skipping 29 matching lines...) Expand all Loading... |
| 44 shouldBeEqualToString("window.getSelection().toString()", "home"); | 44 shouldBeEqualToString("window.getSelection().toString()", "home"); |
| 45 else | 45 else |
| 46 shouldBeEqualToString("window.getSelection().toString()", ""); | 46 shouldBeEqualToString("window.getSelection().toString()", ""); |
| 47 window.getSelection().removeAllRanges(); | 47 window.getSelection().removeAllRanges(); |
| 48 } | 48 } |
| 49 }); | 49 }); |
| 50 | 50 |
| 51 </script> | 51 </script> |
| 52 </body> | 52 </body> |
| 53 </html> | 53 </html> |
| OLD | NEW |