Index: chrome/test/data/extensions/api_test/content_scripts/isolated_world2/background.js |
diff --git a/chrome/test/data/extensions/api_test/content_scripts/isolated_world2/background.js b/chrome/test/data/extensions/api_test/content_scripts/isolated_world2/background.js |
index 8ecc51111e92cea8e50aab0bec0baa7d6af5ee90..aad0e773864cd98c4167cd5b7ad5edd008fcbcdd 100644 |
--- a/chrome/test/data/extensions/api_test/content_scripts/isolated_world2/background.js |
+++ b/chrome/test/data/extensions/api_test/content_scripts/isolated_world2/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) { |
chrome.test.log("got connect"); |
port.onMessage.addListener(function(msg) { |
chrome.test.log("got message: " + msg); |