Index: chrome/test/data/extensions/uitest/window_open/test.js |
=================================================================== |
--- chrome/test/data/extensions/uitest/window_open/test.js (revision 0) |
+++ chrome/test/data/extensions/uitest/window_open/test.js (revision 0) |
@@ -0,0 +1,8 @@ |
+// Copyright (c) 2011 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. |
+ |
+function testWindowOpen(url) { |
+ window.open(url); |
+ window.domAutomationController.send(true); |
+} |