Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/editing/pasteboard/copy-cut-paste-supported.html |
| diff --git a/third_party/WebKit/LayoutTests/editing/pasteboard/copy-cut-paste-supported.html b/third_party/WebKit/LayoutTests/editing/pasteboard/copy-cut-paste-supported.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..dc1f15b3680b97114dedb84d278f7ef4af14f3f2 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/editing/pasteboard/copy-cut-paste-supported.html |
| @@ -0,0 +1,10 @@ |
| +<!doctype html> |
| +<script src="../../resources/testharness.js"></script> |
| +<script src="../../resources/testharnessreport.js"></script> |
| +<script> |
| +test(function() { |
| + assert_true(document.queryCommandSupported('copy')); |
| + assert_true(document.queryCommandSupported('cut')); |
| + assert_true(document.queryCommandSupported('paste')); |
|
dcheng
2015/10/14 16:47:37
Should we test queryCommandEnabled as well? Or is
yosin_UTC9
2015/10/15 01:30:47
queryCommandEnabled for copy/cut/paster are done b
|
| +}); |
| +</script> |