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

Unified Diff: chrome/test/data/extensions/api_test/tabs/connect/echo.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: Created 7 years, 12 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/tabs/connect/echo.js
diff --git a/chrome/test/data/extensions/api_test/tabs/connect/echo.js b/chrome/test/data/extensions/api_test/tabs/connect/echo.js
index 1cab30cd38db8115ef8be5356434a1c41849c576..ae24e7dee5c78afdf6eacc45d84ddc635be16ca7 100644
--- a/chrome/test/data/extensions/api_test/tabs/connect/echo.js
+++ b/chrome/test/data/extensions/api_test/tabs/connect/echo.js
@@ -2,7 +2,7 @@
// Posting a message with "GET" returns the name and # of connections opened.
var connections = 0;
-chrome.extension.onConnect.addListener(function onConnect(port) {
+chrome.runtime.onConnect.addListener(function onConnect(port) {
connections++;
port.onMessage.addListener(function onMessage(msg) {
if (msg == "GET") {

Powered by Google App Engine
This is Rietveld 408576698