| Index: chrome/test/data/extensions/platform_apps/hidden_then_shown/test.js
|
| diff --git a/chrome/test/data/extensions/platform_apps/hidden/test.js b/chrome/test/data/extensions/platform_apps/hidden_then_shown/test.js
|
| similarity index 50%
|
| copy from chrome/test/data/extensions/platform_apps/hidden/test.js
|
| copy to chrome/test/data/extensions/platform_apps/hidden_then_shown/test.js
|
| index c11022784fb68549df4d1fd6b655d82c0107a5f4..d1a7ff13ce95325831634072e2fb1dd6722cb04c 100644
|
| --- a/chrome/test/data/extensions/platform_apps/hidden/test.js
|
| +++ b/chrome/test/data/extensions/platform_apps/hidden_then_shown/test.js
|
| @@ -3,9 +3,14 @@
|
| // found in the LICENSE file.
|
|
|
| chrome.app.runtime.onLaunched.addListener(function() {
|
| - chrome.app.window.create('main.html', {
|
| + chrome.app.window.create('empty.html', {
|
| hidden: true,
|
| - }, function () {
|
| - chrome.test.sendMessage('Launched');
|
| + }, function (win) {
|
| + chrome.test.sendMessage('Launched', function () {
|
| + setTimeout(function () {
|
| + win.show();
|
| + chrome.test.sendMessage('Shown');
|
| + }, 3000);
|
| + });
|
| });
|
| -});
|
| +});
|
|
|