1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
6 function openSizedWindow() {
8 // Note: width and height must be larger than the minimum window size
9 // and smaller than the max (screen) size.
10 { 'url': chrome.extension.getURL('popup.html'), 'type': 'popup',
11 'width': 200, 'height': 200 },
12 chrome.test.callbackPass(function(win) {
13 chrome.test.assertEq(200, win.width);
14 chrome.test.assertEq(200, win.height);