webnn: refactor WebNN API conformance tests infrastructure
This CL is to refactor WebNN API conformance tests infrastructure by
optimizing utils.js helper and moving tests from JSON files into each
test file.
It also removes tests of dropped constant(fillSequence)
op of WebNN API
changes [1].
[1] Remove sequential filling overload of
constant()
Bug: 331692961
Change-Id: Ie57095d76ed1a87bcbd93dbade8962a1d4461627
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel,mac14-blink-rel,mac14.arm64-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5668527
Auto-Submit: Feng Dai feng.dai@intel.com
Commit-Queue: Feng Dai feng.dai@intel.com
Reviewed-by: ningxin hu ningxin.hu@intel.com
Reviewed-by: David Baron dbaron@chromium.org
Reviewed-by: Austin Sullivan asully@chromium.org
Cr-Commit-Position: refs/heads/main@{#1332944}