| Index: chrome/test/data/extensions/platform_apps/crashtest_hidden_windows/test.js
|
| diff --git a/chrome/test/data/extensions/platform_apps/crashtest_hidden_windows/test.js b/chrome/test/data/extensions/platform_apps/crashtest_hidden_windows/test.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..789037947f46c54d45836a2f041271ae94aefa45
|
| --- /dev/null
|
| +++ b/chrome/test/data/extensions/platform_apps/crashtest_hidden_windows/test.js
|
| @@ -0,0 +1,17 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// 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(
|
| + 'index.html', { width: 800, height: 600, hidden: true },
|
| + function() {
|
| + chrome.app.window.create(
|
| + 'index.html', { width: 800, height: 600, hidden: false },
|
| + function() {
|
| + chrome.test.sendMessage("Done");
|
| + }
|
| + );
|
| + }
|
| + );
|
| +});
|
|
|