Index: chrome/test/data/extensions/platform_apps/geometry/test.js |
diff --git a/chrome/test/data/extensions/platform_apps/geometry/test.js b/chrome/test/data/extensions/platform_apps/geometry/test.js |
index 17a188015b95a86505d62fceb1a03ab4be7da948..8ddeaef9ccb06858a27bc7438ce30cb12b3a38f5 100644 |
--- a/chrome/test/data/extensions/platform_apps/geometry/test.js |
+++ b/chrome/test/data/extensions/platform_apps/geometry/test.js |
@@ -24,7 +24,10 @@ var testRestoreSize = function(id, frameType) { |
win.setBounds(newBounds); |
function boundsChanged() { |
assertBoundsEqual(newBounds, win.getBounds()); |
+ win.onClosed.addListener(callbackPass(windowClosed)); |
win.close(); |
+ } |
+ function windowClosed() { |
chrome.app.window.create('empty.html', |
{ id: id, |
left: 113, top: 117, width: 314, height: 271, |