<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Notify client immediately if network session doesn't exist for a synchronous XHR load."
   href="https://bugs.webkit.org/show_bug.cgi?id=158239#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Notify client immediately if network session doesn't exist for a synchronous XHR load."
   href="https://bugs.webkit.org/show_bug.cgi?id=158239">bug 158239</a>
              from <span class="vcard"><a class="email" href="mailto:yongjun_zhang&#64;apple.com" title="Yongjun Zhang &lt;yongjun_zhang&#64;apple.com&gt;"> <span class="fn">Yongjun Zhang</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=158239#c5">comment #5</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=158239#c4">comment #4</a>)
&gt; &gt; (In reply to <a href="show_bug.cgi?id=158239#c3">comment #3</a>)
&gt; &gt; &gt; Comment on <span class=""><a href="attachment.cgi?id=280188&amp;action=diff" name="attach_280188" title="Notify the client immediately when the network session doesn't exist for a sync XHR request.">attachment 280188</a> <a href="attachment.cgi?id=280188&amp;action=edit" title="Notify the client immediately when the network session doesn't exist for a sync XHR request.">[details]</a></span>
&gt; &gt; &gt; Notify the client immediately when the network session doesn't exist for a
&gt; &gt; &gt; sync XHR request.
&gt; &gt; &gt; 
&gt; &gt; &gt; Why is this only an issue for sync loads? It seems like it's an issue for
&gt; &gt; &gt; async loads, too.
&gt; &gt; &gt; 
&gt; &gt; &gt; Sync loads cause a larger issue because the WebProcess is purposefully
&gt; &gt; &gt; hanging for them, but isn't it also bad for the WebProcess to think an async
&gt; &gt; &gt; load is happening.... forever...? Even though it will never happen?
&gt; &gt; 
&gt; &gt; I wasn't able to reproduce with async load. We could hit the point where the
&gt; &gt; network session is removed for an async load. However, since this only
&gt; &gt; happens when we closing a web page, Web Process will cancel the load
&gt; &gt; immediately and we won't have a long waiting WebProcess.
&gt; 
&gt; That's *currently* the only time a Session can be removed, but I foresee
&gt; that could change in the future.
&gt; 
&gt; I don't see any downside to immediately signaling the error for all loads.
&gt; 
&gt; You've looked at the code more recently - Do you foresee any downside?</span >

I don't see any downside either, and I agree signaling the error for all loads sounds more future-proof. I will submit another path. Thanks!</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>