wpt icon indicating copy to clipboard operation
wpt copied to clipboard

Can wpt.fyi indicate results of WebNN API Conformance tests by Chrome and Edge browsers enabled WebNN API flag

Open BruceDai opened this issue 1 year ago • 2 comments

Visit https://wpt.fyi/results/webnn/conformance_tests?label=experimental&label=master&aligned, almost WebNN Conformance tests are FAIL since the testing Chrome and Edge browsers didn't enable WebNN API flag.

image

Can wpt.fyi indicate results of WebNN API Conformance tests by Chrome and Edge browsers enabled WebNN API flag?

Thanks.

BruceDai avatar Jun 18 '24 07:06 BruceDai

I think you want to add --enable-features=WebMachineLearningNeuralNetwork to the default chrome arguments like so:

https://github.com/web-platform-tests/wpt/blob/8289fd3dd37e19918fceb83c6d2c46c4ced3cbc8/tools/wptrunner/wptrunner/browsers/chrome.py#L115-L117

The wpt.fyi results are running under --enable-experimental-web-platform-features, which should enable MachineLearningNeuralNetwork on the Blink side, but it seems the browser-side feature also needs to be enabled.

(This document explains the relationship between Blink-side and browser-side features.)

jonathan-j-lee avatar Jun 21 '24 00:06 jonathan-j-lee

Thanks @jonathan-j-lee ! I've submitted a pr #46891 to add this flag.

BruceDai avatar Jun 25 '24 05:06 BruceDai