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

Issue 687677 link

Starred by 5 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Preview and Response Tabs Do Not Show Preview/Body

Reported by m...@knotis.com, Feb 1 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36

Steps to reproduce the problem:
1. Use DevTools to debug remote React/React Native processes.
2. Under the Network tab, you can select any HTTP REST calls made by your app
3. Headers & Timing works but Preview & Response are blank

What is the expected behavior?
Depending on server response either JSON or HTML output.

What went wrong?
It's just blank page that says that "This request has no preview or response data available" instead of showing the actual output.  My app works, so I know the calls are being made correctly.  It has worked flawlessly until I upgraded to v56.  This behavior is present on all platforms (Mac & Linux). 

Did this work before? Yes 55 family

Chrome version: 56.0.2924.76  Channel: stable
OS Version: OS X 10.12.3
Flash Version: Shockwave Flash 24.0 r0

 
Owner: allada@chromium.org
I have a "public" facing site where you can replicate this issue but I'd prefer not to post the url publicly for security purposes. I can email it to you if you'd like.
Labels: -Pri-2 OS-Windows Pri-1
Status: Untriaged (was: Unconfirmed)
Summary: Preview and Response Tabs Do Not Show Preview/Body (was: Preview and Response Tabs Are Blank After REST Calls During Remote Debugging)
Ethan (from comment 2) shared the URL with me and I reproduced the problem using Chrome 56 as well as using Chrome 59, on Windows 7.

I have not verified whether this is indeed a regression, but regressions in general are priority 1.

I added a censored HAR in case it helps. You can see that the "text" field is empty, while the "size" field is 68.

If you need the URL to reproduce as well, contact Ethan.
no-preview-application-json.json
8.0 KB View Download

Comment 4 by allada@chromium.org, Apr 17 2017

Can you please send me the URL of the site? This may be a case that the resource cache is being purged and devtools looses the ability to use it.

Thanks.

Comment 5 by allada@chromium.org, Apr 18 2017

Cc: allada@chromium.org
 Issue 693482  has been merged into this issue.
I emailed you the URL and a step by step on how to reproduce the issue.

Comment 7 by allada@chromium.org, Apr 19 2017

Cc: -allada@chromium.org
Status: Assigned (was: Untriaged)
*** For record keeping ***
Offending CL: https://codereview.chromium.org/2460573002/
Project Member

Comment 8 by bugdroid1@chromium.org, May 3 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/35aaf5a9b46c7464901e6dab4c8c947cf9f60c7a

commit 35aaf5a9b46c7464901e6dab4c8c947cf9f60c7a
Author: allada <allada@chromium.org>
Date: Wed May 03 00:06:03 2017

[Devtools] Fixed resource having no content if from xhr blob

Offending patch: https://codereview.chromium.org/2460573002/

In the event that a resource is an xhr request and the data had been
saved to a file and had an error code in the header it was not showing
any content uppon request for body.

R=dgozman,caseq
BUG= 687677 , 659789 

Review-Url: https://codereview.chromium.org/2848353003
Cr-Commit-Position: refs/heads/master@{#468827}

[add] https://crrev.com/35aaf5a9b46c7464901e6dab4c8c947cf9f60c7a/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/network-fetch-content-with-error-status-code-expected.txt
[add] https://crrev.com/35aaf5a9b46c7464901e6dab4c8c947cf9f60c7a/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/network-fetch-content-with-error-status-code.html
[add] https://crrev.com/35aaf5a9b46c7464901e6dab4c8c947cf9f60c7a/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/resources/cors-data.php
[modify] https://crrev.com/35aaf5a9b46c7464901e6dab4c8c947cf9f60c7a/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html
[modify] https://crrev.com/35aaf5a9b46c7464901e6dab4c8c947cf9f60c7a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp

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

Status: Fixed (was: Assigned)
This should be resolved. Thank you!

Comment 10 by m...@knotis.com, Jul 28 2017

As of Version 60.0.3112.78 (Official Build) (64-bit) on both Linux and Mac, it's working perfectly again.  Thanks.

Sign in to add a comment