OpenWPM
OpenWPM copied to clipboard
Logging CSS dependencies
Hi,
I noticed that CSS loading hierarchies are not fully captured by opwnWPM. It would be nice to identify loading dependencies (e.g., @import) between two style sheets, similar to the JavaScript call stack that is already logged. Right now, the platform logs the requests to the imported scripts, but finding the dependencies is quite tedious, as one has to check the content type of each request and then identify these relations. I am not familiar how Firefox works under the hood and therefore I cannot quantify how hard it would be to log this. But I think it can be useful.