Test the WebGPU API: check adapter availability and device capabilities.
Test WebGPU support. Check for API availability and request a GPU adapter and device.