Index: chrome/test/data/extensions/api_test/pointer_lock/has_permission/background.js |
diff --git a/chrome/test/data/extensions/browsertest/crash_44415/ExtB/background.js b/chrome/test/data/extensions/api_test/pointer_lock/has_permission/background.js |
similarity index 63% |
copy from chrome/test/data/extensions/browsertest/crash_44415/ExtB/background.js |
copy to chrome/test/data/extensions/api_test/pointer_lock/has_permission/background.js |
index 70d9874c12dfaaaf9c4b09246b2d706aafebd788..ba1f1d22ba3805a0f51f9c4ee57e74b35f37d48a 100644 |
--- a/chrome/test/data/extensions/browsertest/crash_44415/ExtB/background.js |
+++ b/chrome/test/data/extensions/api_test/pointer_lock/has_permission/background.js |
@@ -2,6 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-chrome.tabs.getSelected(null, function(tab) { |
- chrome.pageAction.show(tab.id); |
+chrome.app.runtime.onLaunched.addListener(function() { |
+ chrome.app.window.create('window.html'); |
}); |