New issue
Advanced search Search tips

Issue 867188 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 26
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Devtools Timeline JSON Structure

Reported by ericjan...@gmail.com, Jul 24

Issue description

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

Steps to reproduce the problem:
1. Open Chrome developer tools
2. Go to performance tab and collect a timeline
3. Download the timeline as JSON

What is the expected behavior?

What went wrong?
After downloading this JSON file, I've noticed that the objects have a URL, but no module name. I need the module name that each function call originated from, but this is impossible when when using webpack or module bundling. The URL does not map to a single javascript file, so it would take extra logic to create the mapping by using the line number and column number provided.

Is there a way to make it possible to include the module name in the JSON?

Did this work before? No 

Chrome version: 67.0.3396.99  Channel: n/a
OS Version: 10.0
Flash Version:
 
Labels: Needs-Triage-M67
Cc: caseq@chromium.org alph@chromium.org
Components: -Platform>DevTools Platform>DevTools>Performance
Status: WontFix (was: Unconfirmed)
We provide lineNumber & columnNumber in most events that carry a URL, so it should be possible to use source maps to track a location in a generated file to original source locations -- DevTools Performance panel actually does this when sourcemaps are available.

Sign in to add a comment