Index: chrome_frame/test/data/window_open.html |
diff --git a/chrome_frame/test/data/window_open.html b/chrome_frame/test/data/window_open.html |
index 7708491140686ec72d431dc8a1960ec308d43035..2478c429acc06cb8a6d0ef03f13deb36d1ef643b 100644 |
--- a/chrome_frame/test/data/window_open.html |
+++ b/chrome_frame/test/data/window_open.html |
@@ -7,8 +7,10 @@ |
function OnClick() { |
// Open popup to the url from the given query string. |
var url = window.location.search.substring(1); |
- new_window = window.open(url, "_blank", |
- "left=10, top=10, height=250, width=250"); |
+ if (!new_window) { |
+ new_window = window.open(url, "_blank", |
+ "left=10, top=10, height=250, width=250"); |
+ } |
} |
function OnKeyPress() { |