Bug 1891181 - Use a transparent background when drawing text placeholders r=gsvelto
commit166179656e063142cef9a6c5cfc77cbcf817f527
authorAlex Franchuk <afranchuk@mozilla.com>
Thu, 18 Apr 2024 16:27:21 +0000 (18 16:27 +0000)
committerAlex Franchuk <afranchuk@mozilla.com>
Thu, 18 Apr 2024 16:27:21 +0000 (18 16:27 +0000)
treed2d233e0dfd94a8bb1158c2d42baa0672b8a0017
parent4c06786daca214a18ce171f7d5e6f878fb219b62
Bug 1891181 - Use a transparent background when drawing text placeholders r=gsvelto

This fixes the rendering of enabled, disabled, and themed (high contrast
and otherwise) placeholders on Windows.

This also makes the `cfg(mock)` `allow(unused)` fine-grained to avoid
the repeated backouts that have occurred from not catching unused
code when `cfg(mock)` is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D207567
toolkit/crashreporter/client/app/src/config.rs
toolkit/crashreporter/client/app/src/logging.rs
toolkit/crashreporter/client/app/src/main.rs
toolkit/crashreporter/client/app/src/process.rs
toolkit/crashreporter/client/app/src/std/mod.rs
toolkit/crashreporter/client/app/src/ui/mod.rs
toolkit/crashreporter/client/app/src/ui/windows/mod.rs