Ensure that when `wgpu_bindings::error::ErrorBuffer` is passed a message that doesn't fit within `ErrorBuffer::message_capacity`, we truncate the text to a proper UTF-8 boundary. Otherwise, we trip assertions that the UTF-8 is well-formed when we try to log messages to the console. Differential Revision: https://phabricator.services.mozilla.com/D216735
3 lines
51 B
Plaintext
3 lines
51 B
Plaintext
load 1809567.html
|
|
load 1907222_truncate_error.html
|