Coverage indicators not working for inline CSS/JS
Reported by
arjun.ga...@ft.com,
Feb 5 2018
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 Steps to reproduce the problem: 1. Go to https://www.ft.com 2. Open Dev tools and start instrumenting the page with the Coverage Tool 3. Once coverage complete, double click the URL for https://www.ft.com/ (of type CSS+JS) 4. Note in sources tab that only the first script block has the red and green indicators. What is the expected behavior? Every inline script and style block in the document should have red/green indicators to highlight unused code. What went wrong? Note in sources tab that only the first script block has the red and green indicators. Did this work before? N/A Chrome version: 63.0.3239.132 Channel: n/a OS Version: OS X 10.12.6 Flash Version: I _think_ it worked in an older version of Chrome, where inline CSS and JS were separately reported?
,
Feb 6 2018
,
Feb 6 2018
Please note this is only the case when the sources are pretty-printed (you can still close the tab titled :formatted and open ft.com's main resource via Sources panel, all scripts will be decorated, albeit not formatted). Also note that the first script is properly decorated even in the pretty-printed version. This is the limitation of our current implementation of source mapping for pretty-print -- we do not properly support multiple scripts with pretty-print.
,
Dec 19
DevTools bug triage: closing low-pri bugs with low demand. |
||||
►
Sign in to add a comment |
||||
Comment 1 by krajshree@chromium.org
, Feb 6 2018