Index: chrome/test/data/extensions/api_test/content_scripts/bypass_page_csp/background.js |
diff --git a/chrome/test/data/extensions/api_test/content_scripts/bypass_page_csp/background.js b/chrome/test/data/extensions/api_test/content_scripts/bypass_page_csp/background.js |
index fbbeba18118b3f7280ce125d138d2211842e1459..c7837e6db275075df44784bae9113f46cdc5f6d2 100644 |
--- a/chrome/test/data/extensions/api_test/content_scripts/bypass_page_csp/background.js |
+++ b/chrome/test/data/extensions/api_test/content_scripts/bypass_page_csp/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); |