Skip to content

Conversation

ibelem
Copy link
Contributor

@ibelem ibelem commented Oct 11, 2025

This is a follow-up PR of #28133, add missing items for the WebNN API to ensure comprehensive coverage:

Summary

  • MLContext.createConstantTensor
  • MLContext.lost
  • MLGraphBuilder.gelu
  • MLGraphBuilder.notEqual
  • MLOperand.dataType
  • MLOperand.shape
  • MLTensor.constant
  • MLTensor.dataType
  • MLTensor.readable
  • MLTensor.shape
  • MLTensor.writable

Also updated to "chrome_android": "mirror" from "chrome_android": { "version_added": false }.

There are some order changes in api/Navigator.json, caused by running "fix": "npm run format:fix && npm run lint:fix"

@anssiko @Elchi3 PTAL, thanks!

@github-actions github-actions bot added data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:l [PR only] 101-1000 LoC changed labels Oct 11, 2025
Copy link
Contributor

github-actions bot commented Oct 11, 2025

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

@github-actions github-actions bot removed the data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Oct 11, 2025
@ibelem ibelem changed the title WebNN API - October 2025 update -2 WebNN API - October 2025 update - 2 Oct 11, 2025
Copy link

@anssiko anssiko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Elchi3 to double-check this now matches what OWD collector reports with the latest build.

Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but the reordering changes in api/Navigator.json seem weird to me. Tests pass for me without these changes. Could you revert that?

@ibelem
Copy link
Contributor Author

ibelem commented Oct 14, 2025

Thank you @Elchi3, the unexpected reordering changes in api/Navigator.json was reverted. PTAL

Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonderful, thank you @ibelem 👍

@Elchi3 Elchi3 merged commit 3f3e18a into mdn:main Oct 14, 2025
6 checks passed
@mdn-bot mdn-bot mentioned this pull request Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:l [PR only] 101-1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants