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="../../fast/js/resources/js-test-pre.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 <div id="destination" contentEditable></div> | 9 <div id="destination" contentEditable></div> |
10 </div> | 10 </div> |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 shouldBeEqualToString("window.getSelection().toString()", "home"); | 53 shouldBeEqualToString("window.getSelection().toString()", "home"); |
54 else | 54 else |
55 shouldBeEqualToString("window.getSelection().toString()", ""); | 55 shouldBeEqualToString("window.getSelection().toString()", ""); |
56 shouldBeEqualToString("contextMenuElements[contextMenuElements.length -
1]", "<separator>"); | 56 shouldBeEqualToString("contextMenuElements[contextMenuElements.length -
1]", "<separator>"); |
57 | 57 |
58 window.getSelection().removeAllRanges(); | 58 window.getSelection().removeAllRanges(); |
59 } | 59 } |
60 }); | 60 }); |
61 | 61 |
62 </script> | 62 </script> |
63 <script src="../../fast/js/resources/js-test-post.js"></script> | |
64 </body> | 63 </body> |
65 </html> | 64 </html> |
OLD | NEW |