[wpt-sync] Sync PR 43738 - WebNN: Rename operation `logicalNot` to `not` to align with the spec
Categories
(Testing :: web-platform-tests, task, P4)
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
tonot
to align with the specThis CL renames
logicalNot
tonot
to match the definition in the
spec [1], and uses IDL attributes[ImplementedAs=logicalNot]
so that
the Blink name is stilllogicalNot
.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: I1ff7614416b6eac8156c7edc41b302f3cc15f94cReviewed-on: https://chromium-review.googlesource.com/5134770
WPT-Export-Revision: 556aba120f2222ebbcee1af48bb25c54d0cebc39
Description
•