| Index: chrome/test/data/extensions/api_test/app_notifications/test.js
|
| diff --git a/chrome/test/data/extensions/api_test/app_notifications/test.js b/chrome/test/data/extensions/api_test/app_notifications/test.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2a943aa00774a0af894f46161056efe91a62c960
|
| --- /dev/null
|
| +++ b/chrome/test/data/extensions/api_test/app_notifications/test.js
|
| @@ -0,0 +1,18 @@
|
| +// Copyright (c) 2012 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 error = "This API is not accessible by 'split' mode extensions" +
|
| + " in incognito windows.";
|
| +
|
| +chrome.test.runTests([
|
| + function notify() {
|
| + chrome.experimental.app.notify(
|
| + {}, chrome.test.callbackFail(error));
|
| + },
|
| +
|
| + function clearAllNotifications() {
|
| + chrome.experimental.app.clearAllNotifications(
|
| + {}, chrome.test.callbackFail(error));
|
| + }
|
| +]);
|
|
|