New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 637837 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug



Sign in to add a comment

XHR requests not shown for large file upload

Reported by audrius....@ev-box.com, Aug 15 2016

Issue description

UserAgent: 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/
 

Comment 1 by l...@chromium.org, Aug 15 2016

Owner: allada@chromium.org
Status: Assigned (was: Unconfirmed)
Thanks for the report.  When I tried to repro, I was able to see a request see an 'XHR' with name 'post.php'.  After a few seconds, my DevTools becomes frozen.
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.

Comment 3 by allada@chromium.org, Jul 20 2017

Labels: -Pri-2 Pri-1
Owner: eostroukhov@chromium.org
Project Member

Comment 5 by bugdroid1@chromium.org, 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

Status: Fixed (was: Assigned)
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