| Index: chrome/test/data/extensions/error_console/browser_action_runtime_error/browser_action.js
|
| diff --git a/chrome/test/data/extensions/api_test/file_system/open_directory_with_only_write/background.js b/chrome/test/data/extensions/error_console/browser_action_runtime_error/browser_action.js
|
| similarity index 53%
|
| copy from chrome/test/data/extensions/api_test/file_system/open_directory_with_only_write/background.js
|
| copy to chrome/test/data/extensions/error_console/browser_action_runtime_error/browser_action.js
|
| index e63978ce68a8f3b700fd0dd71651c15b7186feef..892135470961435c8d109f22cd9cee6843680d0c 100644
|
| --- a/chrome/test/data/extensions/api_test/file_system/open_directory_with_only_write/background.js
|
| +++ b/chrome/test/data/extensions/error_console/browser_action_runtime_error/browser_action.js
|
| @@ -2,6 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -chrome.app.runtime.onLaunched.addListener(function () {
|
| - chrome.app.window.create('test.html');
|
| +chrome.browserAction.onClicked.addListener(function(tab) {
|
| + // This will cause a javascript error, since these are not defined.
|
| + foobar = baz;
|
| });
|
|
|