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

Unified Diff: chrome/test/data/devtools/extensions/devtools_messaging/devtools.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/devtools/extensions/devtools_messaging/devtools.js
diff --git a/chrome/test/data/devtools/extensions/devtools_messaging/devtools.js b/chrome/test/data/devtools/extensions/devtools_messaging/devtools.js
index bd094a9d5a31fe3ba566e3b56b9baf43d4ae2e3e..56c2f14caeffd5192fe9f139eb280f3e0973ebd3 100644
--- a/chrome/test/data/devtools/extensions/devtools_messaging/devtools.js
+++ b/chrome/test/data/devtools/extensions/devtools_messaging/devtools.js
@@ -1,3 +1,7 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
function output(msg) {
chrome.devtools.inspectedWindow.eval("console.log(unescape('" +
escape(msg) + "'));")
@@ -38,7 +42,7 @@ function step3() {
assertEquals("port.onMessage: foo", message);
completeTest();
}
- var port = chrome.extension.connect();
+ var port = chrome.runtime.connect();
port.onMessage.addListener(onMessage);
port.postMessage("foo");
}
« no previous file with comments | « chrome/test/data/devtools/extensions/devtools_messaging/background.js ('k') | chrome/test/data/extensions/api_test/README.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698