Index: chrome/test/data/extensions/api_test/filesystem_handler_write/tab.js |
diff --git a/chrome/test/data/extensions/api_test/filesystem_handler_write/tab.js b/chrome/test/data/extensions/api_test/filesystem_handler_write/tab.js |
index 14b72ee99a142e6847c1608e2cc4c088004342cb..725600eaf8a75cf03135ccf01b23d38bd9a7a115 100644 |
--- a/chrome/test/data/extensions/api_test/filesystem_handler_write/tab.js |
+++ b/chrome/test/data/extensions/api_test/filesystem_handler_write/tab.js |
@@ -43,14 +43,14 @@ function errorCallback(error) { |
}; |
} |
- chrome.extension.sendMessage(fileBrowserExtensionId, |
+ chrome.runtime.sendMessage(fileBrowserExtensionId, |
{fileContent: null, |
error: {message: "File handler error: " + msg}}, |
function(response) {}); |
}; |
function onSuccess(text) { |
- chrome.extension.sendMessage( |
+ chrome.runtime.sendMessage( |
fileBrowserExtensionId, |
{fileContent: text, error: null}, |
function(response) {}); |
@@ -71,7 +71,7 @@ function writeToFile(entry, text) { |
function runFileSystemHandlerTest(entries) { |
if (!entries || entries.length != 1 || !entries[0]) { |
- chrome.extension.sendMessage( |
+ chrome.runtime.sendMessage( |
fileBrowserExtensionId, |
{fileContent: null, error: 'Invalid file entries.'}, |
function(response) {}); |