[wpt-sync] Sync PR 45051 - webnn: Migrated Blink Unit Tests for WebNN API constant interface into WPT
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox126 fixed)
Tracking | Status | |
---|---|---|
firefox126 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 45051 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/45051
Details from upstream follow.
BruceDai <feng.dai@intel.com> wrote:
webnn: Migrated Blink Unit Tests for WebNN API constant interface into WPT
This CL adds WPT tests for
1)input(name, descriptor)
interface,
2)constant(descriptor, bufferView)
interface,
and removes these unit tests
3)MLGraphBuilderTest.InputTest
,
4)MLGraphBuilderTest.ConstantTest
.Bug: 327337525, 327337526, 328026885
Change-Id: I95cba29fc189854650ba7ad3bdece4c2d1e26390Reviewed-on: https://chromium-review.googlesource.com/5365030
WPT-Export-Revision: 8b3cb01092cb451137017348cb010147fa633cda
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 4 tests and 8 subtests
Status Summary
Firefox
OK
: 4
PASS
: 24
FAIL
: 30
Chrome
OK
: 4
PASS
: 32
FAIL
: 22
Safari
OK
: 4
PASS
: 24
FAIL
: 30
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /webnn/validation_tests/constant.https.any.html [wpt.fyi]:
OK
[Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-opt
,GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-64-2009-qr-debug
] (Chrome:OK
, Safari:OK
)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a 0-D scalar constant without presenting dimensions:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a 0-D scalar constant with empty dimensions:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a constant with float32 data type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a constant with int32 data type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a constant with uint32 data type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a constant with int64 data type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a constant with uint64 data type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a constant with int8 data type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a constant with uint8 data type:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/constant.https.any.worker.html [wpt.fyi]:
OK
[Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-opt
,GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-64-2009-qr-debug
] (Chrome:OK
, Safari:OK
)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a 0-D scalar constant without presenting dimensions:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a 0-D scalar constant with empty dimensions:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a constant with float32 data type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a constant with int32 data type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a constant with uint32 data type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a constant with int64 data type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a constant with uint64 data type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a constant with int8 data type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [constant] Test building a constant with uint8 data type:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/input.https.any.worker.html [wpt.fyi]:
OK
[Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-opt
,GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-64-2009-qr-debug
] (Chrome:OK
, Safari:OK
)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - [input] Test building a 0-D scalar input without presenting dimensions:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [input] Test building a 0-D scalar input with empty dimensions:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [input] Test building a 1-D input with int64 data type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [input] Test building a 2-D input without errors:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/input.https.any.html [wpt.fyi]:
OK
[Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-opt
,GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-64-2009-qr-debug
] (Chrome:OK
, Safari:OK
)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - [input] Test building a 0-D scalar input without presenting dimensions:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [input] Test building a 0-D scalar input with empty dimensions:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [input] Test building a 1-D input with int64 data type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [input] Test building a 2-D input without errors:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
Tests Disabled in Gecko Infrastructure
- /webnn/validation_tests/constant.https.any.html [wpt.fyi]:
OK
[Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-opt
,GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-64-2009-qr-debug
] (Chrome:OK
, Safari:OK
) - /webnn/validation_tests/constant.https.any.worker.html [wpt.fyi]:
OK
[Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-opt
,GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-64-2009-qr-debug
] (Chrome:OK
, Safari:OK
) - /webnn/validation_tests/input.https.any.worker.html [wpt.fyi]:
OK
[Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-opt
,GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-64-2009-qr-debug
] (Chrome:OK
, Safari:OK
) - /webnn/validation_tests/input.https.any.html [wpt.fyi]:
OK
[Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-opt
,GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-64-2009-qr-debug
] (Chrome:OK
, Safari:OK
)
Comment 4•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b6bd8382a758
https://hg.mozilla.org/mozilla-central/rev/ed9ef59f7c8a
Description
•