electron/shell
Charles Kerr 1d3b1284c4
test: ensure sender-pid hint is set in Linux notifications (#43928)
test: expect a `sender-pid` hint in Linux notifications.

This PR ensures that the `sender-pid` hint is set for new notifications.
It also updates the spec to confirm that DBus receives the hint and that
it has the correct value.

This fixes a spec failure when running libnotify >= 0.7.12 (2022-05-05).
Starting with that version, libnotify started injecting `sender-pid` if
not provided by the client. So our tests received a slightly different
DBus payload depending on what version of libnotify was installed,
causing our deep-equals tests to fail.

By always providing and testing the `sender-pid` hint, our behavior and
tests should be consistent across distros.
2024-09-25 13:20:36 +02:00
..
app build: make is_mas_build a generated header instead of config (#43737) 2024-09-17 01:38:56 -07:00
browser test: ensure sender-pid hint is set in Linux notifications (#43928) 2024-09-25 13:20:36 +02:00
common fix: -Wunsafe-buffer-usage warning in asar_util's ReadFileToString() (#43896) 2024-09-24 15:41:24 -05:00
renderer build: make is_mas_build a generated header instead of config (#43737) 2024-09-17 01:38:56 -07:00
services/node refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
utility chore: remove unused base/ includes (#43688) 2024-09-12 16:05:37 +02:00