OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <head> | 2 <head> |
3 <script src="../../resources/js-test.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
4 </head> | 4 </head> |
5 <body> | 5 <body> |
6 <script> | 6 <script> |
7 description('This test checks that the Overwrite mode is: 1) not exposed to Java
Script 2) queryCommandState returns false.'); | 7 description('This test checks that the Overwrite mode is: 1) not exposed to Java
Script 2) queryCommandState returns false.'); |
8 | 8 |
9 shouldBeFalse("document.queryCommandSupported('OverWrite')"); | 9 shouldBeTrue("document.queryCommandSupported('OverWrite')"); |
10 shouldBeFalse("document.queryCommandState('OverWrite')"); | 10 shouldBeFalse("document.queryCommandState('OverWrite')"); |
11 | 11 |
12 var successfullyParsed = true; | 12 var successfullyParsed = true; |
13 </script> | 13 </script> |
14 </body> | 14 </body> |
15 </html> | 15 </html> |
OLD | NEW |