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

Issue 630729 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Aug 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Network panel - text/javascript preview tab disappears after going to response and back to preview

Project Member Reported by phistuck@gmail.com, Jul 22 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36

Steps to reproduce the problem:
1. Press F12.
2. Go to the Network panel.
3. If you do not have a script entry in the network panel, run this in the console (assuming Content Security Policy does not block this) -
fetch("data:text/javascript,alert('')")
4. Click on a network entry for a script.
5. Click on the Preview tab.
6. Click on the Response tab.
7. Click on the Preview tab.

What is the expected behavior?
A preview of the content (same as the response, basically).

What went wrong?
The content of the Preview tab is completely missing.

Did this work before? Yes Maybe Chrome 48

Chrome version: 54.0.2803.0  Channel: canary
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

Workaround -
Click on the network entry again.
 
developer-tools-missing-preview.png
70.8 KB View Download

Comment 1 by caseq@chromium.org, Jul 22 2016

Components: -Platform>DevTools Platform>DevTools>Network
Owner: allada@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 2 by phistuck@gmail.com, Jul 22 2016

After some debugging... Looks like the response tab is stealing <div class="vboc flex-auto"> from the preview tab and the preview tab never takes it back.
Status: Started (was: Assigned)
Project Member

Comment 4 by bugdroid1@chromium.org, Aug 3 2016

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

commit 84501401aa1121fbb902385426d2428d375cacba
Author: allada <allada@chromium.org>
Date: Wed Aug 03 00:58:28 2016

[Devtools] Preview view in network should always show data

Fixed bug where Preview tab in network would not show the data after
navigating to Response tab.

BUG= 630729 

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

[modify] https://crrev.com/84501401aa1121fbb902385426d2428d375cacba/third_party/WebKit/Source/devtools/front_end/network/RequestPreviewView.js

Comment 6 by allada@chromium.org, Aug 20 2016

Status: Fixed (was: Started)

Sign in to add a comment