WPT
wpt / webnn / validation_tests / constant.https.any.html?npu
Spec: Web Neural Network API ↗
Runs: Chrome 155.0.8041.0 (wpt@18be93235, 2026-09-04) | Firefox 157.0a1 (wpt@18be93235, 2026-09-04) | Safari 251 preview (wpt@2c385f65e, 2026-09-04) | Ladybird 1.0-17043 (wpt@25681acff, 2026-09-04) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 44/44 | 0/44 | 0/44 | 0/44 | 0/44 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator") | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a 0-D scalar constant with empty dimensions | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a constant with float32 data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if byte length of float32 buffer doesn't match the given dimensions | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a constant with float16 data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if byte length of float16 buffer doesn't match the given dimensions | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if using Float32Array buffer for float16 operand data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if using Int16Array buffer for float16 operand data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a constant with float16 data type using Uint16Array buffer | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if byte length of float16 buffer (using Uint16Array buffer) doesn't match the given dimensions | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a constant with int32 data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if byte length of int32 buffer doesn't match the given dimensions | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a constant with uint32 data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if byte length of uint32 buffer doesn't match the given dimensions | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a constant with int64 data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if byte length of int64 buffer doesn't match the given dimensions | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a constant with uint64 data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if byte length of uint64 buffer doesn't match the given dimensions | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a constant with int8 data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if byte length of int8 buffer doesn't match the given dimensions | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a constant with uint8 data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if byte length of uint8 buffer doesn't match the given dimensions | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if a dimension is 0 | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if using Int32Array buffer for float32 operand data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if the operand data type isn't of type MLOperandDataType | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Uint8Array should be allowed for float32 operand data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Uint8Array should be allowed for float16 operand data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Uint8Array should be allowed for int32 operand data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a scalar constant with float32 data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a scalar constant with float16 data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a scalar constant with int32 data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a scalar constant with uint32 data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a scalar constant with max safe integer as BigInt | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a scalar constant with max uint64 as BigInt | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a scalar constant with int8 data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a scalar constant with uint8 data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a scalar constant with zero value | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a scalar constant with negative value | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a scalar constant with large float32 value | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Test building a scalar constant with small float32 value | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if building a scalar constant with int4 data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if building a scalar constant with uint4 data type | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if using operand data type that isn't of type MLOperandDataType | PASS | FAIL | FAIL | FAIL | FAIL | — |
| [constant] Throw if using BigInt value for float32 data type | PASS | FAIL | FAIL | FAIL | FAIL | — |