Bug 1880651 [wpt PR 44626] - Reland "webnn: Remove sync methods", a=testonly
commit1595243b2bc1c5937fe11ddd04f0ddb23bbecd14
authorBlink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Fri, 23 Feb 2024 04:19:02 +0000 (23 04:19 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Tue, 27 Feb 2024 08:15:11 +0000 (27 08:15 +0000)
tree774c1f095297f9adbbf896cade24ff626e054750
parent043c946a4d98ba518cc5a114d4275fd0360d19a8
Bug 1880651 [wpt PR 44626] - Reland "webnn: Remove sync methods", a=testonly

Automatic update from web-platform-tests
Reland "webnn: Remove sync methods" (#44626)

This is a reland of commit a3e84dde09e099bebbe4793ffaa70679168130d6

This CL contains a few additional changes:
- Enables the async APIs on workers, which was causing bots to fail
  since workers could not call createContext()
- Rebaselines WPTs accordingly
- Updates the WPT expectations for the webnn-service-enabled virtual
  test suite

Original change's description:
> webnn: Remove sync methods
>
> See https://github.com/webmachinelearning/webnn/pull/548
>
> Deletes all sync methods and simplifies the names of all "Async"
> methods - e.g. BuildAsync() -> Build()
>
> Bug: 4028353641481333
> Change-Id: I3b38d987cb4641ea41ab9a974c46dcba16d5c108
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5292884
> Commit-Queue: Austin Sullivan <asully@chromium.org>
> Reviewed-by: Reilly Grant <reillyg@chromium.org>
> Reviewed-by: ningxin hu <ningxin.hu@intel.com>
> Reviewed-by: Alex Gough <ajgo@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1261223}

Cq-Include-Trybots: luci.chromium.try​:win11-x64-fyi-rel
Bug: 402835364148133341485898
Change-Id: Iffcb922b8175a7181deba1f4c2faa953010ae5c0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5303774
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Austin Sullivan <asully@chromium.org>
Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com>
Reviewed-by: Alex Gough <ajgo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1262043}

Co-authored-by: Austin Sullivan <asully@chromium.org>
--

wpt-commits: 0e308a624676bfea808af80e9a6378ec94dce931
wpt-pr: 44626
testing/web-platform/tests/webnn/idlharness.https.any.js
testing/web-platform/tests/webnn/resources/utils.js