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

Unified Diff: chrome/test/webdriver/test/infobar_browser_action_extension/bg.html

Issue 8892015: Fix chromedriver test extensions to use manifest version 2 and not inline (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years 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
« no previous file with comments | « no previous file | chrome/test/webdriver/test/infobar_browser_action_extension/bg.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/test/infobar_browser_action_extension/bg.html
diff --git a/chrome/test/webdriver/test/infobar_browser_action_extension/bg.html b/chrome/test/webdriver/test/infobar_browser_action_extension/bg.html
index 20cea3cb96aa4297592f9da903d75cce84f4cb36..379d61e9ea7a3643623978cc1bcae5f8cf785541 100644
--- a/chrome/test/webdriver/test/infobar_browser_action_extension/bg.html
+++ b/chrome/test/webdriver/test/infobar_browser_action_extension/bg.html
@@ -1,18 +1 @@
-<script>
- var g_infobarReady = false;
- var g_callback = null;
- function waitForInfobar(callback) {
- if (g_infobarReady)
- callback();
- g_callback = callback;
- }
-
- chrome.tabs.create({'url': 'view_checks.html'}, function(tab) {
- chrome.experimental.infobars.show(
- {'tabId': tab.id, 'path': 'view_checks.html'}, function() {
- g_infobarReady = true;
- if (g_callback)
- g_callback();
- });
- });
-</script>
+<script src='bg.js'></script>
« no previous file with comments | « no previous file | chrome/test/webdriver/test/infobar_browser_action_extension/bg.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698