New issue
Advanced search Search tips

Issue 842312 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

HAR Import doesn't work when dragging file from code editor

Reported by mfulto...@gmail.com, May 11 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36

Steps to reproduce the problem:
1. Obtain some valid HAR file
2. Find the file in the explorer section of a code editor (e.g. IntelliJ IDEA, WebStorm, VS Code, and likely others).
3. Open the Network tab in Chrome DevTools and drag and drop the file from the code editor to the Network tab.

What is the expected behavior?
The HAR file is imported and its contents are loaded and shown in the Network tab of Chrome DevTools.

What went wrong?
The file is not imported.

Did this work before? No 

Chrome version: 66.0.3359.139  Channel: stable
OS Version: 10.0
Flash Version: 

Note that dragging and dropping a file from a code editor to the viewport of a Chrome tab does indeed load the file so it appears that these code editors are sending sufficient information for Chrome to get a handle on the file and read it. The HAR Import feature appears to simply not support the same level of drag/drop formats. Dragging and dropping the file from Windows Explorer to the Network tab in Chrome DevTools works so as a workaround I simply right-click the file in my code editor and select "Show in Explorer" but this gets old. It would be very nice to simply drag and drop it straight from my code editor. Thank you.
 

Comment 1 by alph@chromium.org, May 12 2018

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

Sign in to add a comment