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

Side by Side Diff: chrome/test/data/extensions/api_test/clipboard/test.js

Issue 6976002: Support clipboardRead and clipboardWrite permission for hosted apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/data/extensions/api_test/clipboard/test.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Clipboard permission test for Chrome.
2 // browser_tests.exe --gtest_filter=ExtensionApiTest.Clipboard
3
4 chrome.test.getConfig(function(config) {
5 chrome.test.runTests([
6 function domCopy() {
7 document.body.addEventListener('copy', chrome.test.callbackPass());
8 document.execCommand('copy');
9 },
10 function domPaste() {
11 document.body.addEventListener('paste', chrome.test.callbackPass());
12 document.execCommand('paste');
13 }
14 ]);
15 });
OLDNEW
« no previous file with comments | « chrome/test/data/extensions/api_test/clipboard/test.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698