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

Unified Diff: chrome/test/data/extensions/api_test/lazy_background_page/messaging/content.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/lazy_background_page/messaging/content.js
diff --git a/chrome/test/data/extensions/api_test/lazy_background_page/messaging/content.js b/chrome/test/data/extensions/api_test/lazy_background_page/messaging/content.js
index 52953ccdcc64ae7cbb9ad30f486315842e15c39c..4a1b9b56ee5a3b29396054f1489d1e040eed0c94 100644
--- a/chrome/test/data/extensions/api_test/lazy_background_page/messaging/content.js
+++ b/chrome/test/data/extensions/api_test/lazy_background_page/messaging/content.js
@@ -2,5 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-var port = chrome.extension.connect();
+var port = chrome.runtime.connect();
port.postMessage({kittenMittens: true});

Powered by Google App Engine
This is Rietveld 408576698