Page 1 of 1

ClearClick breaks Inspector CSS Rules pane on some sites

Posted: Thu Sep 01, 2016 10:30 pm
by fdc5
Blank Inspector CSS Rules pane on some sites e.g. https://github.com
Console output:

Code: Select all

Content Security Policy: The page’s settings blocked the loading of a resource at data:text/css;charset=utf8,body%3Anot(%5Bid%5D)%20%7B%20cursor%3A%20auto%20!important%20%7D%20.__noscriptOpaqued__%20%7B%20opacity%3A%201%20!important%3B%20visibility%3A%20visible%3B%20filter%3A%20none%20!important%20%7D%20iframe.__noscriptOpaqued__%20%7B%20display%3A%20block%20!important%3B%20%7D%20object.__noscriptOpaqued__%2C%20embed.__noscriptOpaqued__%20%7B%20display%3A%20inline%20!important%20%7D%20.__noscriptJustOpaqued__%20%7B%20opacity%3A%201%20!important%20%7D%20.__noscriptScrolling__%20%7B%20overflow%3A%20auto%20!important%3B%20min-width%3A%2052px%20!important%3B%20min-height%3A%2052px%20!important%20%7D%20.__noscriptNoScrolling__%20%7B%20overflow%3A%20hidden%20!important%20%7D%20.__noscriptHidden__%20%7B%20visibility%3A%20hidden%20!important%20%7D%20.__noscriptBlank__%20%7B%20background-color%3A%20white%20!important%3B%20color%3A%20white%20!important%3B%20border-color%3A%20white%20!important%3B%20background-image%3A%20none%20!important%20%7D (“style-src 'unsafe-inline' https://assets-cdn.github.com”).
Promlem gone if disable ClearClick

Re: ClearClick breaks Inspector CSS Rules pane on some sites

Posted: Fri Sep 02, 2016 4:08 am
by barbaz
I could be wrong but it sounds to me like ClearClick is just the messenger of a problem with that CSS rules viewer...

Does the CSS in that data: URI actually apply successfully to items on the page?

Re: ClearClick breaks Inspector CSS Rules pane on some sites

Posted: Fri Sep 02, 2016 10:17 am
by fdc5
barbaz wrote:Does the CSS in that data: URI actually apply successfully to items on the page?
Yes. Page works fine. Problem only with Firefox DOM Inspector Rules pane.

Re: ClearClick breaks Inspector CSS Rules pane on some sites

Posted: Fri Sep 02, 2016 11:04 am
by fdc5
Problem in Fx49 Beta and 50 DevEd
I just installed Fx release (48.0.2) and problem not present in it

Re: ClearClick breaks Inspector CSS Rules pane on some sites

Posted: Fri Sep 02, 2016 4:03 pm
by barbaz
I would suggest you try the latest Firefox Nightly and if the issue is present there, file a bug: https://bugzilla.mozilla.org/
It's easier for them to investigate if you get steps-to-reproduce starting from a clean profile. Also be sure to include a link to this thread.

If you file a bug, please post the bugzilla link here, thanks.