<?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>104352</bug_id>
          
          <creation_ts>2012-12-07 01:03:04 -0800</creation_ts>
          <short_desc>[Qt] new http/tests/xmlhttprequest/post-blob-content-type-sync.html and ~async.html fail since introduced in r136893</short_desc>
          <delta_ts>2014-02-03 03:23:49 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>87008</blocked>
    
    <blocked>99983</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="János Badics">jbadics</reporter>
          <assigned_to name="Alexander Shalamov">alexander.shalamov</assigned_to>
          <cc>alexander.shalamov</cc>
    
    <cc>ap</cc>
    
    <cc>hnandor</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>785721</commentid>
    <comment_count>0</comment_count>
    <who name="János Badics">jbadics</who>
    <bug_when>2012-12-07 01:03:04 -0800</bug_when>
    <thetext>These two tests fail on Qt since they have been introduced in r136893 with the following diffs:
http://build.webkit.sed.hu/results/x86-64%20Linux%20Qt%20Release/r136894%20(45757)/http/tests/xmlhttprequest/post-blob-content-type-async-diff.txt
http://build.webkit.sed.hu/results/x86-64%20Linux%20Qt%20Release/r136894%20(45757)/http/tests/xmlhttprequest/post-blob-content-type-sync-diff.txt

The original bug can be found at:
​https://bugs.webkit.org/show_bug.cgi?id=99983

I will skip these tests on Qt until the problem is solved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>788111</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Shalamov">alexander.shalamov</who>
    <bug_when>2012-12-11 00:01:16 -0800</bug_when>
    <thetext>I will take a look at this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>788280</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Shalamov">alexander.shalamov</who>
    <bug_when>2012-12-11 03:38:50 -0800</bug_when>
    <thetext>Qt networking code adds &quot;application/x-www-form-urlencoded&quot; to request header (qhttpnetworkrequest.cpp:156), if header is empty.

According to http://tools.ietf.org/html/rfc2616#section-7.2.1 , it may be empty and receiver could inspect content or extension of the uri to identify content type. In case when media type remains unknown, recipient should treat body as application/octet-stream.

XHR spec states that when the blob is sent, mime type of the request is the type of the blob and if mime type of the blob is invalid it could be ignored. Just tested with latest chrome and mozilla, they send empty string for content-type header field.

Should I add platform specific test for Qt?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>975619</commentid>
    <comment_count>3</comment_count>
    <who name="Jocelyn Turcotte">jturcotte</who>
    <bug_when>2014-02-03 03:23:49 -0800</bug_when>
    <thetext>=== Bulk closing of Qt bugs ===

If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.

If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>