Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / test / data / extensions / api_test / extension_module / incognito_file / test.js
blob5003fe3f9d2eb2d1fb5b80b3fa5231d8f0b2e4eb
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.
5 // extension api test
6 // browser_tests.exe --gtest_filter=ExtensionModuleApiTest.IncognitoFile
8 chrome.test.runTests([
9   function testPermissions() {
10     chrome.extension.isAllowedIncognitoAccess(
11         chrome.test.callbackPass(function(hasAccess) {
12           chrome.test.assertTrue(hasAccess);
13         }));
14     chrome.extension.isAllowedFileSchemeAccess(
15         chrome.test.callbackPass(function(hasAccess) {
16           chrome.test.assertTrue(hasAccess);
17         }));
18   }
19 ]);