<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>31077</bug_id>
          
          <creation_ts>2009-11-03 12:12:29 -0800</creation_ts>
          <short_desc>[Qt] ASSERT failure when receiving 401 HTTP Authentication  response.</short_desc>
          <delta_ts>2009-11-17 05:37:19 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Page Loading</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>29799</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Yael">yael</reporter>
          <assigned_to name="Yael">yael</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>hausmann</cc>
    
    <cc>kenneth</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>160160</commentid>
    <comment_count>0</comment_count>
    <who name="Yael">yael</who>
    <bug_when>2009-11-03 12:12:29 -0800</bug_when>
    <thetext>QNetworkReplyHandler::sendResponseIfNeeded() does not send the response for any error situation, but QNetworkReplyHandler::finish() calls client-&gt;didFinishLoading() for some error conditions. That leads to  ASSERT(!m_response.isNull()) ,  in MainResourceLoader::didReceiveData().

If we decide to handle the error response as if there was no error, we should also send the response to the client in sendResponseIfNeeded().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160208</commentid>
    <comment_count>1</comment_count>
      <attachid>42417</attachid>
    <who name="Yael">yael</who>
    <bug_when>2009-11-03 14:16:16 -0800</bug_when>
    <thetext>Created attachment 42417
Patch

This patch is only handling the ASSERT. HTTP auth support would be a separate bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160456</commentid>
    <comment_count>2</comment_count>
      <attachid>42417</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-11-04 09:09:01 -0800</bug_when>
    <thetext>Comment on attachment 42417
Patch

Clearing flags on attachment: 42417

Committed r50514: &lt;http://trac.webkit.org/changeset/50514&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160457</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-11-04 09:09:07 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>161560</commentid>
    <comment_count>4</comment_count>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2009-11-09 06:42:26 -0800</bug_when>
    <thetext>Did this patch fix any layout tests? Or should we add one?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>42417</attachid>
            <date>2009-11-03 14:16:16 -0800</date>
            <delta_ts>2009-11-04 09:09:01 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>31077.patch</filename>
            <type>text/plain</type>
            <size>1268</size>
            <attacher name="Yael">yael</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1MDQ4MykKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTYgQEAKKzIwMDktMTEtMD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3JraW5nIGNv
cHkpCkBAIC0yNTksNyArMjU5LDcgQEAKICAgICBpZiAobV9zaG91bGRTZW5kUmVzcG9uc2UpCiAg
ICAgICAgIHJldHVybjsKIAotICAgIGlmIChtX3JlcGx5LT5lcnJvcigpKQorICAgIGlmIChtX3Jl
cGx5LT5lcnJvcigpICYmICFpZ25vcmVIdHRwRXJyb3IobV9yZXBseSwgbV9yZXNwb25zZURhdGFT
ZW50KSkKICAgICAgICAgcmV0dXJuOwogCiAgICAgaWYgKG1fcmVzcG9uc2VTZW50IHx8ICFtX3Jl
c291cmNlSGFuZGxlKQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>