Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6717)

Unified Diff: chrome/test/data/extensions/api_test/content_scripts/isolated_world2/background.js

Issue 11745015: Update references to the extension messaging APIs to point to the "runtime" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698