<div dir="ltr"><div class="gmail_default" style="font-size:small">Because it's so noisy, presumably in the current form people aren't getting a lot of use out of them.  However, I suspect that could change substantially if we stopped showing content CSS errors in the browser console.  So it seems a bit hard to evaluate the usefulness without doing that first.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Dan<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-04-11 11:21 GMT-07:00 Brian Grinstead <span dir="ltr"><<a href="mailto:bgrinstead@mozilla.com" target="_blank">bgrinstead@mozilla.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The console has a ‘CSS’ filter option that shows CSS warnings / errors. It’s off by default, but when you flip it on you will see warnings like "Unknown property ‘user-select’. Declaration dropped.”. The problem is that we pay a perf penalty for reporting the errors, and they aren’t shown by default. There’s a plan in Bug 1452143 to change that so we would only start reporting the errors once the filter is toggled, but dealing with the Browser Console will require extra work since it’s receiving messages from all windows (including those in the content processes)<br>
<br>
The main options I thought of for dealing with this are:<br>
 (1) Loop through all the windows when the filter is toggled and reparse all stylesheets to trigger errors that happened before we were reporting them. We could simplify this by never showing CSS warnings for content pages in the Browser Console.<br>
 (2) Remove the button entirely and just not ever show any CSS warnings in the Browser Console<br>
 (3) Allow you to press the button but don't attempt to dynamically begin showing errors. Instead send a message to the Browser Console saying 'restart your browser to start seeing css warnings’<br>
<br>
If you use this feature and find it valuable, please let me know. I’d prefer to go with (2) if people aren’t getting value out of it. I don’t have them on myself because it causes a huge amount of noise (you see all warnings from all pages plus the parent process).<br>
<br>
Thanks,<br>
Brian<br>
______________________________<wbr>_________________<br>
firefox-dev mailing list<br>
<a href="mailto:firefox-dev@mozilla.org">firefox-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/firefox-dev" rel="noreferrer" target="_blank">https://mail.mozilla.org/<wbr>listinfo/firefox-dev</a><br>
</blockquote></div><br></div>