[wpt-sync] Sync PR 15761 - Upstream shapedetection tests to WPT
Categories
(Testing :: web-platform-tests, enhancement, P4)
Tracking
(firefox68 fixed)
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 15761 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/15761
Details from upstream follow.
Wanming Lin <wanming.lin@intel.com> wrote:
Upstream shapedetection tests to WPT
Moved shapedetection tests under
third_party/blink/web_tests/shapedetection/,
third_party/blink/web_tests/fast/shapedetection/,
third_party/blink/web_tests/http/tests/shapedetection/,
to third_party/blink/web_tests/external/wpt/shape-detection/, excludes
the Text detection part as which is still a sister informative
specification of Shape Detection.Copyed third_party/blink/web_tests/shapedetection/resources/big-buffer-helpers.js
to wpt/shape-detection/resources/shapedetection-helpers.js and extended it by
adding a wrapper promise test, detection_test.Moved third_party/blink/web_tests/shapedetection/resources/mock-barcodedetection.js
and third_party/blink/web_tests/shapedetection/resources/mock-facedetection.js
to wpt/resources/chromium/Copyed following auto generated files to wpt/resources/chromium/ used a flag
called "scramble_message_ids = false" to the mojom compiler.
barcodedetection.mojom.js
barcodedetection_provider.mojom.js
bitmap.mojom.js
facedetection.mojom.js
facedetection_provider.mojom.js
geometry.mojom.js
image_info.mojom.jsUsed the testharness from wpt/ and rewrited tests to remove use of
generate_tests as which is discouraged in wpt.Rewrite detection-on-worker.html as detection-on-worker.worker.js by using
wpt preferred worker test framework.Rename detection-support.html as detection-getSupportedFormats.html as *-support.html
is treated as support file rather than test file in wpt.No new tests have been added.
BUG=932382
Change-Id: I321e7b9f986f407b83325bb4c6bdc366c9769264
Reviewed-on: https://chromium-review.googlesource.com/1510754
WPT-Export-Revision: d738bbd1deb331170466bb2338298a113ef4fcc3
Assignee | ||
Comment 1•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=597a0ca5c2d1c21845375816b995245426091b0e
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=faf89c6ee1f23f213836288d1fc0ca3fd2fd8b53
Assignee | ||
Comment 3•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=16ee402dc10536afab6c0e5e8b229d46b87e4fa6
Assignee | ||
Comment 4•5 years ago
|
||
Ran 15 tests and 84 subtests OK : 14 PASS : 2 FAIL : 78 TIMEOUT: 2 NOTRUN : 3 New tests that have failures or other problems: /shape-detection/detected-boundingBox-read-only.html Barcode - detectedBarcode.boundingBox should be DOMRectReadOnly: FAIL Face - detectedFace.boundingBox should be DOMRectReadOnly: FAIL /shape-detection/detection-HTMLCanvasElement.html Barcode - detect(HTMLCanvasElement): FAIL Barcode - detect(OffscreenCanvas): FAIL Face - detect(HTMLCanvasElement): FAIL Face - detect(OffscreenCanvas): FAIL /shape-detection/detection-HTMLImageElement.html Barcode - detect(HTMLImageElement): FAIL Face - detect(HTMLImageElement): FAIL /shape-detection/detection-HTMLVideoElement.html Barcode - detect(HTMLVideoElement): FAIL Face - detect(HTMLVideoElement): FAIL /shape-detection/detection-ImageBitmap.html Barcode - detect(ImageBitmap): FAIL Face - detect(ImageBitmap): FAIL /shape-detection/detection-ImageData.html Barcode - detect(ImageData): FAIL Face - detect(ImageData): FAIL /shape-detection/detection-getSupportedFormats.html get supported barcode formats: FAIL /shape-detection/detection-on-worker.worker.html Barcode Detector detect(ImageBitmap) on worker: FAIL Face Detector detect(ImageBitmap) on worker: FAIL /shape-detection/detection-options.html Test that FaceDetectionOptions are correctly propagated: FAIL /shape-detection/detection-security-test.html: TIMEOUT Barcode - detect(broken image): NOTRUN Barcode - detect(broken video): NOTRUN Face - detect(broken image): TIMEOUT Face - detect(broken video): NOTRUN /shape-detection/detector-same-object.html Barcode - detect(ImageData), [SameObject]: FAIL Face - detect(ImageData), [SameObject]: FAIL /shape-detection/idlharness.any.html idl_test setup: FAIL /shape-detection/idlharness.any.worker.html idl_test setup: FAIL /shape-detection/shapedetection-cross-origin.sub.html BarcodeDetector should reject cross-origin HTMLImageElements with a SecurityError.: FAIL BarcodeDetector should reject cross-origin HTMLVideoElements with a SecurityError.: FAIL BarcodeDetector should reject cross-origin ImageBitmaps with a SecurityError.: FAIL FaceDetector should reject cross-origin HTMLImageElements with a SecurityError.: FAIL FaceDetector should reject cross-origin HTMLVideoElements with a SecurityError.: FAIL FaceDetector should reject cross-origin ImageBitmaps with a SecurityError.: FAIL /shape-detection/shapedetection-empty-input.html Barcode - detect(empty): FAIL Face - detect(empty): FAIL
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/d894877b31df [wpt PR 15761] - Upstream shapedetection tests to WPT, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/11bfec556d42 [wpt PR 15761] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/00c9874fd527 [wpt PR 15761] - Upstream shapedetection tests to WPT, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/47c28abbd3b2 [wpt PR 15761] - Update wpt metadata, a=testonly
Comment 7•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d894877b31df
https://hg.mozilla.org/mozilla-central/rev/11bfec556d42
https://hg.mozilla.org/mozilla-central/rev/00c9874fd527
https://hg.mozilla.org/mozilla-central/rev/47c28abbd3b2
Description
•