summaryrefslogtreecommitdiffstats
path: root/WebContent/statictestfiles/ticket2095.html
blob: 228c9e0dab59ccd1f6fee45582ab502ccd667102 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<html>
<head>
<script type="text/javascript">

function openPopup() {
	// possible workaround if IEmbedded was not modified to add name
	// window.name = "foo";
	var popup = window.open('ticket2095_popup.html','mypopup');
	popup._parentName = this.name;
}
</script>
</head>
<body>
<p>
This is file is part of test case for #2095. Embedded.TYPE_BROWSER like iframes 
wants to have name, so popups opened by them may submit forms into them.

</p>


<a href="#" onclick="openPopup();">Open popup, will hit debuggger;</a>

</body>

</html>