Index: chrome/test/data/extensions/api_test/lazy_background_page/wait_for_view/background.js |
diff --git a/chrome/test/data/extensions/api_test/lazy_background_page/wait_for_view/background.js b/chrome/test/data/extensions/api_test/lazy_background_page/wait_for_view/background.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4e41a9fdb1c3b0f5bc5ad2c76d5b7e3e5bbbf331 |
--- /dev/null |
+++ b/chrome/test/data/extensions/api_test/lazy_background_page/wait_for_view/background.js |
@@ -0,0 +1,7 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+chrome.experimental.extension.onInstalled.addListener(function() { |
+ chrome.tabs.create({url: "extension_page.html"}, chrome.test.callbackPass()); |
+}); |