| Index: chrome/test/data/extensions/api_test/cloud_print_private/enable_chrome_connector/cloud_print_incognito_failure_tests.js
|
| diff --git a/chrome/test/data/extensions/api_test/cloud_print_private/enable_chrome_connector/cloud_print_incognito_failure_tests.js b/chrome/test/data/extensions/api_test/cloud_print_private/enable_chrome_connector/cloud_print_incognito_failure_tests.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d588f06864a06fd59686d43f57d5e1655e945f52
|
| --- /dev/null
|
| +++ b/chrome/test/data/extensions/api_test/cloud_print_private/enable_chrome_connector/cloud_print_incognito_failure_tests.js
|
| @@ -0,0 +1,15 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +var tests = [
|
| + function getPrinters() {
|
| + chrome.cloudPrintPrivate.getPrinters(
|
| + function(result) {
|
| + chrome.test.assertLastError("Cannot access in incognito mode");
|
| + chrome.test.succeed();
|
| + });
|
| + }
|
| +];
|
| +
|
| +chrome.test.runTests(tests);
|
|
|