1 // Copyright (c) 2011 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.
5 // Wait to be resized by the browser once before indicating pass.
7 window.removeEventListener("resize", onResize);
8 chrome.test.notifyPass();
11 window.addEventListener("resize", onResize);