dom/tests/mochitest/dom-level0/test_innerWidthHeight_script.html
author Nils Maier <maierman@web.de>
Wed, 28 Nov 2012 13:13:13 -0500
changeset 114378 0e5ca55005ae8ef9002ac12472740104fb79fd47
parent 74346 95496a360748609134a5c666d57c7f48aa23393e
child 148981 356ba083bb5f8f5e6f76d69d2f5109d37b709039
permissions -rw-r--r--
Bug 719180: Part 2 - Add jar channel unit tests; r=taras

<!DOCTYPE html>
<html>
<head>
  <title>Bug 602580 - Test getting and setting innerWidth and Height after using setCSSViewport</title>
  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
  <!--
    This acts funny when run in the normal content frame
    so instead We load it in a separate window.
  -->
</head>
<body onload="runTest()">
  <script class="testbody" type="text/javascript">
  SimpleTest.waitForExplicitFinish();
  var newWin = null;
  function runTest() {
     newWin = window.open("innerWidthHeight_script.html", '_new', 'width=600,height=400');
  }

  function finish() {
    newWin.close();
    SimpleTest.finish();
  }
  </script>
</body>
</html>