Chromium Code Reviews| Index: LayoutTests/editing/execCommand/non-html-document.html |
| diff --git a/LayoutTests/editing/execCommand/non-html-document.html b/LayoutTests/editing/execCommand/non-html-document.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ed6aaa60d7bbffcf635e6bccdd96a045c4c93f8b |
| --- /dev/null |
| +++ b/LayoutTests/editing/execCommand/non-html-document.html |
| @@ -0,0 +1,8 @@ |
| +<!DOCTYPE html> |
| +<script src='../../resources/js-test.js'></script> |
| +<script> |
| +description("Non HTMLDocument such as XMLDocument shouldn't support execCommand"); |
| + |
| +var xmldoc = window.document.implementation.createDocument('http://www.w3.org/1999/xlink', 'html', null); |
| +shouldBeFalse("xmldoc.execCommand('bold, false, null')"); |
|
yosin_UTC9
2015/05/27 06:57:44
nit: you don't need to specify |false, null| for |
kouhei (in TOK)
2015/05/27 07:04:19
Done.
|
| +</script> |