Index: chrome/test/data/extensions/api_test/filesystem_handler_lazy_background/tab.js |
diff --git a/chrome/test/data/extensions/api_test/filesystem_handler_lazy_background/tab.js b/chrome/test/data/extensions/api_test/filesystem_handler_lazy_background/tab.js |
index 95f96774c2628181266a8ff7c066d36a58f94eda..56972e78f42a7ee565af58c4ba67566440d9ff2a 100644 |
--- a/chrome/test/data/extensions/api_test/filesystem_handler_lazy_background/tab.js |
+++ b/chrome/test/data/extensions/api_test/filesystem_handler_lazy_background/tab.js |
@@ -32,7 +32,7 @@ function errorCallback(error) { |
}; |
} |
- chrome.extension.sendMessage(fileBrowserExtensionId, |
+ chrome.runtime.sendMessage(fileBrowserExtensionId, |
{fileContent: null, |
error: {message: "File handler error: " + msg}}, |
function(response) {}); |
@@ -42,7 +42,7 @@ function onGotEntryByUrl(entry) { |
var reader = new FileReader(); |
reader.onloadend = function(e) { |
// Send data back to the file browser extension |
- chrome.extension.sendMessage( |
+ chrome.runtime.sendMessage( |
fileBrowserExtensionId, |
{fileContent: reader.result, error: null}, |
function(response) {}); |