Open Bug 1870963 Opened 5 months ago

[wpt-sync] Sync PR 43738 - WebNN: Rename operation `logicalNot` to `not` to align with the spec

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 43738 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/43738
Details from upstream follow.

Shiyi Zou <shiyi.zou@intel.com> wrote:

WebNN: Rename operation logicalNot to not to align with the spec

This CL renames logicalNot to not to match the definition in the
spec [1], and uses IDL attributes [ImplementedAs=logicalNot] so that
the Blink name is still logicalNot.

Note that not is a C++ keyword which can't be used as a function
name.

This CL also updates the name in WPT tests.

[1] https://www.w3.org/TR/webnn/#api-mlgraphbuilder-logical

Bug: 1273291
Change-Id: I1ff7614416b6eac8156c7edc41b302f3cc15f94c

Reviewed-on: https://chromium-review.googlesource.com/5134770
WPT-Export-Revision: 556aba120f2222ebbcee1af48bb25c54d0cebc39

You need to log in before you can comment on or make changes to this bug.