title: setTimeout not working in Chrome
body: <p>This question is for a colleague. He is having an issue in Chrome with the following code snippet:</p>
  
  <pre><code>function showEmailClient(emailContent, url, providerContactId) {
      window.location = emailContent;
      if (providerContactId != undefined) {
          setTimeout(function() {
              clientSideRedirect(url + providerContactId);
          }, 5000);
      }
      else {
          setTimeout(function() {
              clientSideRedirect(url);
          }, 5000);
      }
  }​
  </code></pre>
  
  <p>The <code>setTimeout</code> functions are getting called immediately in Chrome instead of waiting the five seconds they are supposed to. Any ideas?</p>
  
  <p><strong>Update</strong></p>
  
  <p><code>emailContent</code> is a mailto string, e.g. 'mailto:support@somewhere.com' which causes the user's default mail client to open, not the page to redirect.</p>