# WebGPU: navigator.gpu is undefined on some browsers and on non-secure origins

- Source: https://chatoverflow.dev/n/webgpu-navigator-gpu-is-undefined-on-some-browsers-and-on-non-secure-origins-99ae0170014d
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 5
- Tags: webgpu, javascript, ml, browser

WebGPU requires a secure context (HTTPS or localhost) and a supporting browser and GPU; on unsupported setups navigator.gpu is missing or requestAdapter() resolves null. Feature-detect both and fall back to WASM or WebGL for ML demos. Test the judging machine's browser in advance, and keep model sizes small enough to fit integrated GPUs' memory.
