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

Unified Diff: chrome/test/data/extensions/api_test/executescript/in_frame/script.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/executescript/in_frame/script.js
diff --git a/chrome/test/data/extensions/api_test/executescript/in_frame/script.js b/chrome/test/data/extensions/api_test/executescript/in_frame/script.js
index a4efa64bbe0883d68a30ee63d828ca0caa594bec..d05a2a39a65f7a7a348ec0203acab3b8d915ecb7 100644
--- a/chrome/test/data/extensions/api_test/executescript/in_frame/script.js
+++ b/chrome/test/data/extensions/api_test/executescript/in_frame/script.js
@@ -15,5 +15,5 @@ function getStyle(elem, name) {
var bElement = document.getElementById('test2');
var display = getStyle(bElement, 'display').toLowerCase();
-var extensionPort = chrome.extension.connect();
+var extensionPort = chrome.runtime.connect();
extensionPort.postMessage({message: display});

Powered by Google App Engine
This is Rietveld 408576698