title: Settimeout works in chrome/webkit based browsers but not firefox
body: <p>Can somebody explain why this simple code works in webkit based browsers (even my android phone), but not on firefox?
  (The code basically refreshes an iframe every 1000 ms (a bash script echos to that file))</p>
  
  <p>The website for this code is <a href="http://haenh.ddns.us/ui/content/servinfo" rel="nofollow">http://haenh.ddns.us/ui/content/servinfo</a> and it is embed in: <a href="http://haenh.ddns.us/ui/?page_id=2" rel="nofollow">http://haenh.ddns.us/ui/?page_id=2</a> (the first link in firefox I have to manually refresh while the second link shows the spinning green circle (showing that it is downloading content). In chrome/webkit this is refreshing as expected)</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script&gt;
  function a(){
  document.close();
  document.write('&lt;br&gt;&lt;p align="center"&gt;&lt;iframe src="/serv.txt" width="700" height="2000" scrolling="no" frameborder="0"&lt;&gt; &lt;p&gt;Failed&lt;/p&gt; &lt;/iframe&gt;&lt;/p&gt;&lt;br&gt;&lt;br&gt;');
  setTimeout('a()', 1000);
  // the old one was 15000
  }
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body onLoad="a()"&gt;
  &lt;title&gt;ServInfo&lt;/title&gt;
  &lt;br&gt;
  
  JS is required.
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>