Index: chrome/test/data/extensions/api_test/lazy_background_page/messaging/background.js |
diff --git a/chrome/test/data/extensions/api_test/lazy_background_page/messaging/background.js b/chrome/test/data/extensions/api_test/lazy_background_page/messaging/background.js |
index 06f93384622109a5632e00492d9f19ae65c7dcce..b3ef9003d945c82b897191c77c0e54b93c2860f7 100644 |
--- a/chrome/test/data/extensions/api_test/lazy_background_page/messaging/background.js |
+++ b/chrome/test/data/extensions/api_test/lazy_background_page/messaging/background.js |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-chrome.extension.onConnect.addListener(function(port) { |
+chrome.runtime.onConnect.addListener(function(port) { |
port.onMessage.addListener(function(msg) { |
chrome.test.notifyPass(); |
}); |