Bug 1766909 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I'm still trying to work out details but here's what I noticed. Patch for bug 1766227 causes Dark Reader to fail to apply styles on some websites. I noticed it on phabricator which is the most obvious example I found.

Regression: `mozregression --addon .../addon@darkreader.org.xpi --pref layout.css.constructable-stylesheets.enabled:true --arg="https://phabricator.services.mozilla.com" --good=99`

[Pushlog](https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=64a0fc3e1e4409e5323e2e74536bf24cd15c86e4&tochange=5f8d48c6c900c5d41c769898839abe02b3185c08)
I'm still trying to work out details but here's what I noticed. Patch for bug 1766227 causes Dark Reader to fail to apply styles on some websites. I noticed it on phabricator which is the most obvious example I found.

To test you just need Nightly and to enable `layout.css.constructable-stylesheets.enabled` and go to https://phabricator.services.mozilla.com. Or you can just try building from [D144547](https://phabricator.services.mozilla.com/D144547)

Bisection: `mozregression --addon .../addon@darkreader.org.xpi --pref layout.css.constructable-stylesheets.enabled:true --arg="https://phabricator.services.mozilla.com" --good=99`

[Pushlog](https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=64a0fc3e1e4409e5323e2e74536bf24cd15c86e4&tochange=5f8d48c6c900c5d41c769898839abe02b3185c08)
I'm still trying to work out details but here's what I noticed. Patch for bug 1766227 causes Dark Reader to fail to apply styles on some websites. I noticed it on phabricator which is the most obvious example I found.

To test you just need Nightly and to enable `layout.css.constructable-stylesheets.enabled` and go to https://phabricator.services.mozilla.com and then reload the page. It seems to succeed on initial load and fail on reload or history navigation (whereupon I guess it falls back to some baseline styles that make the page monochrome gray and white). If you force reload and skip cache (Shift+Accel+R) it seems to fail to apply the fallback styles too, resulting in the normal phabricator theme. You can also try building from [D144547](https://phabricator.services.mozilla.com/D144547)

Bisection: `mozregression --addon .../addon@darkreader.org.xpi --pref layout.css.constructable-stylesheets.enabled:true --arg="https://phabricator.services.mozilla.com" --good=99`

[Pushlog](https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=64a0fc3e1e4409e5323e2e74536bf24cd15c86e4&tochange=5f8d48c6c900c5d41c769898839abe02b3185c08)

Back to Bug 1766909 Comment 0