summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/data
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-22 14:58:54 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-22 14:58:54 +0000
commit95bbb6c557f49c00783543d1313c2caec63adf31 (patch)
tree506ebdf52773c5360442e49e1f25c0e06b68bb20 /chrome_frame/test/data
parentde4aebacced33aa826ec85c91332ac1e87ffe50d (diff)
downloadchromium_src-95bbb6c557f49c00783543d1313c2caec63adf31.zip
chromium_src-95bbb6c557f49c00783543d1313c2caec63adf31.tar.gz
chromium_src-95bbb6c557f49c00783543d1313c2caec63adf31.tar.bz2
The ChromeFrame JavascriptWindowOpen test tries to open a popup in the onload notification, which is blocked on
IE7/8 by the popup blocker thus causing this test to consistently fail. Fix is to open the popup in the ondblclick notification and to fire dummy mouse down events to the IE window to trigger this event. TBR=amit Review URL: http://codereview.chromium.org/2866013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50458 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test/data')
-rw-r--r--chrome_frame/test/data/no_interference/window_open.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome_frame/test/data/no_interference/window_open.html b/chrome_frame/test/data/no_interference/window_open.html
index b426b17..a8b1c37 100644
--- a/chrome_frame/test/data/no_interference/window_open.html
+++ b/chrome_frame/test/data/no_interference/window_open.html
@@ -1,12 +1,13 @@
<html>
<head>
<script type="text/javascript">
- window.onload = function() {
+ function popup() {
window.open("empty.html", "test");
}
</script>
</head>
- <body>
+
+ <body ondblclick="popup();">
Calling window.open...
</body>
</html> \ No newline at end of file