Skip to content

Conversation

@BruceDai
Copy link
Contributor

According to the previous comment by @dontcallmedom on #31201,

We could also have a separate open PR with just the polyfill added which would allow us to use WPT.fyi to collect results once the polyfill is added.

I added this pr of testing Web Neural Network API by WebNN-polyfill.

@dontcallmedom @Honry PTAL, thanks.

@BruceDai BruceDai changed the title Test Web Neural Network API by WebNN-polyfill. Test Web Neural Network API by WebNN-polyfill Nov 29, 2021
@dontcallmedom
Copy link
Contributor

@web-platform-tests/admins help? I'm not clear why the jobs are failing

@jgraham
Copy link
Contributor

jgraham commented Dec 2, 2021

@jgraham
Copy link
Contributor

jgraham commented Dec 2, 2021

But as a general comment, adding a polyfill like this to test something seems highly unusual, since it's not helping implementors (except the polyfill implementors) and gives a misleading impression of the status of browser implementations. Also using scripts outside wpt isn't allowed (Firefox is configured to crash in CI for this case, as you can see at https://wpt.fyi/results/webnn/idlharness.https.any.html?diff&filter=ADC&run_id=5729986758574080&run_id=5705420837486592 ).

If you want to include the behaviour of a polyfill in wpt.fyi results I think we need a broader discussion about how to achieve that.

@BruceDai
Copy link
Contributor Author

BruceDai commented Dec 1, 2022

Thanks for your feedbacks. Close it.

@BruceDai BruceDai closed this Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants