New issue
Advanced search Search tips

Issue 696360 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Page.getResourceTree ignores css

Reported by fastest...@gmail.com, Feb 26 2017

Issue description

UserAgent: 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:
 
Labels: Proj-Headless
Status: Untriaged (was: Unconfirmed)
>> 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?
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.
Status: WontFix (was: Untriaged)
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.
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