geary/test/js
Niels De Graef c5630d0567 ComposerPageStateTest: Don't use NBSP directly
In some WebKitGTK versions, we were getting the following error from
within WebKit when running the `replace_non_breaking_space` test:

> SyntaxError Invalid character: '\0'

Doing some further investigation, it seems like webkit was choking on
the raw non-breaking space character (NBSP) that we were using in the
test's string literals, specifically the first byte of its raw value
`U+00A0`.

Work around this for now by generating the NBSP in Javascript itself,
rather than passing on the raw value.
2025-12-15 00:40:52 +00:00
..
components-page-state-test.vala treewide: Remove deprecated run_javascript() 2023-08-10 23:55:20 +00:00
composer-page-state-test.vala ComposerPageStateTest: Don't use NBSP directly 2025-12-15 00:40:52 +00:00
conversation-page-state-test.vala treewide: Remove deprecated run_javascript() 2023-08-10 23:55:20 +00:00