XHR requests not shown for large file upload
Reported by
audrius....@ev-box.com,
Aug 15 2016
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Steps to reproduce the problem: 1. Open Network panel in Chrome dev tools 2. Upload a file larger than 50 MB using xhr request, Content-Type: application/octet-stream 3. XHR request does not appear in the list What is the expected behavior? All xhr requests should appear in the list of network requests What went wrong? Apart from the network request not being displayed, browser freezes during large file upload. The same scenario works fine in latest Firefox 47.0 Did this work before? N/A Chrome version: 52.0.2743.116 Channel: stable OS Version: OS X 10.11.6 Flash Version: Shockwave Flash 22.0 r0 Created a jsfiddle to reproduce the issue: https://jsfiddle.net/5eaf4z86/2/
,
Aug 16 2016
Just to clarify the behaviour in the repro fiddle, the first 'post.php' xhr request is of type OPTIONS, the second one is the actual xhr file upload POST request and it either does not appear in the list immediately or doesn't appear at all.
,
Jul 20 2017
,
Dec 13 2017
,
Dec 20 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/f1bcfadaa3d84f256bb11cfdbd19fd375d5bdd89 commit f1bcfadaa3d84f256bb11cfdbd19fd375d5bdd89 Author: Eugene Ostroukhov <eostroukhov@chromium.org> Date: Wed Dec 20 22:05:34 2017 DevTools: Hide very long request bodies Bug: 637837 Change-Id: I5f1ae26b0ebda523dedccbf48fa8e95004c76380 Reviewed-on: https://chromium-review.googlesource.com/835366 Commit-Queue: Eugene Ostroukhov <eostroukhov@chromium.org> Reviewed-by: Andrey Kosyakov <caseq@chromium.org> Cr-Commit-Position: refs/heads/master@{#525487} [modify] https://crrev.com/f1bcfadaa3d84f256bb11cfdbd19fd375d5bdd89/third_party/WebKit/Source/devtools/front_end/network/RequestHeadersView.js [modify] https://crrev.com/f1bcfadaa3d84f256bb11cfdbd19fd375d5bdd89/third_party/WebKit/Source/devtools/front_end/network/requestHeadersTree.css
,
Dec 20 2017
1. Request is not visible because it is blocked by a browser. I see a following message in the console view: "(index):1 Failed to load https://posttestserver.com/post.php: Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response." I setup my own local server and I can see that request appearing as expected. 2. Frozen DevTools were fixed by not showing entire request body unless requested. |
||||
►
Sign in to add a comment |
||||
Comment 1 by l...@chromium.org
, Aug 15 2016Status: Assigned (was: Unconfirmed)