- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / test / data / extensions / api_test / extension_module / incognito_file / test.js
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.
4
5 // extension api test
6 // browser_tests.exe --gtest_filter=ExtensionModuleApiTest.IncognitoFile
7
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 ]);