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

Unified Diff: chrome/test/data/extensions/api_test/infobars/test.js

Issue 20081002: Remove experimental permission from infobars API and moving it to dev channel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added license header Created 7 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
Index: chrome/test/data/extensions/api_test/infobars/test.js
diff --git a/chrome/test/data/extensions/api_test/infobars/test.js b/chrome/test/data/extensions/api_test/infobars/test.js
index 4a0ea3d028aee90342d465e12f976feff0351efa..90a304d4e8775647b108e04f72995ffab9ddde4b 100644
--- a/chrome/test/data/extensions/api_test/infobars/test.js
+++ b/chrome/test/data/extensions/api_test/infobars/test.js
@@ -29,8 +29,7 @@ var tests = [
console.log('windowB: ' + windowB);
// Show infobarA in window A (tab A) (and specify no callback).
- chrome.experimental.infobars.show({"path": "infobarA.html",
- "tabId": tabA});
+ chrome.infobars.show({"path": "infobarA.html", "tabId": tabA});
// Flow continues in infobarCallbackA.
});
});
@@ -53,9 +52,8 @@ function infobarCallbackA() {
tabB = tabs[0].id;
// Show infobarB in (current) window B (with callback).
- chrome.experimental.infobars.show({"path": "infobarB.html",
- "tabId": tabB},
- function(window) {
+ chrome.infobars.show({"path": "infobarB.html", "tabId": tabB},
+ function(window) {
assertEq(window.id, windowB);
// This infobar will call back to us through infobarCallbackB (below).
});

Powered by Google App Engine
This is Rietveld 408576698