Files
tubestation/dom/webgpu/crashtests
Jim Blandy a1f95962ed Bug 1907222: Properly truncate overly long WebGPU error messages. r=webgpu-reviewers,ErichDonGubler
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
2024-07-19 15:25:24 +00:00
..