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

Side by Side 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, 4 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 // Test that we can call the tabs API. We don't care what the result is; tabs
6 // are tested elsewhere. We just care that we can call it without a
7 // permissions error.
8 chrome.windows.getAll(null, function() {
9 chrome.test.assertNoLastError();
10 chrome.extension.getBackgroundPage().onNotificationDone(window);
11 });
OLDNEW
« 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