editor/reftests/input-text-onfocus-reframe-ref.html
author Geoff Brown <gbrown@mozilla.com>
Tue, 18 Dec 2012 22:18:03 -0700
changeset 125609 f9e5c189ae6bb96424ee9a243c5238c747951810
parent 97003 42c372c2f7493b79f79c58150b5531d23e74ca61
permissions -rw-r--r--
Bug 817235 - Make xpcshell tests work with sutAgent; r=jmaher

<!DOCTYPE HTML>
<html class="reftest-wait">
<head>
	<title>bug 536421</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body onload="doTest()">
  <input value="test" id="textbox" onfocus="triggerBug();" type="text">
  <script type="text/javascript">
    function finishTest()
    {
      document.documentElement.removeAttribute("class");
    }
    function triggerBug()
    {
      finishTest();
    }
    function doTest()
    {
      var t = document.getElementById("textbox");
      t.focus();
    }
  </script>
</body>
</html>