Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / test / data / dom_automation_test_with_popup.html
bloba19b5a08a11313ac14792ba9bf20bca122dc8db5
1 <HTML>
2 <HEAD>
3 <SCRIPT TYPE="text/javascript">
4 <!--
5 function popup(mylink, windowname) {
6 if (!window.focus)
7 return true;
8 var href;
9 if (typeof(mylink) == 'string')
10 href=mylink;
11 else
12 href=mylink.href;
13 var popup_window = window.open(href, windowname,
14 'width=400,height=200,scrollbars=yes');
15 popup_window.close();
16 return false;
18 //-->
19 </SCRIPT>
20 </HEAD>
22 <BODY onLoad="return popup(this, 'test popup')">
23 <br>Tests the case where an instance of the DOM Automation Controller bound to a
24 <br>popup is destroyed. Existing DOM Automation Controller instances should continue
25 <br>to work.
26 </BODY>
27 </HTML>