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

Unified Diff: chrome/test/data/extensions/api_test/clipboard/test.js

Issue 6480106: Add IPCs to check web copy/cut/paste for extensions with the appropriate permission bit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: . Created 9 years, 8 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
« no previous file with comments | « chrome/test/data/extensions/api_test/clipboard/manifest.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/clipboard/test.js
diff --git a/chrome/test/data/extensions/api_test/clipboard/test.js b/chrome/test/data/extensions/api_test/clipboard/test.js
index 9377129a740408b488c7facbf2ef4010b29a8f1f..b41a1b661a3cae555a5a5b15371fee7f987de199 100644
--- a/chrome/test/data/extensions/api_test/clipboard/test.js
+++ b/chrome/test/data/extensions/api_test/clipboard/test.js
@@ -65,6 +65,10 @@ chrome.test.getConfig(function(config) {
);
setupWindow();
},
+ function domCopy() {
+ document.body.addEventListener('copy', chrome.test.callbackPass());
+ document.execCommand('copy');
+ },
function domPaste() {
document.body.addEventListener('paste', chrome.test.callbackPass());
document.execCommand('paste');
« no previous file with comments | « chrome/test/data/extensions/api_test/clipboard/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698