Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: third_party/WebKit/LayoutTests/editing/pasteboard/copy-cut-paste-supported.html

Issue 1406713002: Make queryCommandSupported(copy|cut|paste) always return true (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2015-10-14T18:29:33 Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698