1 // Copyright (c) 2010 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 // browser_tests.exe --gtest_filter=ExtensionModuleApiTest.IncognitoFile
9 function testPermissions() {
10 chrome.extension.isAllowedIncognitoAccess(
11 chrome.test.callbackPass(function(hasAccess) {
12 chrome.test.assertTrue(hasAccess);
14 chrome.extension.isAllowedFileSchemeAccess(
15 chrome.test.callbackPass(function(hasAccess) {
16 chrome.test.assertTrue(hasAccess);