docshell/test/file_bug540462.html
author Mike Habicher <mikeh@mozilla.com>
Wed, 07 Aug 2013 19:51:54 -0400
changeset 119839 1433d653b701fcec58d146f92c90d4630beec958
parent 37433 582e1c0c2b21c75f2ef38196feb809bd48a9004e
permissions -rw-r--r--
Bug 890427 - Let the Camera app know when the preview has actually started/stopped. r=jst, a=leo+

<html>
  <head>
    <script>
    //<!--
    function test() {
      document.open();
      document.write("<html><body onload='opener.documentWriteLoad(); rel();'><a href='foo.html'>foo</a><script>function rel() { setTimeout('location.reload()', 0); }</script></body></html>");
      document.close();
    }
    //-->
    </script>
  </head>
  <body onload="setTimeout('test()', 0)">
    Test for bug 540462
  </body>
</html>