| Index: chrome/test/data/extensions/api_test/filebrowser_component/main.js
|
| diff --git a/chrome/test/data/extensions/api_test/filebrowser_component/main.js b/chrome/test/data/extensions/api_test/filebrowser_component/main.js
|
| index 8d7cfc104ee7d17feb0a5db9fbe6668cec3b071e..140a6cb2803426ee543056d7994503de54013c43 100644
|
| --- a/chrome/test/data/extensions/api_test/filebrowser_component/main.js
|
| +++ b/chrome/test/data/extensions/api_test/filebrowser_component/main.js
|
| @@ -78,7 +78,7 @@ var TestRunner = function(expectations) {
|
| TestRunner.prototype.runTest = function() {
|
| // Get local FS, create dir with a file in it.
|
| console.log('Requesting local file system...');
|
| - chrome.extension.onMessageExternal.addListener(this.listener_);
|
| + chrome.runtime.onMessageExternal.addListener(this.listener_);
|
| chrome.fileBrowserPrivate.requestLocalFileSystem(
|
| this.onFileSystemFetched_.bind(this));
|
| };
|
| @@ -191,7 +191,7 @@ TestRunner.prototype.onHandlerRequest_ =
|
| this.expectations_.verifyHandlerRequest(
|
| request,
|
| this.verifyRequestCallback_.bind(this, sendResponse));
|
| - chrome.extension.onMessageExternal.removeListener(this.listener_);
|
| + chrome.runtime.onMessageExternal.removeListener(this.listener_);
|
| };
|
|
|
| TestRunner.prototype.verifyRequestCallback_ = function(sendResponse, error) {
|
|
|