Page.getResourceTree ignores css
Reported by
fastest...@gmail.com,
Feb 26 2017
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3018.3 Safari/537.36 Steps to reproduce the problem: 1. Load page and call Page.getResourceTree What is the expected behavior? CSS resources are included in resources. What went wrong? sky/framework/inspector/page-agent.sky isn't looking at link elements and therefore stylesheets are not included in resources Did this work before? No Chrome version: 58.0.3018.3 Channel: dev OS Version: Flash Version:
,
Mar 2 2017
>> sky/framework/inspector/page-agent.sky isn't looking at link elements and therefore stylesheets are not included in resources Could you elaborate on this? Sky?
,
Mar 2 2017
You might be able to just ignore that. I was referring to https://codereview.chromium.org/732413004 which might be obsolete. Either way, it's not including the CSS in the resources. Only scripts and images are included.
,
Mar 2 2017
I'll close it then as not relevant to Chrome? The reason you don't see stylesheets in chrome is that they are collected by the time you ask. I believe that if you issue CSS.enable prior to fetching resources, collected ones would be re-fetched.
,
Mar 2 2017
I didn't mean to insinuate that it wasn't a Chrome bug, it definitely was meant to be. I'll try CSS.enable and see if it fixes this. Thanks! |
||
►
Sign in to add a comment |
||
Comment 1 by eseckler@chromium.org
, Feb 27 2017Status: Untriaged (was: Unconfirmed)