diff options
Diffstat (limited to 'chrome/browser/extensions/extension_messages_unittest.cc')
-rw-r--r-- | chrome/browser/extensions/extension_messages_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_messages_unittest.cc b/chrome/browser/extensions/extension_messages_unittest.cc index 606c301..4c31dc3 100644 --- a/chrome/browser/extensions/extension_messages_unittest.cc +++ b/chrome/browser/extensions/extension_messages_unittest.cc @@ -14,7 +14,7 @@ TEST_F(RenderViewTest, ExtensionMessagesOpenChannel) { render_thread_.sink().ClearMessages(); LoadHTML("<body></body>"); ExecuteJavaScript( - "var e = new chromium.Extension('foobar');" + "var e = new chrome.Extension('foobar');" "var port = e.connect();" "port.onMessage.addListener(doOnMessage);" "port.postMessage({message: 'content ready'});" @@ -57,7 +57,7 @@ TEST_F(RenderViewTest, ExtensionMessagesOpenChannel) { TEST_F(RenderViewTest, ExtensionMessagesOnConnect) { LoadHTML("<body></body>"); ExecuteJavaScript( - "chromium.self.onConnect.addListener(function (port) {" + "chrome.self.onConnect.addListener(function (port) {" " port.onMessage.addListener(doOnMessage);" " port.postMessage({message: 'onconnect from ' + port.tab.url});" "});" |