[Webkit-unassigned] [Bug 175597] New: XMLHttpequest should do content sniffing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 15 13:50:37 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=175597

            Bug ID: 175597
           Summary: XMLHttpequest should do content sniffing
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jfbastien at apple.com
                CC: achristensen at apple.com, dbates at webkit.org,
                    jfbastien at apple.com
        Depends on: 175579

XHRs currently don't do content sniffing, whereas Chrome and Firefox seem to. This is a problem when Content-Encoding isn't set yet the content is gzip. This occurs on webpages such as https://s3.amazonaws.com/mozilla-games/ZenGarden/EpicZenGarden.html
A smaller repro is to take the test from #175579 and change the URL to https://s3.amazonaws.com/mozilla-games/ZenGarden/EpicZenGarden.data.gz and try it out on each browser. Chrome and Firefox don't see any gzip header, but definitely unzip the content. A misleading thing is that both curl and nscurl get the Content-Endoding header from AWS!


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=175579
[Bug 175579] LayoutTests: test that an XMLHttpRequest with Content-Type: gzip is properly uncompressed
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170815/c4e5c8dc/attachment-0001.html>


More information about the webkit-unassigned mailing list