Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4890)

Unified Diff: chrome/test/data/extensions/api_test/notifications/has_permission_prefs/notification.js

Issue 10808113: Only allows extensions to create HTML notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/extensions/api_test/notifications/has_permission_prefs/notification.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/notifications/has_permission_prefs/notification.js
diff --git a/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/notification.js b/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/notification.js
deleted file mode 100644
index debe4bb54890170e6b5b5b8410335629a7738d1e..0000000000000000000000000000000000000000
--- a/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/notification.js
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright (c) 2011 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.
-
-// Test that we can call the tabs API. We don't care what the result is; tabs
-// are tested elsewhere. We just care that we can call it without a
-// permissions error.
-chrome.windows.getAll(null, function() {
- chrome.test.assertNoLastError();
- chrome.extension.getBackgroundPage().onNotificationDone(window);
-});
« no previous file with comments | « chrome/test/data/extensions/api_test/notifications/has_permission_prefs/notification.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698