chromium/chrome/test/data/extensions/api_test/file_system/save_existing_with_write/test.js

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

chrome.test.runTests([
  function saveFile() {
    chrome.fileSystem.chooseEntry({type: 'saveFile'},
        chrome.test.callbackPass(function(entry) {
      checkEntry(entry, 'save_existing.txt', false, true);
    }));
  }
]);