chromium/chrome/test/data/dom_automation_test_with_popup.html

<HTML>
<HEAD>
<SCRIPT TYPE="text/javascript">
<!--
function popup(mylink, windowname) {
  if (!window.focus)
    return true;
  var href;
  if (typeof(mylink) == 'string')
    href=mylink;
  else
    href=mylink.href;
  var popup_window = window.open(href, windowname,
                                 'width=400,height=200,scrollbars=yes');
  popup_window.close();
  return false;
}
//-->
</SCRIPT>
</HEAD>

<BODY onLoad="return popup(this, 'test popup')">
<br>Tests the case where an instance of the DOM Automation Controller bound to a
<br>popup is destroyed. Existing DOM Automation Controller instances should continue
<br>to work.
</BODY>
</HTML>