Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: docshell/test/chrome/chrome.toml
 
<?xml version="1.0"?>
<!--
-->
  <!-- test results are displayed in the html:body -->
  </body>
  <!-- test code goes here -->
  <script type="application/javascript"><![CDATA[
SimpleTest.waitForExplicitFinish();
SimpleTest.waitForFocus(doTest);
function doTest() {
  var hiddenBrowser = document.getElementById("hiddenBrowser");
  hiddenBrowser.contentWindow.focus();
  ok(!hiddenBrowser.contentDocument.hasFocus(), "hidden browser is unfocusable");
  SimpleTest.finish();
}
  ]]></script>
  <box flex="1" style="visibility: hidden; border:5px black solid">
  </box>
</window>