1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
6 function goodDisplayName() {
7 chrome.fileSystemProvider.mount(
9 function(fileSystemId) {
10 chrome.test.assertEq('string', typeof(fileSystemId));
11 chrome.test.assertTrue(fileSystemId != '');
12 chrome.test.succeed();
19 function emptyDisplayName() {
20 chrome.fileSystemProvider.mount(
22 function(fileSystemId) {
26 chrome.test.assertEq('SecurityError', error.name);
27 chrome.test.succeed();