[MacViews] Show comboboxes with a native NSMenu
[chromium-blink-merge.git] / chrome / test / data / extensions / api_test / extension_module / incognito_nofile / test.js
blob9d56c24cd701e2c4b1aca223fbab4cfe14a03078
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.IncognitoNofile
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.assertFalse(hasAccess);
17 }));
19 ]);