chromium/chrome/test/data/extensions/api_test/file_system/open_background/background.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 openFile() {
    chrome.fileSystem.chooseEntry(chrome.test.callbackFail(
        "Invalid calling page. This function can't be called from a " +
        "background page.", function(entry) {}));
  }
]);