You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automatic update from web-platform-tests
[WebNN] Fix `DCHECK(!isShared())` failure of reading MLTensor
There is a `DCHECK(!isShared())` failure when trying to read MLTensor
to a shared array buffer. This CL uses `ByteSpanMaybeShared()` instead
of `ByteSpan()` for both `DOMArrayBufferBase` and `DOMArrayBufferView`
to read MLTensor on blink side to fix this issue, and also expands the
existing tests to verify this fix.
Bug: 373168867
Change-Id: Id5f68bd0479d9d870550a2b091ef8affdb690c83
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel, mac14.arm64-blink-rel, mac14-blink-rel, mac15.arm64-blink-rel, mac15-blink-rel, linux-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5936137
Reviewed-by: ningxin hu <ningxin.huintel.com>
Commit-Queue: Mingming1 Xu <mingming1.xuintel.com>
Reviewed-by: Reilly Grant <reillygchromium.org>
Cr-Commit-Position: refs/heads/main{#1375715}
--
wpt-commits: 025e64cfa6749e6277675d491a77c28be2660da8
wpt-pr: 48841
UltraBlame original commit: d9a7e6de3a17e6110a0b3342a7d17f079b6e2997
0 commit comments