OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 chrome.test.runTests([ | 5 chrome.test.runTests([ |
6 function saveFile() { | 6 function saveFile() { |
7 chrome.fileSystem.chooseEntry({type: 'saveFile'}, | 7 chrome.fileSystem.chooseEntry( |
8 chrome.test.callbackPass(function(entry) { | 8 {type: 'saveFile', acceptsMultiple: true}, chrome.test.callbackFail( |
9 checkEntry(entry, 'save_existing.txt', false, true); | 9 "acceptsMultiple: true is not supported for 'saveFile'")); |
10 })); | |
11 } | 10 } |
12 ]); | 11 ]); |
OLD | NEW |