| 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.chooseFile({type: 'saveFile'}, chrome.test.callbackFail( | 7 chrome.fileSystem.chooseEntry({type: 'saveFile'}, chrome.test.callbackFail( |
| 8 'Operation requires fileSystemWrite permission', function() {})); | 8 'Operation requires fileSystemWrite permission', function() {})); |
| 9 } | 9 } |
| 10 ]); | 10 ]); |
| OLD | NEW |