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

Unified Diff: chrome/test/data/extensions/api_test/file_system/save_background/background.js

Issue 10663014: Add tests for chrome.fileSystem app API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed Created 8 years, 6 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: chrome/test/data/extensions/api_test/file_system/save_background/background.js
diff --git a/chrome/test/data/extensions/api_test/file_system/save_background/background.js b/chrome/test/data/extensions/api_test/file_system/save_background/background.js
new file mode 100644
index 0000000000000000000000000000000000000000..cb005aecbd12b5c1e1638c156d741994493afd00
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/file_system/save_background/background.js
@@ -0,0 +1,6 @@
+chrome.test.runTests([
+ function openFile() {
+ chrome.fileSystem.chooseFile({type: 'saveFile'}, chrome.test.callbackFail(
+ 'Invalid calling page', function(entry) {}));
+ }
+]);

Powered by Google App Engine
This is Rietveld 408576698