Index: chrome/test/data/extensions/platform_apps/outer_bounds/test.js |
diff --git a/chrome/test/data/extensions/api_test/developer/packaged_app/main.js b/chrome/test/data/extensions/platform_apps/outer_bounds/test.js |
similarity index 53% |
copy from chrome/test/data/extensions/api_test/developer/packaged_app/main.js |
copy to chrome/test/data/extensions/platform_apps/outer_bounds/test.js |
index d6a03fe14ea1f3b360a9095c432d967625116f65..10439e5d371ef79e38c3a3fa044dce6e5c7be57c 100644 |
--- a/chrome/test/data/extensions/api_test/developer/packaged_app/main.js |
+++ b/chrome/test/data/extensions/platform_apps/outer_bounds/test.js |
@@ -2,11 +2,18 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-chrome.test.sendMessage("app_launched"); |
- |
chrome.app.runtime.onLaunched.addListener(function() { |
chrome.app.window.create('main.html', { |
- 'width': 600, |
- 'height': 600 |
- }); |
+// frame: {color: '#ff0000'}, |
benwells
2014/08/12 03:51:40
Can we test for no frame, standard frame and color
jackhou1
2014/08/12 06:12:07
Done.
|
+ outerBounds: { |
+ left: 10, |
+ top: 11, |
+ width: 300, |
+ height: 301, |
+ minWidth: 200, |
+ minHeight: 201, |
+ maxWidth: 400, |
+ maxHeight: 401 |
+ } |
+ }, function () {}); |
benwells
2014/08/12 03:51:40
Nit: You can send the Launched message in this cal
jackhou1
2014/08/12 06:12:07
Done.
|
}); |