1 Non HTMLDocument such as XMLDocument shouldn't support execCommand
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS xmldoc.execCommand('bold') threw exception InvalidStateError: Failed to execute 'execCommand' on 'Document': execCommand is only supported on HTML documents..
7 PASS xmldoc.queryCommandEnabled('bold') threw exception InvalidStateError: Failed to execute 'queryCommandEnabled' on 'Document': queryCommandEnabled is only supported on HTML documents..
8 PASS xmldoc.queryCommandIndeterm('bold') threw exception InvalidStateError: Failed 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 supported on HTML documents..
10 PASS xmldoc.queryCommandSupported('bold') threw exception InvalidStateError: Failed to execute 'queryCommandSupported' on 'Document': queryCommandSupported is only supported on HTML documents..
11 PASS xmldoc.queryCommandValue('bold') threw exception InvalidStateError: Failed to execute 'queryCommandValue' on 'Document': queryCommandValue is only supported on HTML documents..
12 PASS successfullyParsed is true