https://github.com/mozilla/gecko-dev
Raw File
Tip revision: b676eb28fb317f5d7ee7b1363af6c886511377d5 authored by Ehsan Akhgari on 17 April 2014, 14:59:10 UTC
Bug 772823 - Focus the main test window before closing the newly opened window in order to work around an unknown focus manager bug. r=gavin, a=test-only
Tip revision: b676eb2
placeholder-4.html
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: value has to be shown if set via javascript -->
  <script type="text/javascript">
    function setValue()
    {
      document.getElementById('p1').value = "my value";
    }
    function disableReftestWait()
    {
      document.documentElement.className = '';
    }
  </script>

  <body onload="setValue(); disableReftestWait();">
    <input type="text" id="p1" value="" placeholder="my placeholder">
  </body>
</html>
back to top