| Index: chrome/test/data/extensions/platform_apps/windows_api_set_icon/background.js
|
| diff --git a/chrome/browser/resources/apps_debugger/background.js b/chrome/test/data/extensions/platform_apps/windows_api_set_icon/background.js
|
| similarity index 58%
|
| copy from chrome/browser/resources/apps_debugger/background.js
|
| copy to chrome/test/data/extensions/platform_apps/windows_api_set_icon/background.js
|
| index fc106f2b4f78ee98e6cd495de8b63f13fb78e3b2..85029bd662d667f23b01952fc6508840e416250b 100644
|
| --- a/chrome/browser/resources/apps_debugger/background.js
|
| +++ b/chrome/test/data/extensions/platform_apps/windows_api_set_icon/background.js
|
| @@ -3,8 +3,9 @@
|
| // found in the LICENSE file.
|
|
|
| chrome.app.runtime.onLaunched.addListener(function() {
|
| - chrome.app.window.create('main.html', {
|
| - 'width': 600,
|
| - 'height': 600
|
| + chrome.test.sendMessage("Launched");
|
| + chrome.app.window.create('test.html', {}, function(win) {
|
| + win.setIcon("icon.png");
|
| + chrome.test.sendMessage('IconSet');
|
| });
|
| });
|
|
|