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

Side by Side Diff: chrome/test/data/extensions/api_test/filesystem_handler/background.html

Issue 6749021: Added new fileBrowserPrivate and fileHandler extension APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 <script>
2 chrome.fileSystem.onExecuteAction.addListener(function(id, file_urls) {
3 if (id != "TestAction") {
4 chrome.test.fail("Unexpected action id: " + id);
5 return;
6 }
7 if (!file_urls || file_urls.length != 1) {
8 chrome.test.fail("Unexpected file url list");
9 return;
10 }
11 // Create a new tab
12 chrome.tabs.create({
13 url: "tab.html#" + file_urls[0]
14 });
15 });
16
17 chrome.test.succeed();
18
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698