Summary: | Fetch / Beacon: Use "application/octet-stream" Content-Type for payloads of type ArrayBuffer / ArrayBufferView | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||||||
Component: | DOM | Assignee: | Chris Dumez <cdumez> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | cdumez, commit-queue, Hironori.Fujii, ryanhaddad, webkit-bug-importer, youennf | ||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||
Version: | WebKit Nightly Build | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Attachments: |
|
Description
Chris Dumez
2017-08-15 14:43:10 PDT
Created attachment 318176 [details]
Patch
Created attachment 318186 [details]
Patch
Comment on attachment 318186 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=318186&action=review > Source/WebCore/Modules/fetch/FetchBody.cpp:65 > + contentType = HTTPHeaderValues::octetStreamContentType(); Can we add a FIXME stating that we should remove it once all WebKit network stacks support sending no CT? Created attachment 318188 [details]
Patch
Comment on attachment 318188 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=318188&action=review > Source/WebCore/Modules/fetch/FetchBody.cpp:65 > + // FIXME: We should not set a Content-Type here but we need to do this until our network stack s/our/all > Source/WebCore/Modules/fetch/FetchBody.cpp:72 > + // FIXME: We should not set a Content-Type here but we need to do this until our network stack ditto > LayoutTests/ChangeLog:13 > +2017-08-15 Chris Dumez <cdumez@apple.com> dup log and commit I guess Created attachment 318204 [details]
Patch
Comment on attachment 318204 [details] Patch Clearing flags on attachment: 318204 Committed r220779: <http://trac.webkit.org/changeset/220779> All reviewed patches have been landed. Closing bug. 3 LayoutTests of iOS port fail: http/tests/blink/sendbeacon/beacon-same-origin.html http/wpt/beacon/cors/cors-preflight-arraybufferview-failure.html http/wpt/beacon/cors/cors-preflight-arraybufferview-success.html https://build.webkit.org/results/Apple%20iOS%2010%20Simulator%20Release%20WK2%20(Tests)/r220779%20(3641)/results.html (In reply to Fujii Hironori from comment #10) > 3 LayoutTests of iOS port fail: > > http/tests/blink/sendbeacon/beacon-same-origin.html > http/wpt/beacon/cors/cors-preflight-arraybufferview-failure.html > http/wpt/beacon/cors/cors-preflight-arraybufferview-success.html > > https://build.webkit.org/results/ > Apple%20iOS%2010%20Simulator%20Release%20WK2%20(Tests)/r220779%20(3641)/ > results.html The same 3 are failing on Sierra: https://build.webkit.org/results/Apple%20Sierra%20Release%20WK2%20(Tests)/r220795%20(3640)/results.html (In reply to Ryan Haddad from comment #11) > (In reply to Fujii Hironori from comment #10) > > 3 LayoutTests of iOS port fail: > > > > http/tests/blink/sendbeacon/beacon-same-origin.html > > http/wpt/beacon/cors/cors-preflight-arraybufferview-failure.html > > http/wpt/beacon/cors/cors-preflight-arraybufferview-success.html > > > > https://build.webkit.org/results/ > > Apple%20iOS%2010%20Simulator%20Release%20WK2%20(Tests)/r220779%20(3641)/ > > results.html > The same 3 are failing on Sierra: > > https://build.webkit.org/results/Apple%20Sierra%20Release%20WK2%20(Tests)/ > r220795%20(3640)/results.html Follow-up landed in <http://trac.webkit.org/changeset/220796>. |