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"); |
} |