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

Side by Side Diff: chrome/test/data/extensions/api_test/permissions/experimental_disabled/background.html

Issue 1530002: Move history API out of experimental. Allow extensions to override history page. (Closed)
Patch Set: Rebase for commit. Created 10 years, 8 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
OLDNEW
(Empty)
1 <script>
2 // Calls to chrome.experimental.* functions should fail, since this extension
3 // has not declared that permission.
4
5 chrome.test.runTests([
6 function experimental() {
7 chrome.tabs.getSelected(null, function(tab) {
8 try {
9 chrome.experimental.processes.getProcessForTab(tab.id,
10 function(process) {
11 chrome.test.fail();
12 });
13 } catch (e) {
14 chrome.test.succeed();
15 }
16 });
17 }
18 ]);
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698