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

// Copyright 2015 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 userRejectedVolume() {
    chrome.fileSystem.requestFileSystem(
        {volumeId: 'testing:read-only'},
        chrome.test.callbackFail('Security error.', function(fileSystem) {
          chrome.test.assertFalse(!!fileSystem);
        }));
  }
]);