title: Internet Explorer 10 developer tools closes on some navigations
body: <p>I'm trying to debug an issue with Internet Explorer 10 by monitoring networking with the developer tools console but I'm stuck with an odd behavior - sometimes the console just closes and all the recorded traffic is lost.</p>
  
  <p>To be more precise the call sequence is following (this is actually a standard SAML 2.0 authentication flow with client certificate login at the IDP):</p>
  
  <ol>
  <li>GET <a href="https://application.host/alias" rel="noreferrer">https://application.host/alias</a> -> response is an auto submit POST form to:</li>
  <li>POST <a href="https://identity.provider.host/sso/end/point/alias" rel="noreferrer">https://identity.provider.host/sso/end/point/alias</a> -> authentication with certificate happens here and an auto submit POST form that contains a SAML 2.0 response is returned and it will submit it to:</li>
  <li>POST <a href="http://application.host/acs/end/point" rel="noreferrer">http://application.host/acs/end/point</a> -> returns auto submit POST form to:</li>
  <li>POST <a href="https://application.host/alias" rel="noreferrer">https://application.host/alias</a> (the originally accessed resource) - redirect to:</li>
  <li>GET <a href="https://application.host/alias" rel="noreferrer">https://application.host/alias</a></li>
  </ol>
  
  <p>Note that everything after the initial access happens automatically and the user does not have to click on any links or submit some forms.</p>
  
  <p>Auto submit POST form is something like this:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt; 
  ... some head data here...
  &lt;/head&gt;
  &lt;body onLoad="document.forms[0].submit()"&gt;
    &lt;form name="auto.submit.form"&gt;
     ... some form fields here...
    &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The problem occurs somewhere after point 2 - the developer tools console just closes but this does not seem to affect the actual work of the browser. </p>
  
  <p>I also tried with HttpWatch Professional - I get the same effect - the plug-in just stops recording or is completely closed. 
  I cannot use Fiddler in this case because it prevents me from debugging the actual issue (i.e. it works when Fiddler is enabled). Also the issue is specific to IE so I cannot use the developer tools of another browser.</p>
  
  <p>Any ideas/hints about that?</p>
  
  <p>Update:
  I think I figured at least some part of the issue:
  The developer tools window closes when a navigation to a different zone is done.
  I.e. in my case the host at step 2 is in the internet zone, while the host from the other steps in the local intranet zone then the dev tools window is closed after the navigation from point 2 to point 3 is done (not when the redirect from 1 to 2 is done).
  The difference is that the first one is done via a javascript and self-submit form, while the other one is just a 302 redirect response.</p>
  
  <p>After I added all the sites to the local intranet zone, then the issue stopped occurring.
  Still its a mystery and also seems to be rather an IE issue than a dev tools issue because also HttpWatch seems to be affected by it. </p>