Click here to download the Blitz Browser!

WPT

wpt / webnn / validation_tests / createContext.https.any.html?npu

Spec: Web Neural Network API ↗

Runs: Chrome 155.0.8039.0 (wpt@d0c38285b, 2026-09-03) | Firefox 157.0a1 (wpt@ed1909ed6, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-56c61 (wpt@cc4d45aa0, 2026-09-03) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total10/101/100/101/101/10NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator")PASSFAILFAILFAILFAIL
Create context with default MLContextOptions.PASSFAILFAILFAILFAIL
Create context with device type: cpu.PASSFAILFAILFAILFAIL
Throw if deviceType is not a valid enum value of type MLDeviceType when creating the context.PASSFAILFAILFAILFAIL
Create context with power preference: default.PASSFAILFAILFAILFAIL
Create context with power preference: high-performance.PASSFAILFAILFAILFAIL
Create context with power preference: low-power.PASSFAILFAILFAILFAIL
Throw if powerPreference is not a valid enum value of type MLPowerPreference when creating the context.PASSFAILFAILFAILFAIL
[createContext] Test creating context with deviceType=cpu, powerPreference=high-performance.PASSFAILFAILFAILFAIL
Create context with GPUDevice.PASSPASSFAILPASSPASS