OLD | NEW |
(Empty) | |
| 1 Non HTMLDocument such as XMLDocument shouldn't support execCommand |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS xmldoc.execCommand('bold') threw exception InvalidStateError: Failed to exe
cute 'execCommand' on 'Document': execCommand is only supported on HTML document
s.. |
| 7 PASS xmldoc.queryCommandEnabled('bold') threw exception InvalidStateError: Faile
d to execute 'queryCommandEnabled' on 'Document': queryCommandEnabled is only su
pported on HTML documents.. |
| 8 PASS xmldoc.queryCommandIndeterm('bold') threw exception InvalidStateError: Fail
ed to execute 'queryCommandIndeterm' on 'Document': queryCommandIndeterm is only
supported on HTML documents.. |
| 9 PASS xmldoc.queryCommandState('bold') threw exception InvalidStateError: Failed
to execute 'queryCommandState' on 'Document': queryCommandState is only supporte
d on HTML documents.. |
| 10 PASS xmldoc.queryCommandSupported('bold') threw exception InvalidStateError: Fai
led to execute 'queryCommandSupported' on 'Document': queryCommandSupported is o
nly supported on HTML documents.. |
| 11 PASS xmldoc.queryCommandValue('bold') threw exception InvalidStateError: Failed
to execute 'queryCommandValue' on 'Document': queryCommandValue is only supporte
d on HTML documents.. |
| 12 PASS successfullyParsed is true |
| 13 |
| 14 TEST COMPLETE |
| 15 |
OLD | NEW |