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

Unified Diff: chrome/test/data/extensions/api_test/window_open/spanning/background.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/window_open/spanning/background.js
diff --git a/chrome/test/data/extensions/api_test/window_open/spanning/background.js b/chrome/test/data/extensions/api_test/window_open/spanning/background.js
index 035aeebe884dd180fc8cc1d2072232991dbc2000..582b5b67fbad1b896c5489ef522ffdf1059c35b3 100644
--- a/chrome/test/data/extensions/api_test/window_open/spanning/background.js
+++ b/chrome/test/data/extensions/api_test/window_open/spanning/background.js
@@ -14,8 +14,7 @@ function openFromNormalShouldOpenInNormal() {
chrome.test.assertFalse(windows[0].tabs[0].incognito);
// The rest of the test continues in infobar.html.
- chrome.experimental.infobars.show({tabId: windows[0].tabs[0].id,
- path: "infobar.html"});
+ chrome.infobars.show({tabId: windows[0].tabs[0].id, path: "infobar.html"});
});
}
@@ -31,8 +30,7 @@ function openFromExtensionHostInIncognitoBrowserShouldOpenInNormalBrowser() {
chrome.tabs.getAllInWindow(incognitoWin.id, function(tabs) {
chrome.test.assertEq(1, tabs.length);
// The rest of the test continues in infobar.html.
- chrome.experimental.infobars.show({tabId: tabs[0].id,
- path: "infobar.html"});
+ chrome.infobars.show({tabId: tabs[0].id, path: "infobar.html"});
});
});
});

Powered by Google App Engine
This is Rietveld 408576698