chromium/chrome/test/data/extensions/api_test/file_system/request_file_system_not_allowed_component/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 readOnlyVolume() {
    chrome.fileSystem.requestFileSystem(
        {volumeId: 'testing:read-only'},
        chrome.test.callbackFail('Operation only supported for kiosk apps ' +
            'running in a kiosk session.', function(fileSystem) {
          chrome.test.assertFalse(!!fileSystem);
        }));
  }
]);