New issue
Advanced search Search tips

Issue 755953 link

Starred by 4 users

Issue metadata

Status: Duplicate
Merged: issue 717195
Owner:
Closed: Dec 5
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Feature



Sign in to add a comment

Not able to export java script code coverage result to a local file

Reported by minarva...@gmail.com, Aug 16 2017

Issue description

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

Steps to reproduce the problem:
1.Open any web application and go to JavaScript code coverage console (Ctrl+Shift+P) and then type  Show Coverage in command and click on start recording. 
2. It will start recording JS code coverage. After some time stop recording.
3. Here, I want to store code coverage result in a local file(.txt or any)
Find attached screenshot. 

What is the expected behavior?
There should be a button or some option or command in Chrome Dev tool to save java Script code coverage result to to a local file.

What went wrong?
Not Applicable

WebStore page: 

Did this work before? No 

Chrome version: 60.0.3112.90 (Official Build) (64-bit)  Channel: n/a
OS Version: Windows 7
Flash Version:
 
CodeCoverage.jpg
222 KB View Download
Labels: Needs-Triage-M60
Status: Untriaged (was: Unconfirmed)
Assuming this as feature request, changing the status to untriage, so that the issue would be addressed.

Thank you.
Components: -Platform>Extensions Platform>DevTools>JavaScript
Don't think this is extension related? Moving over to devtools.

Comment 4 by l...@chromium.org, Aug 19 2017

Labels: -Type-Bug Type-Feature
Owner: caseq@chromium.org
Status: Assigned (was: Untriaged)
Thanks for the request.  caseq@, would you like to take a look?
This should be for CSS and JavaScript.

It would be ideal if we could export the file in 2 different ways:
marked up - giving the developer the ability to remove items manually
Optimized - Chrome removing the code which is not used and giving the develop the required file.
+1 on having this for CSS too (maybe even more so then JS as CSS lacks modularity and generally harder for developers to remove).

Looks like a very good use for the tool when somebody optimizes their code for performance, just look at the coverage drawer and save the results.

If this can be triggered through the new automation API, CI/CD might be able to finally cover the code stashing problem.

Comment 7 by kayce@google.com, Oct 25 2017

This seems like a duplicate of  https://crbug.com/717195 
Mergedinto: 717195
Status: Duplicate (was: Assigned)

Sign in to add a comment