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

Unified Diff: chrome/test/data/extensions/api_test/permissions/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, 9 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
Index: chrome/test/data/extensions/api_test/permissions/disabled/background.html
diff --git a/chrome/test/data/extensions/api_test/permissions/disabled/background.html b/chrome/test/data/extensions/api_test/permissions/disabled/background.html
index 13632919d5234d9086fd1479e300741a464ddb17..b5c52c55c2e27f7890267f86ea0b7f363d34892a 100755
--- a/chrome/test/data/extensions/api_test/permissions/disabled/background.html
+++ b/chrome/test/data/extensions/api_test/permissions/disabled/background.html
@@ -1,12 +1,12 @@
<script>
-// All of these tests should fail, since this extension has requested no
-// permissions.
+// All of the calls to chrome.* functions should fail, since this extension
+// has requested no permissions.
chrome.test.runTests([
function history() {
try {
var query = { 'text': '', 'maxResults': 1 };
- chrome.experimental.history.search(query, function(results) {
+ chrome.history.search(query, function(results) {
chrome.test.fail();
});
} catch (e) {

Powered by Google App Engine
This is Rietveld 408576698